Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

This took some trial and error, but Task Manager no longer shows "Virtual Machine" = Yes!

Update: I'm back to Hyper-V for the moment as my work is a Microsoft Shop..., but a reddit user sent me this update:

Hey, thanks for your confluence page but this is no longer valid as of libvirt 5.10.0. The following is what works now:

  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state="on"/>
    </kvm>
    <vmport state="off"/>
  </features>

  <cpu mode="host-passthrough" check="partial">
    <topology sockets="1" cores="3" threads="2"/> //CHANGE_TO_VM_CPU_TOPOLOGY
    <feature policy="disable" name="vmx"/>
    <feature policy="disable" name="hypervisor"/>
  </cpu>
    <clock offset="localtime">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>


Add the following to your domain.xml and make sure to completley remove the CPU Section

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
#Regaular Stuff
#No CPU Type Set
 <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <vmport state='off'/>
  </features>
#Add to Bottom of Domain.xml
  </devices>
  <qemu:commandline>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='host,hv_time,kvm=off,hv_vendor_id=null,-hypervisor'/>
  </qemu:commandline>
</domain>

Turn VM off and back on and test!

https://www.reddit.com/r/linux_gaming/comments/6qn7sk/is_it_possible_to_hide_a_vm_from_being_detected/

https://serverfault.com/questions/727347/solidworks-activation-license-mode-is-not-supported-in-this-virtual-environment/942267#942267

  • No labels