diff mbox series

[v3,4/4] microvm: move virtio base to 0xfeb00000

Message ID 20200529073957.8018-5-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show
Series microvm: memory config tweaks | expand

Commit Message

Gerd Hoffmann May 29, 2020, 7:39 a.m. UTC
Place virtio-mmio devices near the other mmio regions,
next ioapic is at @ 0xfec00000.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 include/hw/i386/microvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael S. Tsirkin June 8, 2020, 1:33 p.m. UTC | #1
On Fri, May 29, 2020 at 09:39:57AM +0200, Gerd Hoffmann wrote:
> Place virtio-mmio devices near the other mmio regions,
> next ioapic is at @ 0xfec00000.
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  include/hw/i386/microvm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/i386/microvm.h b/include/hw/i386/microvm.h
> index ba68d1f22bb3..fd34b78e0d2a 100644
> --- a/include/hw/i386/microvm.h
> +++ b/include/hw/i386/microvm.h
> @@ -26,7 +26,7 @@
>  #include "hw/i386/x86.h"
>  
>  /* Platform virtio definitions */
> -#define VIRTIO_MMIO_BASE      0xc0000000
> +#define VIRTIO_MMIO_BASE      0xfeb00000
>  #define VIRTIO_IRQ_BASE       5
>  #define VIRTIO_NUM_TRANSPORTS 8
>  #define VIRTIO_CMDLINE_MAXLEN 64

OK, and let's hope we don't need to move it again.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>

> -- 
> 2.18.4
diff mbox series

Patch

diff --git a/include/hw/i386/microvm.h b/include/hw/i386/microvm.h
index ba68d1f22bb3..fd34b78e0d2a 100644
--- a/include/hw/i386/microvm.h
+++ b/include/hw/i386/microvm.h
@@ -26,7 +26,7 @@ 
 #include "hw/i386/x86.h"
 
 /* Platform virtio definitions */
-#define VIRTIO_MMIO_BASE      0xc0000000
+#define VIRTIO_MMIO_BASE      0xfeb00000
 #define VIRTIO_IRQ_BASE       5
 #define VIRTIO_NUM_TRANSPORTS 8
 #define VIRTIO_CMDLINE_MAXLEN 64