turning off virtualization for vm


Recommended Posts

I am trying to play sims 4 on my windows 10 vm but I get the "Hello :)" error. I edited the xml to turn off hyper-v but the game still won't boot. Is there a way to spoof that virtualization is off in the bios?

 

Here is what I edited in the xml

  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='off'/>
      <vapic state='off'/>
      <spinlocks state='off'/>
    </hyperv>
    <kvm>
      <hidden state='on'/>
    </kvm>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='2'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='no'/>
    <timer name='rtc' present='no'/>
    <timer name='pit' present='no'/>
    <timer name='hpet' present='yes'/>
  </clock>

 

Link to comment
  • 9 months later...
  • 3 weeks later...
  • 1 month later...

I know this is a year old thread, but I just thought I'd share the solution I found to this problem in case anyone else is still searching like I was. Took me a long time to figure out how to solve it. Turns out that you simply got to properly hide the fact that you are using virtualization from your Windows. This is done by editing the XML of your Windows VM:

 

Change your cpu mode to become:

<cpu mode='host-model' check='partial'>

 

And add these lines below it:

<model fallback='allow'/>

<feature policy='disable' name='hypervisor'/>

 

Remove the cache passthrough line if it's found before the </cpu> line.

 

Finally add the following lines just ABOVE the </features> line:

<kvm>

   <hidden state='on'/>

</kvm>


If all is well, you should NOT see that hypervisor is detected when running the following command in cmd:
systeminfo

Source:
https://superuser.com/questions/1387935/hiding-virtual-machine-status-from-guest-operating-system

Edited by Djalaal
Added a check to see whether it worked
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.