Revision d54908a5 hw/pci-hotplug.c
b/hw/pci-hotplug.c | ||
---|---|---|
203 | 203 |
qemu_system_device_hot_add(bus, slot, 0); |
204 | 204 |
} |
205 | 205 |
|
206 |
void do_pci_device_hot_remove(Monitor *mon, const char *pci_addr)
|
|
206 |
void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict)
|
|
207 | 207 |
{ |
208 |
pci_device_hot_remove(mon, pci_addr);
|
|
208 |
pci_device_hot_remove(mon, qdict_get_str(qdict, "pci_addr"));
|
|
209 | 209 |
} |
210 | 210 |
|
211 | 211 |
static int pci_match_fn(void *dev_private, void *arg) |
Also available in: Unified diff