KVM install VM Guest

 

 

介紹

 

 


Window 10

 

XML

# 一定要有 nx 先安裝到 (iso 2016-04-27)

"nx" is a technology used in CPUs to segregate areas of memory for use by either storage of processor instructions (code) or for storage of data

<cpu mode='custom' match='exact'>
  <model fallback='allow'>core2duo</model>
  <feature policy='require' name='nx'/>
</cpu>

# For performance

xml

<disk type='file' device='disk'>
  <driver name='qemu' type='qcow2' cache='writethrough' io='native'/>
  <source file='/data/vm/win10/win10.qcow2'/>
  <target dev='vda' bus='virtio'/>
  <boot order='1'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</disk>

VirtIO Drivers

virtio-win-0.1.102.iso

Ethernet Adapter: NetKVM\w8.1\amd64
Virtual Memory Balloon Driver: Balloon\w8.1\amd64
Hard disk: viostor\w8.1\amd64