diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-18 14:51:59 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-18 18:26:33 +0100 |
commit | 53c25cea7d59525ca9aa3fb01cc6947bafbbfb61 (patch) | |
tree | 3556ba85599852e60d9570d41b01897d5a61aafc /hw/pc.c | |
parent | d8ee7665bfc7846c7fc6bfb96434eca68e5bec1a (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); } } } |