]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - Documentation/virtual/kvm/api.txt
arm/arm64: KVM: Add KVM_GET/SET_VCPU_EVENTS
authorDongjiu Geng <gengdongjiu@huawei.com>
Thu, 19 Jul 2018 15:24:22 +0000 (16:24 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Sat, 21 Jul 2018 15:02:30 +0000 (16:02 +0100)
commitb7b27facc7b50a5fce0afaa3df56157136ce181a
tree16536d93e55ccbdc8561c78ffab9d69966859c61
parent327432c2469e0069679009886556d15eeddeb0cc
arm/arm64: KVM: Add KVM_GET/SET_VCPU_EVENTS

For the migrating VMs, user space may need to know the exception
state. For example, in the machine A, KVM make an SError pending,
when migrate to B, KVM also needs to pend an SError.

This new IOCTL exports user-invisible states related to SError.
Together with appropriate user space changes, user space can get/set
the SError exception state to do migrate/snapshot/suspend.

Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
[expanded documentation wording]
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/virtual/kvm/api.txt
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/uapi/asm/kvm.h
arch/arm64/kvm/guest.c
arch/arm64/kvm/inject_fault.c
arch/arm64/kvm/reset.c
virt/kvm/arm/arm.c