summaryrefslogtreecommitdiff
path: root/hw/xen_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xen_platform.c')
-rw-r--r--hw/xen_platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xen_platform.c b/hw/xen_platform.c
index 5a7c4cc97b..a9c52a6e36 100644
--- a/hw/xen_platform.c
+++ b/hw/xen_platform.c
@@ -87,7 +87,7 @@ static void unplug_nic(PCIBus *b, PCIDevice *d)
{
if (pci_get_word(d->config + PCI_CLASS_DEVICE) ==
PCI_CLASS_NETWORK_ETHERNET) {
- qdev_unplug(&(d->qdev));
+ qdev_unplug(&(d->qdev), NULL);
}
}
@@ -100,7 +100,7 @@ static void unplug_disks(PCIBus *b, PCIDevice *d)
{
if (pci_get_word(d->config + PCI_CLASS_DEVICE) ==
PCI_CLASS_STORAGE_IDE) {
- qdev_unplug(&(d->qdev));
+ qdev_unplug(&(d->qdev), NULL);
}
}