Host-passthrough & nested virtualization are mandatory.

Best Regards,
Strahil Nikolov

On Wed, Feb 2, 2022 at 18:54, Richard W.M. Jones
<rjones@redhat.com> wrote:
On Wed, Feb 02, 2022 at 05:42:33PM +0200, Juhani Rautiainen wrote:
> Hi!
>
> Maybe you have to modify qemu VM CPU settings? I mean that usually if
> you don't see the svm flag on AMD CPU, virtualization is not
> available. This page suggests changes to qemu CPU model:
> https://techviewleo.com/how-to-enable-nested-virtualization-on-kvm-qemu/
>
> I think that the "host-passthrough" setting should let all the CPU
> flags go through to the VM
> (https://wiki.openstack.org/wiki/LibvirtXMLCPUModel).

Yes, thank you, you are absolutely right.

I had the CPU model set to "host-model" (where libvirt tries to create
a model approximating the host).  Changing it to "host-passthrough"
(ie. same as qemu -cpu host) fixed it and allowed me to install oVirt
node in the guest and activate it.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W4434OIVOGS2KCGVISROD6Y7JPLP6MNS/