Hypervisor-Phantom icon indicating copy to clipboard operation
Hypervisor-Phantom copied to clipboard

how to configure vm with patched qemu

Open automato78 opened this issue 6 months ago • 0 comments

can you clarify how to actually apply the cpu name patch?

  If you're trying to bypass the Intel CPU thread count check, then you need to set CPU mode
  to hypervisor default, so it uses the default one specified in the QEMU patch under the
  "hw/i386/pc_q35.c" file patch. Change the "m->desc" string to whatever CPU that has a
  core/thread count that can be used within your hosts CPU ability.

what should the configuration look like for this? in vmm selecting "hypervisor default" adds:

  <cpu mode="custom" match="exact" check="none">
    <model fallback="forbid">qemu64</model>
    ...
  </cpu>

which just reports a generic intel pentium processor.

the patch is applied and the correct qemu binary is configured in the xml, but the cpu xml configuration is not correct.

/usr/local/bin/qemu-system-x86_64 -machine help

q35                  Intel Core i9-9900K (alias of pc-q35-9.2)
pc-q35-9.2           Intel Core i9-9900K
...

automato78 avatar May 12 '25 22:05 automato78