microvm: use 3G split unconditionally
commite289655cea93bd50856a0896e2d49e5c7ed10c3b
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 29 May 2020 07:39:54 +0000 (29 09:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Jun 2020 12:24:07 +0000 (17 14:24 +0200)
tree751c043a825885531a9569d099d9b305e77a26c0
parent5c24bce3056ff209a1ecc50ff4b7e65b85ad8e74
microvm: use 3G split unconditionally

Looks like the logic was copied over from q35.

q35 does this for backward compatibility, there is no reason to do this
on microvm though.  Also microvm doesn't need much mmio space, 1G is
more than enough.  Using an mmio window smaller than 1G is bad for
gigabyte alignment and hugepages though.  So split @ 3G unconditionally.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200529073957.8018-2-kraxel@redhat.com
hw/i386/microvm.c