mbox series

[0/2] kvm: use KVM_{GET|SET}_SREGS2 when available

Message ID 20210401144545.1031704-1-mlevitsk@redhat.com (mailing list archive)
Headers show
Series kvm: use KVM_{GET|SET}_SREGS2 when available | expand

Message

Maxim Levitsky April 1, 2021, 2:45 p.m. UTC
clone of "starship_unstable"

Maxim Levitsky (2):
  kvm: update kernel headers for KVM_{GET|SET}_SREGS2
  KVM: use KVM_{GET|SET}_SREGS2 when supported by kvm.

 accel/kvm/kvm-all.c         |   4 ++
 include/sysemu/kvm.h        |   4 ++
 linux-headers/asm-x86/kvm.h |  13 +++++
 linux-headers/linux/kvm.h   |   5 ++
 target/i386/cpu.h           |   1 +
 target/i386/kvm/kvm.c       | 101 +++++++++++++++++++++++++++++++++++-
 target/i386/machine.c       |  33 ++++++++++++
 7 files changed, 159 insertions(+), 2 deletions(-)