https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_virtualization/creating-nested-virtual-machines_configuring-and-managing-virtualization#creating-a-nested-virtual-machine-on-amd_creating-nested-virtual-machines

Best Regards,
Strahil Nikolov

On Thu, Feb 3, 2022 at 10:53, Richard W.M. Jones
<rjones@redhat.com> wrote:
On Thu, Feb 03, 2022 at 06:08:55AM +0000, Strahil Nikolov wrote:
> Host-passthrough & nested virtualization are mandatory.

Yes indeed.  I don't know if I missed this in the docs, but it wasn't
obvious.  However using host-passthrough fixed it.

Rich.

> 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/
>   
>

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html

_______________________________________________
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/FIR2NPU2FVCNMXVJSEJ27I3ONPVWTB7K/