cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
364
Views
0
Helpful
2
Replies

Specify CPU mode in yaml file

thock
Level 1
Level 1

When I install an OVA with the example yaml file, it builds an xml file with the default cpu mode (qemu) which is basically defunct now.  It is not possible to run RHEL9/OL9 with the qemu cpu.  Is it possible to specify an alternate cpu mode - host-passthrough for example?

2 Replies 2

@thock what is this for?

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

thock
Level 1
Level 1

When I install the OVA with the virtual-service install command, the generated vman_VM_internal.xml file has the following section:

<qemu:commandline>
<qemu:arg value="-cpu"/>
<qemu:arg value="QEMU64"/>
</qemu:commandline>

An OL9 VM will not start when the QEMU64 CPU is specified.  If I manually change the xml file so that it reads:

<qemu:commandline>
<qemu:arg value="-cpu"/>
<qemu:arg value="Broadwell-noTSX-IBRS"/>
</qemu:commandline>

Then the OL9 VM starts without a problem.  I would like to know if there is anything that can be configured in the package.yaml file to specify the CPU command line argument at installation time so that I don't need to go in and modify the .xml file by hand.