summaryrefslogtreecommitdiffstats
path: root/qemu-edid.c
diff options
context:
space:
mode:
authorEric Auger2019-03-04 11:13:37 +0100
committerPeter Maydell2019-03-05 16:55:09 +0100
commitc9650222b8fda66e5e9e5110a0dc76c3b30eb70a (patch)
tree232f0fc628bf497461c699e09232887fbadf417c /qemu-edid.c
parenthw/arm/virt: Dynamic memory map depending on RAM requirements (diff)
downloadqemu-c9650222b8fda66e5e9e5110a0dc76c3b30eb70a.tar.gz
qemu-c9650222b8fda66e5e9e5110a0dc76c3b30eb70a.tar.xz
qemu-c9650222b8fda66e5e9e5110a0dc76c3b30eb70a.zip
hw/arm/virt: Implement kvm_type function for 4.0 machine
This patch implements the machine class kvm_type() callback. It returns the number of bits requested to implement the whole GPA range including the RAM and IO regions located beyond. The returned value is passed though the KVM_CREATE_VM ioctl and this allows KVM to set the stage2 tables dynamically. To compute the highest GPA used in the memory map, kvm_type() must freeze the memory map by calling virt_set_memmap(). Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 20190304101339.25970-9-eric.auger@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-edid.c')
0 files changed, 0 insertions, 0 deletions