<div dir="ltr"><div dir="ltr">On Tue, Jun 9, 2020 at 1:08 PM James Page <<a href="mailto:james.page@canonical.com">james.page@canonical.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Neil<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 11:59 AM Neil Jerram <<a href="mailto:neil@tigera.io" target="_blank">neil@tigera.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I run tests with GCP instances as the OpenStack hypervisors. Obviously it's better if those can use libvirt_type kvm, i.e. nested virtualization, and this has been possible prior to my current Ussuri upgrade work.<div><br></div><div>With Ussuri on Ubuntu, IIUC, we get qemu 4.2 from cloud-archive:ussuri, but qemu 4.2 has a bug that was fixed by this commit prior to 5.0.0: <a href="https://github.com/qemu/qemu/commit/4a910e1f6ab4155ec8b24c49b2585cc486916985" target="_blank">https://github.com/qemu/qemu/commit/4a910e1f6ab4155ec8b24c49b2585cc486916985</a></div><div><br></div><div> target/i386: do not set unsupported VMX secondary execution controls<br><br> Commit 048c951 ("target/i386: work around KVM_GET_MSRS bug for<br> secondary execution controls") added a workaround for KVM pre-dating<br> commit 6defc591846d ("KVM: nVMX: include conditional controls in /dev/kvm<br> KVM_GET_MSRS") which wasn't setting certain available controls. The<br> workaround uses generic CPUID feature bits to set missing VMX controls. [...]<br></div><div><br></div><div>The bug manifests on a GCP instance with nested virtualization enabled [1], because such a GCP instance doesn't support MSR features. The OpenStack-level symptom is that a VM can't be scheduled onto that GCP instance.</div><div><br></div><div>Is this a well-known problem? For CentOS/RHEL, [2] looks similar and maybe fixed, but it's difficult to be sure.</div></div></blockquote><div><br></div><div>I could not an existing bug in Ubuntu describing these symptoms - any chance you can report a bug here:</div><div><br></div><div> <a href="https://bugs.launchpad.net/ubuntu/+source/qemu/+filebug" target="_blank">https://bugs.launchpad.net/ubuntu/+source/qemu/+filebug</a></div><div><br></div><div>Cheers<br></div></div></div></blockquote><div><br></div><div><a href="https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1882774">https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1882774</a></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>