Also create piix3 property when Xen is enabled
commit8ceb49fe4597e643aab5308b38f84de5d13a39b4
authorJulian Pidancet <julian.pidancet@gmail.com>
Sun, 18 Dec 2011 18:08:44 +0000 (18 18:08 +0000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 19 Dec 2011 10:52:14 +0000 (19 10:52 +0000)
tree1106724099097c9c03de3a55a42b707e188efcf7
parentb15ba6c95147e62671b29580c3b9056773cc496e
Also create piix3 property when Xen is enabled

This recently added line in hw/pc_piix.c is causing a SEGV on a Xen
setup because the piix3 property is never created:

qdev_property_add_child(qdev_resolve_path("/i440fx/piix3", NULL),
                            "rtc", (DeviceState *)rtc_state, NULL);

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/piix_pci.c