diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
commit | 0e058a8a6aab56565677dc3a7f994b0c8f191a48 (patch) | |
tree | b567e8f97339d6a9fa30ab89775a022bb6f209ff /hw/ppc440_bamboo.c | |
parent | 2d72c5727f8343a39862b8fca3b53a2bce26a7ca (diff) |
Virtio-console conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r-- | hw/ppc440_bamboo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index a58f6ea98b..606fc32194 100644 --- a/hw/ppc440_bamboo.c +++ b/hw/ppc440_bamboo.c @@ -16,7 +16,6 @@ #include "net.h" #include "hw.h" #include "pci.h" -#include "virtio-console.h" #include "boards.h" #include "sysemu.h" #include "ppc440.h" @@ -118,8 +117,9 @@ static void bamboo_init(ram_addr_t ram_size, /* Add virtio console devices */ for(i = 0; i < MAX_VIRTIO_CONSOLES; i++) { - if (virtcon_hds[i]) - virtio_console_init(pcibus, virtcon_hds[i]); + if (virtcon_hds[i]) { + pci_create_simple(pcibus, -1, "virtio-console"); + } } /* Register network interfaces. */ |