summary refs log tree commit diff stats
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-12-18 17:05:06 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-19 10:27:33 -0600
commite3cb6ba65d265f2cc1313ee26e879407ff24663c (patch)
treeabdafc651bed08dddfe08dab94a54c10cad2b6ba /hw/qdev.h
parent0d41d9aabbed72750ca41e94ce1fda94dd1919d1 (diff)
downloadfocaccia-qemu-e3cb6ba65d265f2cc1313ee26e879407ff24663c.tar.gz
focaccia-qemu-e3cb6ba65d265f2cc1313ee26e879407ff24663c.zip
qom: push permission checks up into qdev_property_add_legacy
qdev_property_get and qdev_property_set can generate permission
denied errors themselves.  Do not duplicate this functionality in
qdev_get/set_legacy_property, and clean up excessive indentation.

Reviewed-by: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.h')
0 files changed, 0 insertions, 0 deletions