OK, I was finally able to disentangle this mess.

Let me start by saying that Guillaume was correct; the following commit
does fix this specific issue:

https://gitlab.com/libvirt/libvirt/-/commit/aae8a5774ba7891401408c1169b5ed70037372bb

After talking to the upstream developer who authored these patches, I
believe it also makes sense to backport the following commit:

https://gitlab.com/libvirt/libvirt/-/commit/4331048257071211fb98c21453b187919d42dae7

because it solves a very similar problem, which I believe is easy enough
to be triggered by other users.

Let me also correct myself when I said that this problem only affects
Noble.  It actually does affect Oracular and Plucky as well, but only
when the VM was created by the libvirt we currently ship with Noble.  In
other words:

- VM created in Noble & migration in Noble/Oracular/Plucky: bug
- VM created in {Oracular,Plucky} & migration in Oracular/Plucky: OK

This happens because the "migratable" XML file (generated by "virsh
dumpxml --migratable") does not contain the vmx* features (as Guillaume
also mentioned above) when it is generated by libvirt from
Oracular/Plucky.

This means that we still have to backport the fix to Oracular/Plucky,
because this bug will affect users of those releases who came from
Noble.

I'm preparing the MPs now and should post them soon.

** Also affects: libvirt (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: libvirt (Ubuntu Plucky)
   Importance: Undecided
     Assignee: Sergio Durigan Junior (sergiodj)
       Status: Fix Released

** Changed in: libvirt (Ubuntu Oracular)
       Status: New => Triaged

** Changed in: libvirt (Ubuntu Plucky)
       Status: Fix Released => Triaged

** Changed in: libvirt (Ubuntu Oracular)
     Assignee: (unassigned) => Sergio Durigan Junior (sergiodj)

** Changed in: libvirt (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: libvirt (Ubuntu Plucky)
   Importance: Undecided => High

** Changed in: libvirt (Ubuntu Oracular)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083986

Title:
  Live migration fails because VMX features are missing on target cpu
  definition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2083986/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to