aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-06-26 00:04:00 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 14:18:07 -0500
commite9283f8b88eb6054ac032f3d9b773e80d842c0cf (patch)
treec081d619584bf9060bd4a7b37f0484cbb3a6ac0a /hw/pci.h
parent3b88e52b41fe77728b4accb68e14bed98bdc75d3 (diff)
downloadqemu-e9283f8b88eb6054ac032f3d9b773e80d842c0cf.zip
qemu-e9283f8b88eb6054ac032f3d9b773e80d842c0cf.tar.gz
qemu-e9283f8b88eb6054ac032f3d9b773e80d842c0cf.tar.bz2
monitor: Drop pci_addr prefix from hotplug commands
The "pci_addr=" prefix currently required by pci_add/remove and drive_add has no practical use. Drop it, but still silently accept it for backward compatibility. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h
index fcf7b3b..cb0e382 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -252,7 +252,8 @@ void pci_for_each_device(int bus_num, void (*fn)(PCIDevice *d));
PCIBus *pci_find_bus(int bus_num);
PCIDevice *pci_find_device(int bus_num, int slot, int function);
-int pci_read_devaddr(const char *addr, int *domp, int *busp, unsigned *slotp);
+int pci_read_devaddr(Monitor *mon, const char *addr, int *domp, int *busp,
+ unsigned *slotp);
void pci_info(Monitor *mon);
PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did,