Documentation: KVM: x86: Update nested live migration status on AMD
Subsystems (2)
PATCH 1/1 Documentation: KVM: x86: Update nested live migration status on AMD
The "Live migration with nested KVM" section is stale for AMD systems and needs an update. Migrating an SVM L1 guest with a live L2 guest in it works, and has been tested with Linux 7.2 and QEMU 11.1.0. So, replace the AMD-specific caveats accordingly.
--- .../virt/kvm/x86/running-nested-guests.rst | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-)
Documentation/virt/kvm/x86/running-nested-guests.rst +3 -13
@@ -186,21 +186,11 @@ Live migration with nested KVM Migrating an L1 guest, with a *live* nested guest in it, to another bare metal host, works as of Linux kernel 5.3 and QEMU 4.2.0 for -Intel x86 systems, and even on older versions for s390x. - -On AMD systems, once an L1 guest has started an L2 guest, the L1 guest -should no longer be migrated or saved (refer to QEMU documentation on -"savevm"/"loadvm") until the L2 guest shuts down. Attempting to migrate -or save-and-load an L1 guest while an L2 guest is running will result in -undefined behavior. You might see a ``kernel BUG!`` entry in ``dmesg``, a -kernel 'oops', or an outright kernel panic. Such a migrated or loaded L1 -guest can no longer be considered stable or secure, and must be restarted. -Migrating an L1 guest merely configured to support nesting, while not -actually running L2 guests, is expected to function normally even on AMD -systems but may fail once guests are started. +Intel x86 systems, and even on older versions for s390x. On AMD x86 +systems, it works with Linux kernel 7.2 and QEMU 11.1.0, or later. Migrating an L2 guest is always expected to succeed, so all the following -scenarios should work even on AMD systems: +scenarios should work: - Migrating a nested guest (L2) to another L1 guest on the *same* bare metal host.
base-commit: 6bd2905303c58679e303941b7d8ae8c074cd95ce
Signature · 1 line
2.43.0
Quoted 4 lines · Shivansh Dhiman
The "Live migration with nested KVM" section is stale for AMD systems and needs an update. Migrating an SVM L1 guest with a live L2 guest in it works, and has been tested with Linux 7.2 and QEMU 11.1.0. So, replace the AMD-specific caveats accordingly.
Applied to kvm-x86 misc, thanks!
[1/1] Documentation: KVM: x86: Update nested live migration status on AMD
https://github.com/kvm-x86/linux/commit/a9dfce9b3fae
Quoted 7 lines · Sean Christopherson
Quoted 4 lines · Shivansh Dhiman
The "Live migration with nested KVM" section is stale for AMD systems and needs an update. Migrating an SVM L1 guest with a live L2 guest in it works, and has been tested with Linux 7.2 and QEMU 11.1.0. So, replace the AMD-specific caveats accordingly.
Applied to kvm-x86 misc, thanks!
Thank you for picking up the nSVM documentation update.
Quoted 6 lines
[1/1] Documentation: KVM: x86: Update nested live migration status on AMD
https://github.com/kvm-x86/linux/commit/a9dfce9b3fae