diff mbox

[RFC,4/4] hw/vexpress.c: Add MMIO virtio transport

Message ID 1321282528-19070-5-git-send-email-peter.maydell@linaro.org
State RFC
Headers show

Commit Message

Peter Maydell Nov. 14, 2011, 2:55 p.m. UTC
Add the MMIO virtio transport.
---
 hw/vexpress.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/hw/vexpress.c b/hw/vexpress.c
index 0940a26..fe66185 100644
--- a/hw/vexpress.c
+++ b/hw/vexpress.c
@@ -150,6 +150,9 @@  static void vexpress_a9_init(ram_addr_t ram_size,
 
     /* 0x1001a000 Compact Flash */
 
+    /* 0x1001e000 MMIO virtio transport */
+    sysbus_create_simple("virtio-blk-mmio", 0x1001e000, pic[42]);
+
     /* 0x1001f000 PL111 CLCD (motherboard) */
 
     /* Daughterboard peripherals : 0x10020000 .. 0x20000000 */