All pastes #3020403 Raw Edit

vm config

public unlisted xml v1 · immutable
#3020403 ·published 2015-06-07 11:05 UTC
rendered paste body
<!--WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BEOVERWRITTEN AND LOST. Changes to this xml configuration should be made using:  virsh edit win81or other application using the libvirt API.--><domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>  <name>win81</name>  <uuid>a743449a-9257-4b50-991e-dbab08949efc</uuid>  <memory unit='KiB'>6291456</memory>  <currentMemory unit='KiB'>6291456</currentMemory>  <vcpu placement='static'>6</vcpu>  <cputune>    <vcpupin vcpu='0' cpuset='0'/>    <vcpupin vcpu='1' cpuset='1'/>    <vcpupin vcpu='2' cpuset='2'/>    <vcpupin vcpu='3' cpuset='3'/>    <vcpupin vcpu='4' cpuset='4'/>    <vcpupin vcpu='5' cpuset='5'/>  </cputune>  <os>    <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>    <loader readonly='yes' type='pflash'>/usr/local/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>    <nvram>/var/lib/libvirt/qemu/nvram/win81_VARS.fd</nvram>    <boot dev='hd'/>    <bootmenu enable='yes'/>  </os>  <features>    <acpi/>    <apic/>    <pae/>    <hyperv>      <relaxed state='on'/>      <vapic state='on'/>      <spinlocks state='on' retries='8191'/>    </hyperv>  </features>  <cpu mode='host-passthrough'>    <topology sockets='1' cores='6' threads='1'/>  </cpu>  <clock offset='localtime'>    <timer name='rtc' tickpolicy='catchup'/>    <timer name='pit' tickpolicy='delay'/>    <timer name='hpet' present='no'/>    <timer name='hypervclock' present='yes'/>  </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='cdrom'>      <driver name='qemu' type='raw'/>      <source file='/home/ygorshkov/Загрузки/virt-tools/virtio-win-0.1.96.iso'/>      <target dev='hdb' bus='ide'/>      <readonly/>      <address type='drive' controller='0' bus='0' target='0' unit='1'/>    </disk>    <disk type='file' device='disk'>      <driver name='qemu' type='qcow2'/>      <source file='/mnt/m4/vms/vhd_win81_hd1.qcow2'/>      <target dev='vda' bus='virtio'/>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>    </disk>    <controller type='usb' index='0' model='ich9-ehci1'>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>    </controller>    <controller type='usb' index='0' model='ich9-uhci1'>      <master startport='0'/>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>    </controller>    <controller type='usb' index='0' model='ich9-uhci2'>      <master startport='2'/>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>    </controller>    <controller type='usb' index='0' model='ich9-uhci3'>      <master startport='4'/>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>    </controller>    <controller type='pci' index='0' model='pci-root'/>    <controller type='fdc' index='0'/>    <controller type='ide' index='0'>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>    </controller>    <controller type='virtio-serial' index='0'>      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>    </controller>    <interface type='bridge'>      <mac address='52:54:00:5b:f8:56'/>      <source bridge='br0'/>      <model type='virtio'/>      <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>    <channel type='spicevmc'>      <target type='virtio' name='com.redhat.spice.0'/>      <address type='virtio-serial' controller='0' bus='0' port='1'/>    </channel>    <sound model='ich9'>      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>    </sound>    <hostdev mode='subsystem' type='pci' managed='yes'>      <source>        <address domain='0x0000' bus='0x00' slot='0x13' function='0x0'/>      </source>      <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>    </hostdev>    <hostdev mode='subsystem' type='pci' managed='yes'>      <source>        <address domain='0x0000' bus='0x00' slot='0x13' function='0x2'/>      </source>      <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>    </hostdev>    <hostdev mode='subsystem' type='pci' managed='yes'>      <source>        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>      </source>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>    </hostdev>    <hostdev mode='subsystem' type='pci' managed='yes'>      <source>        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>      </source>      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>    </hostdev>    <redirdev bus='usb' type='spicevmc'>    </redirdev>    <redirdev bus='usb' type='spicevmc'>    </redirdev>    <memballoon model='virtio'>      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>    </memballoon>  </devices>  <qemu:commandline>    <qemu:env name='QEMU_AUDIO_DRV' value='pa'/>    <qemu:env name='QEMU_AUDIO_TIMER_PERIOD' value='100'/>    <qemu:env name='QEMU_AUDIO_DAC_FIXED_SETTINGS' value='1'/>    <qemu:env name='QEMU_AUDIO_DAC_FIXED_FREQ' value='48000'/>    <qemu:env name='QEMU_AUDIO_DAC_FIXED_FMT' value='S16'/>    <qemu:env name='QEMU_AUDIO_DAC_FIXED_CHANNELS' value='2'/>    <qemu:env name='QEMU_AUDIO_DAC_VOICES' value='1'/>    <qemu:env name='QEMU_AUDIO_DAC_TRY_POLL' value='0'/>    <qemu:env name='QEMU_AUDIO_ADC_FIXED_SETTINGS' value='1'/>    <qemu:env name='QEMU_AUDIO_ACD_FIXED_FREQ' value='48000'/>    <qemu:env name='QEMU_AUDIO_ADC_FIXED_FMT' value='S16'/>    <qemu:env name='QEMU_AUDIO_ADC_FIXED_CHANNELS' value='1'/>    <qemu:env name='QEMU_AUDIO_ADC_VOICES' value='1'/>    <qemu:env name='QEMU_AUDIO_ADC_TRY_POLL' value='0'/>    <qemu:env name='QEMU_PA_SAMPLES' value='480'/>  </qemu:commandline></domain>