mbox series

[RESEND,RFC,v10,0/2] add support for VCPU event states

Message ID 1537995236-43145-1-git-send-email-gengdongjiu@huawei.com
Headers show
Series add support for VCPU event states | expand

Message

Dongjiu Geng Sept. 26, 2018, 8:53 p.m. UTC
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/kvm32.c                     | 70 ++++++++++++++++++++++++++++++++++
 target/arm/kvm64.c                     | 68 +++++++++++++++++++++++++++++++++
 target/arm/machine.c                   | 22 +++++++++++
 10 files changed, 202 insertions(+), 5 deletions(-)