Advertisement
Guest User

win7.xml

a guest
Jan 16th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.81 KB | None | 0 0
  1. <domain type='kvm'>
  2.   <name>win7</name>
  3.   <uuid>775aad74-9b04-4ad8-b1c2-b3c12c511630</uuid>
  4.   <memory unit='KiB'>8388608</memory>
  5.   <currentMemory unit='KiB'>8388608</currentMemory>
  6.   <memoryBacking>
  7.     <hugepages/>
  8.   </memoryBacking>
  9.   <vcpu placement='static'>6</vcpu>
  10.   <cputune>
  11.     <vcpupin vcpu='0' cpuset='0'/>
  12.     <vcpupin vcpu='1' cpuset='1'/>
  13.     <vcpupin vcpu='2' cpuset='2'/>
  14.     <vcpupin vcpu='3' cpuset='3'/>
  15.     <vcpupin vcpu='4' cpuset='4'/>
  16.     <vcpupin vcpu='5' cpuset='5'/>
  17.   </cputune>
  18.   <os>
  19.     <type arch='x86_64' machine='pc-i440fx-2.0'>hvm</type>
  20.     <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/ovmf_code_x64.bin</loader>
  21.     <nvram template='/usr/share/ovmf/x64/ovmf_vars_x64.bin'>/var/lib/libvirt/qemu/nvram/win7_VARS.fd</nvram>
  22.     <boot dev='hd'/>
  23.   </os>
  24.   <features>
  25.     <acpi/>
  26.     <apic/>
  27.     <pae/>
  28.     <kvm>
  29.       <hidden state='on'/>
  30.     </kvm>
  31.   </features>
  32.   <cpu mode='host-passthrough'>
  33.     <topology sockets='1' cores='3' threads='2'/>
  34.   </cpu>
  35.   <clock offset='localtime'>
  36.     <timer name='rtc' tickpolicy='catchup'/>
  37.     <timer name='pit' tickpolicy='delay'/>
  38.     <timer name='hpet' present='no'/>
  39.   </clock>
  40.   <on_poweroff>destroy</on_poweroff>
  41.   <on_reboot>restart</on_reboot>
  42.   <on_crash>restart</on_crash>
  43.   <pm>
  44.     <suspend-to-mem enabled='no'/>
  45.     <suspend-to-disk enabled='no'/>
  46.   </pm>
  47.   <devices>
  48.     <emulator>/usr/sbin/qemu-system-x86_64</emulator>
  49.     <disk type='block' device='disk'>
  50.       <driver name='qemu' type='raw' cache='none'/>
  51.       <source dev='/dev/sdb'/>
  52.       <target dev='vda' bus='virtio'/>
  53.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  54.     </disk>
  55.     <controller type='usb' index='0' model='ich9-ehci1'>
  56.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  57.     </controller>
  58.     <controller type='usb' index='0' model='ich9-uhci1'>
  59.       <master startport='0'/>
  60.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  61.     </controller>
  62.     <controller type='usb' index='0' model='ich9-uhci2'>
  63.       <master startport='2'/>
  64.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  65.     </controller>
  66.     <controller type='usb' index='0' model='ich9-uhci3'>
  67.       <master startport='4'/>
  68.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  69.     </controller>
  70.     <controller type='pci' index='0' model='pci-root'/>
  71.     <interface type='bridge'>
  72.       <mac address='52:54:00:12:34:57'/>
  73.       <source bridge='kvmbr0'/>
  74.       <model type='virtio'/>
  75.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  76.     </interface>
  77.     <hostdev mode='subsystem' type='pci' managed='yes'>
  78.       <source>
  79.         <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  80.       </source>
  81.       <rom bar='on'/>
  82.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  83.     </hostdev>
  84.     <hostdev mode='subsystem' type='pci' managed='yes'>
  85.       <source>
  86.         <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  87.       </source>
  88.       <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
  89.     </hostdev>
  90.     <hostdev mode='subsystem' type='pci' managed='yes'>
  91.       <source>
  92.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  93.       </source>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  95.     </hostdev>
  96.     <hostdev mode='subsystem' type='pci' managed='yes'>
  97.       <source>
  98.         <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
  99.       </source>
  100.       <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  101.     </hostdev>
  102.     <memballoon model='none'/>
  103.   </devices>
  104. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement