Activity log for bug #1882774

Date Who What changed Old value New value Message
2020-06-09 12:48:27 Christian Ehrhardt  bug added bug
2020-06-09 12:56:52 Christian Ehrhardt  qemu (Ubuntu): status New Triaged
2020-06-09 13:17:29 Christian Ehrhardt  description [Impact] In qemu 4.2 was a change [1] meant to improve the handling of MSRs vs CPUID. It was later identified [2] as an issue and fixed. This has to be backported to Focal to resolve that issue on several platforms. An example where this occurs is: - Azure instances with nested virt - GCP instances with nested virt We have seen a bunch of qemu named CPU types that can expose similar behavior when used on chips that pretend to be of some type e.g. Skylake but miss some of their features to be settable. It isn't entirely sure thou that this will be fixed by the same - yet worth to mention. The impact is that qemu 4.2 as in Ubuntu 20.04 doesn't work on those platforms bailing out. [1]: https://github.com/qemu/qemu/commit/048c95163b472ed737a2f0dca4f4e23a82ac2f8a [2]: https://github.com/qemu/qemu/commit/4a910e1f6ab4155ec8b24c49b2585cc486916985 [Test Case] * Get a GCP or Azure instance with nested virtualization enabled * Spawn a KVM guest on it e.g. by using uvtool-libvirt using a named type matching the cpu e.g. if the host reports as skylake use such a type. You can use `qemu-system-x86_64 -cpu ?` to check available types and compare vs /prco/cpuinfo [Regression Potential] * It is a bit hard to guess, but it should not make things worse. But if I'd expect one then the VMX subfeatures could change on cases not intended to. Yet we should have one of two cases: a) the common one is that the host can set this and has done so, it will continue as before b) host was unable to set these and failed, this should now work with the fix in place Both seem ok to me. [Other Info] * there might be a local (non cloud) way to reproduce but I don't know it yet [Impact] In qemu 4.2 was a change [1] meant to improve the handling of MSRs vs CPUID. It was later identified [2] as an issue and fixed. This has to be backported to Focal to resolve that issue on several platforms. An example where this occurs is: - Azure instances with nested virt - GCP instances with nested virt We have seen a bunch of qemu named CPU types that can expose similar behavior when used on chips that pretend to be of some type e.g. Skylake but miss some of their features to be settable. It isn't entirely sure thou that this will be fixed by the same - yet worth to mention. The impact is that qemu 4.2 as in Ubuntu 20.04 doesn't work on those platforms bailing out. [1]: https://github.com/qemu/qemu/commit/048c95163b472ed737a2f0dca4f4e23a82ac2f8a [2]: https://github.com/qemu/qemu/commit/4a910e1f6ab4155ec8b24c49b2585cc486916985 [Test Case]  * Get a GCP or Azure instance with nested virtualization enabled  * Spawn a KVM guest on it e.g. by using uvtool-libvirt using a named type matching the cpu    e.g. if the host reports as skylake use such a type.    You can use `virsh domcapabilities` to check what the host is detected as. [Regression Potential]  * It is a bit hard to guess, but it should not make things worse. But if I'd expect one then the    VMX subfeatures could change on cases not intended to. Yet we should have one of two cases:    a) the common one is that the host can set this and has done so, it will continue as before    b) host was unable to set these and failed, this should now work with the fix in place    Both seem ok to me. [Other Info]  * there might be a local (non cloud) way to reproduce but I don't know it yet
2020-06-10 06:01:33 Christian Ehrhardt  bug task added cloud-archive
2020-06-10 06:01:41 Christian Ehrhardt  qemu (Ubuntu): status Triaged In Progress
2020-06-10 06:10:21 Christian Ehrhardt  nominated for series Ubuntu Focal
2020-06-10 06:10:21 Christian Ehrhardt  bug task added qemu (Ubuntu Focal)
2020-06-10 06:10:26 Christian Ehrhardt  qemu (Ubuntu Focal): status New Triaged
2020-06-10 06:10:31 Christian Ehrhardt  qemu (Ubuntu): importance Undecided High
2020-06-10 06:10:33 Christian Ehrhardt  qemu (Ubuntu Focal): importance Undecided High
2020-06-16 16:48:59 Launchpad Janitor qemu (Ubuntu): status In Progress Fix Released
2020-06-17 05:27:28 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/385876
2020-06-22 03:12:24 Matthew Ruffell bug added subscriber Matthew Ruffell
2020-06-22 03:19:43 Matthew Ruffell tags sts
2020-06-22 11:24:02 Łukasz Zemczak qemu (Ubuntu Focal): status Triaged Fix Committed
2020-06-22 11:24:04 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2020-06-22 11:24:05 Łukasz Zemczak bug added subscriber SRU Verification
2020-06-22 11:24:08 Łukasz Zemczak tags sts sts verification-needed verification-needed-focal
2020-06-23 09:59:30 Christian Ehrhardt  tags sts verification-needed verification-needed-focal sts verification-done verification-done-focal
2020-07-06 14:43:06 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2020-07-06 14:53:06 Launchpad Janitor qemu (Ubuntu Focal): status Fix Committed Fix Released
2020-07-08 17:36:31 Nell Jerram bug added subscriber Neil Jerram
2020-09-04 07:22:41 Chris MacNaughton cloud-archive: status New Fix Released