Created
July 13, 2015 05:26
-
-
Save anonymous/ea10f5c8eb69d5acfc35 to your computer and use it in GitHub Desktop.
win.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm' id='22'> | |
<name>win7</name> | |
<uuid>7751e1bb-fb94-4002-beab-e7e92bf13b18</uuid> | |
<memory unit='KiB'>8388608</memory> | |
<currentMemory unit='KiB'>8388608</currentMemory> | |
<memoryBacking> | |
<hugepages/> | |
</memoryBacking> | |
<vcpu placement='static'>4</vcpu> | |
<cputune> | |
<vcpupin vcpu='0' cpuset='2'/> | |
<vcpupin vcpu='1' cpuset='3'/> | |
<vcpupin vcpu='2' cpuset='6'/> | |
<vcpupin vcpu='3' cpuset='7'/> | |
</cputune> | |
<resource> | |
<partition>/machine</partition> | |
</resource> | |
<os> | |
<type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> | |
<boot dev='hd'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<pae/> | |
</features> | |
<cpu mode='custom' match='exact'> | |
<model fallback='allow'>Haswell</model> | |
<vendor>Intel</vendor> | |
<topology sockets='1' cores='2' threads='2'/> | |
</cpu> | |
<clock offset='localtime'> | |
<timer name='rtc' tickpolicy='catchup'/> | |
<timer name='pit' tickpolicy='delay'/> | |
<timer name='hpet' present='no'/> | |
</clock> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>restart</on_crash> | |
<pm> | |
<suspend-to-mem enabled='no'/> | |
<suspend-to-disk enabled='no'/> | |
</pm> | |
<devices> | |
<emulator>/usr/sbin/qemu-system-x86_64</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2'/> | |
<source file='/home/lain/.local/libvirt/images/win7.qcow2'/> | |
<backingStore/> | |
<target dev='vda' bus='virtio'/> | |
<alias name='virtio-disk0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
</disk> | |
<disk type='block' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source dev='/dev/sr0'/> | |
<backingStore/> | |
<target dev='hdb' bus='ide'/> | |
<readonly/> | |
<alias name='ide0-0-1'/> | |
<address type='drive' controller='0' bus='0' target='0' unit='1'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file='/var/lib/libvirt/images/virtuo.iso'/> | |
<backingStore/> | |
<target dev='hdc' bus='ide'/> | |
<readonly/> | |
<alias name='ide0-1-0'/> | |
<address type='drive' controller='0' bus='1' target='0' unit='0'/> | |
</disk> | |
<controller type='usb' index='0' model='ich9-ehci1'> | |
<alias name='usb'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-uhci1'> | |
<alias name='usb'/> | |
<master startport='0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-uhci2'> | |
<alias name='usb'/> | |
<master startport='2'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> | |
</controller> | |
<controller type='usb' index='0' model='ich9-uhci3'> | |
<alias name='usb'/> | |
<master startport='4'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/> | |
</controller> | |
<controller type='pci' index='0' model='pci-root'> | |
<alias name='pci.0'/> | |
</controller> | |
<controller type='ide' index='0'> | |
<alias name='ide'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> | |
</controller> | |
<interface type='bridge'> | |
<mac address='52:54:00:71:46:f2'/> | |
<source bridge='docker0'/> | |
<target dev='vnet0'/> | |
<model type='rtl8139'/> | |
<alias name='net0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | |
</interface> | |
<serial type='pty'> | |
<source path='/dev/pts/0'/> | |
<target port='0'/> | |
<alias name='serial0'/> | |
</serial> | |
<console type='pty' tty='/dev/pts/0'> | |
<source path='/dev/pts/0'/> | |
<target type='serial' port='0'/> | |
<alias name='serial0'/> | |
</console> | |
<input type='mouse' bus='ps2'/> | |
<input type='keyboard' bus='ps2'/> | |
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'> | |
<listen type='address' address='127.0.0.1'/> | |
</graphics> | |
<video> | |
<model type='vga' vram='16384' heads='1'/> | |
<alias name='video0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
</video> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<driver name='vfio'/> | |
<source> | |
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> | |
</source> | |
<alias name='hostdev0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<driver name='vfio'/> | |
<source> | |
<address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> | |
</source> | |
<alias name='hostdev1'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> | |
</hostdev> | |
<hostdev mode='subsystem' type='pci' managed='yes'> | |
<driver name='vfio'/> | |
<source> | |
<address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> | |
</source> | |
<alias name='hostdev2'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> | |
</hostdev> | |
<memballoon model='virtio'> | |
<alias name='balloon0'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | |
</memballoon> | |
</devices> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment