qdev: Fix adding of ptr properties
commitf3be016d034b2ed97f305ce707dea0354254a817
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 2 May 2012 11:31:07 +0000 (2 13:31 +0200)
committerAndreas Färber <afaerber@suse.de>
Sat, 12 May 2012 12:19:10 +0000 (12 14:19 +0200)
tree7cad40e487c0670ad3b13a401f8fb9f9f958a5f4
parent8185bfc146309bef43d6b0ed0e6afc27369ff0fa
qdev: Fix adding of ptr properties

ptr properties have neither a get/set or a print/parse which means that when
they're added they aren't treated as static or legacy properties.

Just assume properties like this are legacy properties and treat them as such.

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