Skip to content

Instantly share code, notes, and snippets.

@YXL76
Last active May 13, 2020 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YXL76/e86b58452d17415864adf6179b5b4d2c to your computer and use it in GitHub Desktop.
Save YXL76/e86b58452d17415864adf6179b5b4d2c to your computer and use it in GitHub Desktop.
QEMU xml
<cputune>
<vcpupin vcpu="0" cpuset="2"/>
<vcpupin vcpu="1" cpuset="3"/>
<vcpupin vcpu="2" cpuset="6"/>
<vcpupin vcpu="3" cpuset="7"/>
</cputune>
<disk type="file" device="disk">
<driver name="qemu" type="raw" cache="writeback"/>
</disk>
<hyperv>
<relaxed state='on'/>
<vpindex state='on'/>
<synic state='on'/>
<stimer state='on'/>
</hyperv>
<clock offset='localtime'>
<timer name='hpet' present='yes'/>
<timer name='hypervclock' present='yes'/>
</clock>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment