aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-18 14:51:59 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-18 18:26:33 +0100
commit53c25cea7d59525ca9aa3fb01cc6947bafbbfb61 (patch)
tree3556ba85599852e60d9570d41b01897d5a61aafc /hw/pc.c
parentd8ee7665bfc7846c7fc6bfb96434eca68e5bec1a (diff)
Separate virtio PCI code
Split the PCI host bindings from the VRing transport implementation. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/pc.c b/hw/pc.c
index c07e7faddc..826cb9d5a4 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1137,21 +1137,21 @@ static void pc_init1(ram_addr_t ram_size,
int unit_id = 0;
while ((index = drive_get_index(IF_VIRTIO, 0, unit_id)) != -1) {
- pci_create_simple(pci_bus, -1, "virtio-blk");
+ pci_create_simple(pci_bus, -1, "virtio-blk-pci");
unit_id++;
}
}
/* Add virtio balloon device */
if (pci_enabled) {
- pci_create_simple(pci_bus, -1, "virtio-balloon");
+ pci_create_simple(pci_bus, -1, "virtio-balloon-pci");
}
/* Add virtio console devices */
if (pci_enabled) {
for(i = 0; i < MAX_VIRTIO_CONSOLES; i++) {
if (virtcon_hds[i]) {
- pci_create_simple(pci_bus, -1, "virtio-console");
+ pci_create_simple(pci_bus, -1, "virtio-console-pci");
}
}
}