Support KVM_GET/SET_VCPU_EVENTS to get/set the SError exception state, and support the state migration.
Now the VCPU event only includes the SError exception status, it can be extended if needed. When do migration, If source machine has serror pending, the target machine is also needed to pend this serror regardless of whether target machine can support to set the serror syndrome. Note: Because I do not have arm32 environment, I only this patch in the KVM64, not test it in the KVM32. So I need someone else test it in the 32 bit KVM platform. Thanks. Dongjiu Geng (2): linux-headers: Update to linux kernel 4.19-rc5 target/arm: Add support for VCPU event states include/standard-headers/linux/input.h | 9 ++--- linux-headers/asm-arm/kvm.h | 13 ++++++++ linux-headers/asm-arm64/kvm.h | 13 ++++++++ linux-headers/asm-x86/kvm.h | 1 + linux-headers/linux/kvm.h | 2 ++ linux-headers/linux/vhost.h | 2 +- target/arm/cpu.h | 7 ++++ target/arm/kvm.c | 60 ++++++++++++++++++++++++++++++++++ target/arm/kvm32.c | 13 ++++++++ target/arm/kvm64.c | 13 ++++++++ target/arm/kvm_arm.h | 24 ++++++++++++++ target/arm/machine.c | 22 +++++++++++++ 12 files changed, 174 insertions(+), 5 deletions(-) -- 2.7.4