Last active
November 8, 2015 18:10
-
-
Save matrixd/2d54f5beac0e47caa52c to your computer and use it in GitHub Desktop.
win7 kvm
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'> | |
<name>win7</name> | |
<uuid>109227f0-620d-08e6-f4a0-a6ab434d8438</uuid> | |
<description>Test VM</description> | |
<memory unit='KiB'>3906250</memory> | |
<currentMemory unit='KiB'>3906250</currentMemory> | |
<vcpu placement='static'>4</vcpu> | |
<os> | |
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type> | |
<boot dev='hd'/> | |
</os> | |
<features> | |
<acpi/> | |
<apic/> | |
<pae/> | |
</features> | |
<cpu> | |
<topology sockets='1' cores='4' threads='1'/> | |
</cpu> | |
<clock offset='localtime'/> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>restart</on_crash> | |
<devices> | |
<emulator>/usr/bin/qemu-system-x86_64</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2' cache='writeback'/> | |
<source file='/var/lib/libvirt/images/win7-test.qcow2'/> | |
<target dev='vda' bus='virtio'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> | |
</disk> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='qcow2'/> | |
<source file='/var/lib/libvirt/images/ntfs-ext.qcow2'/> | |
<target dev='vdb' bus='virtio'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file='/mnt/media/Stuff/Soft/xubuntu-14.04.1-desktop-amd64.iso'/> | |
<target dev='hda' bus='ide'/> | |
<readonly/> | |
<address type='drive' controller='0' bus='1' target='0' unit='0'/> | |
</disk> | |
<disk type='file' device='cdrom'> | |
<driver name='qemu' type='raw'/> | |
<source file='/home/m0x35/Загрузки/virtio-win-drivers-20120712-1.iso'/> | |
<target dev='hdc' bus='ide'/> | |
<readonly/> | |
<address type='drive' controller='0' bus='1' target='0' unit='1'/> | |
</disk> | |
<controller type='usb' index='0'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> | |
</controller> | |
<controller type='pci' index='0' model='pci-root'/> | |
<controller type='ide' index='0'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> | |
</controller> | |
<interface type='network'> | |
<mac address='52:54:00:02:dd:c8'/> | |
<source network='default'/> | |
<model type='rtl8139'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> | |
</interface> | |
<serial type='pty'> | |
<target port='0'/> | |
</serial> | |
<console type='pty'> | |
<target type='serial' port='0'/> | |
</console> | |
<input type='tablet' bus='usb'/> | |
<input type='mouse' bus='ps2'/> | |
<input type='keyboard' bus='ps2'/> | |
<graphics type='spice' port='5913' autoport='no' listen='127.0.0.1'> | |
<listen type='address' address='127.0.0.1'/> | |
</graphics> | |
<video> | |
<model type='qxl' ram='265536' vram='265536' heads='1'/> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> | |
</video> | |
<memballoon model='virtio'> | |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> | |
</memballoon> | |
</devices> | |
</domain> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment