Description of problem: The Machine type is just q35 in VM Details tab, we've discussed in the meeting about whether should we support other machine type types, so open the bug to track the discussion. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The correct value in the API depends on the CNV version, in general it follows the format ``` machine: type: pc-q35-rhel8.6.0 ``` `q35` will not be used by CNV in the API or templates, because q35 is an alias and always points to the latest q35 `variant` - iow a VM could have a different ABI between restarts. What was the reason fpr only exposing q35 in the UI?
@fdeutsch I see that the value is built from: pc-${machine_type}-${qemu_version} I find it confusing to see pc-q35-rhel8.6.0 for all VMs, regardless of the OS (even for Windows). If this is the correct value we can close the BZ
Thanks Ronen. Yes, this is the correct value. I understand that this can be confusing as rhel is being mentioned. The reason for this is that MT is a "property" of the hypervisor (qemu/kvm), and not something related to the guest. pc-q35-rhel8.6.0 simply says: Take the q35 machine type which is defined in rhel 8.6.0 Woul dit help to add a tooltip or (?) questionmark icon with an explanatory description?
+1 @fdeutsch TMHO it would be helpful to add a (?) icon with a popover including an explanatory description.
Can you, please, folks, formulate the text for the popover so we can add it to the UI for explanation to VM Details tab? Thanks!
Something like: The machine type defines the basic virtual hardware configuration of a VM. The name and version relate to the underlying hypervisor.
How does this sound? "The machine type defines the virtual hardware configuration while the operating system name and version refer to the hypervisor." I don't think it is necessary to mention "of the VM" because the context is clear.
Sounds good!
Does make any sense to add the popover also to VMI, VM Template's Details, or to Catalog, where "Machine type" also occurs? Thanks!
Ideally consistently wherever "machine type" appears
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:3205