aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2019-03-04 11:13:37 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-03-05 15:55:09 +0000
commitc9650222b8fda66e5e9e5110a0dc76c3b30eb70a (patch)
tree232f0fc628bf497461c699e09232887fbadf417c /stubs
parent957e32cffa57e2578abbf7c1ec6e84db48921a18 (diff)
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 'stubs')
0 files changed, 0 insertions, 0 deletions