]> git.proxmox.com Git - qemu.git/commit
qom: register qdev properties also as non-legacy properties
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 18 Dec 2011 16:05:11 +0000 (17:05 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 19 Dec 2011 16:27:34 +0000 (10:27 -0600)
commitca2cc7888846ab85ee6549bb0b68ac0cbf16a4e9
treebf82917bb636439efc4cfccb98183965774b16e2
parentcafe5bdb9a6179f80562e99ef3f29bdf0b5df678
qom: register qdev properties also as non-legacy properties

Push legacy properties into a "legacy-..." namespace, and make them
available with correct types too.

For now, all properties come in both variants.  This need not be the
case for string properties.  We will revisit this after -device is
changed to actually use the legacy properties.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c
hw/qdev.h