aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc440_bamboo.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r--hw/ppc440_bamboo.c6
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. */