]> git.proxmox.com Git - qemu.git/commit - hw/qdev-monitor.c
qdev: fix -device foo,?
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 May 2012 11:30:59 +0000 (13:30 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 May 2012 15:06:21 +0000 (10:06 -0500)
commit90ca64a970b1d10352df3b2c68099341e900abe9
tree35bc32b70fe643900676551400c1f64a10290cff
parent77f4c9a68aedb9b0d290a1def1bfc8714be862ec
qdev: fix -device foo,?

Since most property types do not have a parse property now, this was
broken.  Fix it by looking at the setter instead.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Andreas F=E4rber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-monitor.c