domcapabilities output

[root@kvm1 ~]# virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf domcapabilities |grep AMD
      <vendor>AMD</vendor>
      <model usable='no' vendor='AMD'>phenom</model>
      <model usable='no' vendor='AMD'>athlon</model>
      <model usable='no' vendor='AMD'>Opteron_G5</model>
      <model usable='no' vendor='AMD'>Opteron_G4</model>
      <model usable='yes' vendor='AMD'>Opteron_G3</model>
      <model usable='yes' vendor='AMD'>Opteron_G2</model>
      <model usable='yes' vendor='AMD'>Opteron_G1</model>
      <model usable='no' vendor='AMD'>EPYC-Rome</model>
      <model usable='no' vendor='AMD'>EPYC-Milan</model>
      <model usable='no' vendor='AMD'>EPYC-IBPB</model>
      <model usable='no' vendor='AMD'>EPYC</model>

On Sat, Jan 6, 2024 at 3:58 PM LS CHENG <lsc.oraes@gmail.com> wrote:
Hi

I notice that the CPU in kvm is detected as Opteron_G3 after running "virsh -r capabilities | grep model" and there is no support in ovirt UI, is it possible to added by modify the postal database in the engine?

From kvm the host seems good

[root@kvm1 ~]# virt-host-validate
  QEMU: Checking for hardware virtualization                                 : PASS
  QEMU: Checking if device /dev/kvm exists                                   : PASS
  QEMU: Checking if device /dev/kvm is accessible                            : PASS
  QEMU: Checking if device /dev/vhost-net exists                             : PASS
  QEMU: Checking if device /dev/net/tun exists                               : PASS
  QEMU: Checking for cgroup 'cpu' controller support                         : PASS
  QEMU: Checking for cgroup 'cpuacct' controller support                     : PASS
  QEMU: Checking for cgroup 'cpuset' controller support                      : PASS
  QEMU: Checking for cgroup 'memory' controller support                      : PASS
  QEMU: Checking for cgroup 'devices' controller support                     : PASS
  QEMU: Checking for cgroup 'blkio' controller support                       : PASS
  QEMU: Checking for device assignment IOMMU support                         : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform)
  QEMU: Checking for secure guest support                                    : WARN (Unknown if this platform has Secure Guest support)


Thanks



On Sat, Jan 6, 2024 at 12:27 PM LS CHENG <lsc.oraes@gmail.com> wrote:
Hi all

I am running OLVM 4.5, this is a test setup which was running in my old workstation with Intel CPU and is nested virtualization (with VMWare Workstation), the host was running Windows 7 x64, I moved to AMD Ryzen 7950X3D a couple of days ago which runs Windows 11 x64 with 128GB memory then moved OLVM VM's from the old workstation to this new workstation.

The problem I face now is the KVM hosts shows this error

Host kvm1 moved to Non-Operational state as host CPU type is not supported in this cluster compatibility version or is not supported at all

I modified /etc/modprobe.d/kvm.conf and changed

options kvm_amd nested=0
to
options kvm_amd nested=1

reboot the kvm host but still getting same error, I verified the modification and seems good

[root@kvm1 ~]# cat /sys/module/kvm_amd/parameters/nested
1

In Windows 11 I have hyper-v off and Memory Integrity is also off.

Am I missing any additional steps?


Thanks