]> git.proxmox.com Git - qemu.git/commit
qdev: Hide "ptr" properties from users
authorMarkus Armbruster <armbru@redhat.com>
Fri, 19 Feb 2010 10:47:06 +0000 (11:47 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 16 Mar 2010 16:01:08 +0000 (17:01 +0100)
commit036f7166c73a9e0cc1b2f10c03763e61894a1033
tree14958df948902116a68c37d20f60088a4ec312b2
parentc64eafaf0c2f080d81f4c51a1eb2a98ceb40d2c8
qdev: Hide "ptr" properties from users

Users can't set them, so qdev_device_help() shouldn't list them.  Fix
that.  Also make qdev_prop_parse() hide them instead of printing a
meaningless "has no parser" error message.

Their value means nothing to users, so qdev_print_props() shouldn't
print it.  Fix by removing their print method.

Their only use is dirty hacks.  Document that.
hw/qdev-properties.c
hw/qdev.c