Skip to content

target-i386/kvm: live migration support for nested VMX

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: i386: Use symbolic constant for #DB/#BP exception constantstarget/i386/kvm.c+3 -31 reply
2/7KVM: i386: Re-inject #DB to guest with updated DR6target/i386/kvm.c+3 -00 replies
3/7KVM: i386: Add support for KVM_CAP_EXCEPTION_PAYLOADtarget/i386/cpu.c target/i386/cpu.h target/i386/hvf/hvf.c +3 more+163 -305 replies
4/7linux-headers: import improved definition of KVM_GET/SET_NESTED_STATE structslinux-headers/asm-x86/kvm.h+11 -03 replies
5/7vmstate: Add support for kernel integer typesinclude/migration/vmstate.h+18 -00 replies
6/7KVM: i386: Add support for save and restore nested stateaccel/kvm/kvm-all.c include/sysemu/kvm.h target/i386/cpu.h +2 more+246 -02 replies
7/7Revert "target/i386: kvm: add VMX migration blocker"target/i386/kvm.c+0 -120 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchNikita Leshenko
1/7R-b
2/7R-b
3/7R-b
4/7
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH preliminary 0/7] target-i386/kvm: live migration support for nested VMX

This is mostly Liran's work. It's preliminary because he found some cases that break but he hasn't debugged them fully yet (a kernel bug is suspected though) and because my version, which only requires a very small and backwards-compatible linux-headers change (patch 4), has seen even less testing.

Paolo

Liran Alon (6):
KVM: i386: Use symbolic constant for #DB/#BP exception constants
KVM: i386: Re-inject #DB to guest with updated DR6
KVM: i386: Add support for KVM_CAP_EXCEPTION_PAYLOAD
vmstate: Add support for kernel integer types
KVM: i386: Add support for save and restore nested state Revert "target/i386: kvm: add VMX migration blocker"

Paolo Bonzini (1):
linux-headers: import improved definition of KVM_GET/SET_NESTED_STATE
structs

 accel/kvm/kvm-all.c         |   8 ++
 include/migration/vmstate.h |  18 +++
 include/sysemu/kvm.h        |   1 +
 linux-headers/asm-x86/kvm.h |  11 ++
 target/i386/cpu.c           |  10 +-
 target/i386/cpu.h           |  16 ++-
 target/i386/hvf/hvf.c       |  10 +-
 target/i386/hvf/x86hvf.c    |   4 +-
 target/i386/kvm.c           | 160 ++++++++++++++++++++----
 target/i386/machine.c       | 243 +++++++++++++++++++++++++++++++++++-
 10 files changed, 440 insertions(+), 41 deletions(-)
Signature · 1 line
2.21.0