Bug 53851
Summary: | nVMX: Support live migration of whole L1 guest | ||
---|---|---|---|
Product: | Virtualization | Reporter: | Nadav Har'El (nyh) |
Component: | kvm | Assignee: | virtualization_kvm |
Status: | NEW --- | ||
Severity: | low | CC: | akamch, christian.rohmann |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 94971, 198621, 53601 |
Description
Nadav Har'El
2013-02-14 14:36:53 UTC
Another issue to consider for live migration: right now we only kunmap() and release_page_dirty() the vmcs12 page after a vmclear (or vmxof, etc.). However, we may need to do this also on exit to user space (KVM_VCPU_RUN ioctl completes), so that live migration knows this page is dirty and needs to be copied. Sorry for replying to this rather old bug - I was pointed to this via https://www.linux-kvm.org/page/Nested_Guests#Limitations If I may ask, is this really the last state of discussion and work on this issue? Looking at i.e. * https://github.com/qemu/qemu/commit/ebbfef2f34cfc749c045a4569dedb4f748ec024a * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=039aeb9deb9291f3b19c375a8bc6fa7f768996cc there have been commits for the kernel as well as QEMU to support migration of nested VMs. On Wed, 2021-06-09 at 08:55 +0000, bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=53851 > > --- Comment #2 from christian.rohmann@frittentheke.de --- > Sorry for replying to this rather old bug - I was pointed to this via > https://www.linux-kvm.org/page/Nested_Guests#Limitations > > > If I may ask, is this really the last state of discussion and work on this > issue? > Looking at i.e. > > * > https://github.com/qemu/qemu/commit/ebbfef2f34cfc749c045a4569dedb4f748ec024a > * > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=039aeb9deb9291f3b19c375a8bc6fa7f768996cc > > > there have been commits for the kernel as well as QEMU to support migration > of > nested VMs. > AFAIK, running nested guests and migration while nested guest is running should work on both Intel and AMD, but there were lots of fixes in this area recently so a very new kernel should be used. Plus in some cases if the nested guest is 32 bit, the migration still can fail, on Intel at least, last time I checked. On AMD I just recently fixed such issue for 32 bit guest and it seems to work for me. I also know that if the nested guest is hyper-v enabled (which is a bit overkill as this brings us to a double nesting), then it crashes once in a whileafter lots of migration cycles. So there are still bugs, but overall it works. Best regards, Maxim Levitsky |