qdev: fix thinko leading to guest crashes
commitdbd483242c2e6dfaacb9fd3d20c333bbdad87243
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jan 2010 19:16:59 +0000 (12 21:16 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 12 Jan 2010 19:24:52 +0000 (12 13:24 -0600)
tree5d148bdf9ea7afc714804cbfa15bbd5aa7ccc8ee
parent3d72f9a2be640f368229d579e80ce4ef2a823e49
qdev: fix thinko leading to guest crashes

Without this fix, guest crashes with drive=virtio.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-properties.c