[Qemu-devel] [PATCH 8/8] qom: register qdev properties also as non-legacy properties

2011-12-18 Thread Paolo Bonzini
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:

[Qemu-devel] [PATCH 8/8] qom: register qdev properties also as non-legacy properties

2011-12-16 Thread Paolo Bonzini
Push legacy properties into a legacy... namespace, and make them available with correct types too. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/qdev.c | 28 +--- hw/qdev.h |7 +++ 2 files changed, 28 insertions(+), 7 deletions(-) diff --git