diff options
Diffstat (limited to 'hosts/iroha/libvirt')
| -rw-r--r-- | hosts/iroha/libvirt/qemu/corpa.xml | 34 | ||||
| -rw-r--r-- | hosts/iroha/libvirt/qemu/soy.xml | 30 | ||||
| -rw-r--r-- | hosts/iroha/libvirt/qemu/xp.xml | 142 |
3 files changed, 182 insertions, 24 deletions
diff --git a/hosts/iroha/libvirt/qemu/corpa.xml b/hosts/iroha/libvirt/qemu/corpa.xml index ca5c6d0..fb884f0 100644 --- a/hosts/iroha/libvirt/qemu/corpa.xml +++ b/hosts/iroha/libvirt/qemu/corpa.xml @@ -13,16 +13,16 @@ or other application using the libvirt API. <libosinfo:os id="http://microsoft.com/win/11"/> </libosinfo:libosinfo> </metadata> - <memory unit='KiB'>8388608</memory> - <currentMemory unit='KiB'>8388608</currentMemory> + <memory unit='KiB'>12582912</memory> + <currentMemory unit='KiB'>12582912</currentMemory> <memoryBacking> <source type='memfd'/> <access mode='shared'/> </memoryBacking> - <vcpu placement='static'>4</vcpu> + <vcpu placement='static'>6</vcpu> <iothreads>1</iothreads> <os firmware='efi'> - <type arch='x86_64' machine='pc-q35-9.0'>hvm</type> + <type arch='x86_64' machine='pc-q35-9.1'>hvm</type> <firmware> <feature enabled='no' name='enrolled-keys'/> <feature enabled='no' name='secure-boot'/> @@ -54,7 +54,7 @@ or other application using the libvirt API. <msrs unknown='ignore'/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> - <topology sockets='1' dies='1' clusters='1' cores='4' threads='1'/> + <topology sockets='1' dies='1' clusters='1' cores='6' threads='1'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> <feature policy='require' name='hypervisor'/> @@ -87,14 +87,7 @@ or other application using the libvirt API. </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> - <source file='/home/andrew/isos/virtio-win-0.1.240.iso'/> - <target dev='sdc' bus='sata'/> - <readonly/> - <address type='drive' controller='0' bus='0' target='0' unit='2'/> - </disk> - <disk type='file' device='cdrom'> - <driver name='qemu' type='raw'/> - <source file='/home/andrew/isos/virtio-win-0.1.248.iso'/> + <source file='/home/andrew/isos/virtio-win-0.1.262.iso'/> <target dev='sdd' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> @@ -180,6 +173,15 @@ or other application using the libvirt API. <target chassis='14' port='0x1d'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/> </controller> + <controller type='pci' index='15' model='pcie-root-port'> + <model name='pcie-root-port'/> + <target chassis='15' port='0x1e'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/> + </controller> + <controller type='pci' index='16' model='pcie-to-pci-bridge'> + <model name='pcie-pci-bridge'/> + <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> + </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> @@ -189,7 +191,7 @@ or other application using the libvirt API. <filesystem type='mount' accessmode='passthrough'> <driver type='virtiofs' queue='1024'/> <binary path='/usr/libexec/virtiofsd' xattr='on'/> - <source dir='/mnt/ssd/SteamLibrary/steamapps/common'/> + <source dir='/mnt/hdd/Roms'/> <target dir='SteamLibraryA'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> </filesystem> @@ -230,8 +232,8 @@ or other application using the libvirt API. <listen type='address' address='0.0.0.0'/> <gl enable='no'/> </graphics> - <sound model='ich9'> - <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> + <sound model='ich6'> + <address type='pci' domain='0x0000' bus='0x10' slot='0x01' function='0x0'/> </sound> <audio id='1' type='spice'/> <video> diff --git a/hosts/iroha/libvirt/qemu/soy.xml b/hosts/iroha/libvirt/qemu/soy.xml index 52ed042..63b8b2a 100644 --- a/hosts/iroha/libvirt/qemu/soy.xml +++ b/hosts/iroha/libvirt/qemu/soy.xml @@ -13,15 +13,15 @@ or other application using the libvirt API. <libosinfo:os id="http://ubuntu.com/ubuntu/23.04"/> </libosinfo:libosinfo> </metadata> - <memory unit='KiB'>8388608</memory> - <currentMemory unit='KiB'>8388608</currentMemory> + <memory unit='KiB'>12582912</memory> + <currentMemory unit='KiB'>12582912</currentMemory> <memoryBacking> <source type='memfd'/> <access mode='shared'/> </memoryBacking> - <vcpu placement='static'>4</vcpu> + <vcpu placement='static'>6</vcpu> <os> - <type arch='x86_64' machine='pc-q35-9.0'>hvm</type> + <type arch='x86_64' machine='pc-q35-9.1'>hvm</type> </os> <features> <acpi/> @@ -29,12 +29,12 @@ or other application using the libvirt API. <vmport state='off'/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> - <topology sockets='1' dies='1' clusters='1' cores='4' threads='1'/> + <topology sockets='1' dies='1' clusters='1' cores='6' threads='1'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> <feature policy='require' name='invtsc'/> + <feature policy='require' name='svm'/> <feature policy='disable' name='monitor'/> - <feature policy='disable' name='svm'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> @@ -174,14 +174,28 @@ or other application using the libvirt API. <input type='keyboard' bus='ps2'/> <graphics type='spice' port='5900' autoport='no' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> - <gl enable='no'/> + <channel name='main' mode='insecure'/> + <channel name='record' mode='insecure'/> + <image compression='auto_glz'/> + <jpeg compression='never'/> + <zlib compression='auto'/> + <playback compression='on'/> + <streaming mode='filter'/> + <clipboard copypaste='yes'/> + <filetransfer enable='no'/> + </graphics> + <graphics type='egl-headless'> + <gl rendernode='/dev/dri/renderD128'/> </graphics> <sound model='ich9'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/> </sound> <audio id='1' type='spice'/> <video> - <model type='virtio' heads='1' primary='yes'/> + <driver iommu='on' ats='on' packed='on'/> + <model type='virtio' heads='1' primary='yes'> + <acceleration accel3d='yes'/> + </model> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <redirdev bus='usb' type='spicevmc'> diff --git a/hosts/iroha/libvirt/qemu/xp.xml b/hosts/iroha/libvirt/qemu/xp.xml new file mode 100644 index 0000000..6549f0d --- /dev/null +++ b/hosts/iroha/libvirt/qemu/xp.xml @@ -0,0 +1,142 @@ +<!-- +WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE +OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: + virsh edit xp +or other application using the libvirt API. +--> + +<domain type='kvm'> + <name>xp</name> + <uuid>24263fff-8e17-4aa7-9868-56c04c9782c0</uuid> + <metadata> + <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> + <libosinfo:os id="http://microsoft.com/win/xp"/> + </libosinfo:libosinfo> + </metadata> + <memory unit='KiB'>1048576</memory> + <currentMemory unit='KiB'>1048576</currentMemory> + <memoryBacking> + <source type='memfd'/> + <access mode='shared'/> + </memoryBacking> + <vcpu placement='static'>2</vcpu> + <os> + <type arch='x86_64' machine='pc-i440fx-9.1'>hvm</type> + <boot dev='hd'/> + </os> + <features> + <acpi/> + <apic/> + <hyperv mode='custom'> + <relaxed state='on'/> + <vapic state='on'/> + <spinlocks state='on' retries='8191'/> + </hyperv> + <vmport state='off'/> + </features> + <cpu mode='host-passthrough' check='none' migratable='on'> + <topology sockets='1' dies='1' clusters='1' cores='2' 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>destroy</on_crash> + <pm> + <suspend-to-mem enabled='no'/> + <suspend-to-disk enabled='no'/> + </pm> + <devices> + <emulator>/usr/bin/qemu-system-x86_64</emulator> + <disk type='file' device='disk'> + <driver name='qemu' type='qcow2' discard='unmap'/> + <source file='/var/lib/libvirt/images/xp.qcow2'/> + <target dev='hda' bus='ide'/> + <address type='drive' controller='0' bus='0' target='0' unit='0'/> + </disk> + <disk type='file' device='cdrom'> + <driver name='qemu' type='raw'/> + <source file='/home/andrew/isos/en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso'/> + <target dev='hdb' bus='ide'/> + <readonly/> + <address type='drive' controller='0' bus='0' target='0' unit='1'/> + </disk> + <disk type='file' device='cdrom'> + <driver name='qemu' type='raw'/> + <source file='/home/andrew/isos/virtio-win-0.1.262.iso'/> + <target dev='hdc' bus='ide'/> + <readonly/> + <address type='drive' controller='0' bus='1' target='0' unit='0'/> + </disk> + <controller type='usb' index='0' model='ich9-ehci1'> + <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/> + </controller> + <controller type='usb' index='0' model='ich9-uhci1'> + <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'> + <master startport='2'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> + </controller> + <controller type='usb' index='0' model='ich9-uhci3'> + <master startport='4'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x05' 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> + <controller type='virtio-serial' index='0'> + <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> + </controller> + <interface type='bridge'> + <mac address='52:54:00:a7:04:e8'/> + <source bridge='virbr0'/> + <model type='virtio'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> + </interface> + <serial type='pty'> + <target type='isa-serial' port='0'> + <model name='isa-serial'/> + </target> + </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> + <input type='tablet' bus='usb'> + <address type='usb' bus='0' port='1'/> + </input> + <input type='mouse' bus='ps2'/> + <input type='keyboard' bus='ps2'/> + <graphics type='spice' autoport='yes' listen='0.0.0.0'> + <listen type='address' address='0.0.0.0'/> + <gl enable='no'/> + </graphics> + <sound model='ac97'> + <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> + </sound> + <audio id='1' type='spice'/> + <video> + <model type='qxl' ram='65536' vram='65536' vgamem='32768' heads='1' primary='yes'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> + </video> + <redirdev bus='usb' type='spicevmc'> + <address type='usb' bus='0' port='2'/> + </redirdev> + <redirdev bus='usb' type='spicevmc'> + <address type='usb' bus='0' port='3'/> + </redirdev> + <memballoon model='virtio'> + <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> + </memballoon> + </devices> +</domain> |