Initial commit
This commit is contained in:
commit
1517a5ab38
|
@ -0,0 +1,110 @@
|
|||
<domain type="kvm">
|
||||
<name>template</name>
|
||||
<metadata>
|
||||
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||
<libosinfo:os id="http://libosinfo.org/linux/2022"/>
|
||||
</libosinfo:libosinfo>
|
||||
</metadata>
|
||||
<memory unit="GiB">4</memory>
|
||||
<currentMemory unit="GiB">4</currentMemory>
|
||||
<vcpu placement="static">2</vcpu>
|
||||
<os firmware="efi">
|
||||
<type arch="x86_64" machine="q35">hvm</type>
|
||||
<firmware>
|
||||
<feature enabled="no" name="enrolled-keys"/>
|
||||
<feature enabled="yes" name="secure-boot"/>
|
||||
</firmware>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic eoi="on"/>
|
||||
<kvm>
|
||||
<hint-dedicated state="on"/>
|
||||
<poll-control state="on"/>
|
||||
<pv-ipi state="on"/>
|
||||
<dirty-ring state="on" size="4096"/>
|
||||
</kvm>
|
||||
<vmport state="off"/>
|
||||
<smm state="on"/>
|
||||
<ioapic driver="kvm"/>
|
||||
</features>
|
||||
<cpu mode="host-passthrough" check="full" migratable="off">
|
||||
<feature policy="require" name="pcid"/>
|
||||
<feature policy="require" name="spec-ctrl"/>
|
||||
<feature policy="require" name="stibp"/>
|
||||
<feature policy="require" name="ssbd"/>
|
||||
<feature policy="require" name="pdpe1gb"/>
|
||||
<feature policy="require" name="md-clear"/>
|
||||
<feature policy="require" name="invtsc"/>
|
||||
</cpu>
|
||||
<clock offset="utc">
|
||||
<timer name="kvmclock"/>
|
||||
<timer name="rtc" tickpolicy="catchup"/>
|
||||
<timer name="pit" tickpolicy="delay"/>
|
||||
<timer name="hpet" present="no"/>
|
||||
<timer name="tsc" mode="native"/>
|
||||
</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/bin/qemu-system-x86_64</emulator>
|
||||
<disk type="network" device="disk">
|
||||
<driver name="qemu" type="raw" cache="writeback" io="io_uring" discard="unmap"/>
|
||||
<auth username="libvirt">
|
||||
<secret type="ceph" uuid="dda829f3-4c28-41b8-b1fb-59ecf92a8928"/>
|
||||
</auth>
|
||||
<source protocol="rbd" name="libvirt/root">
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fe53:8b67' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fee3:9e84' port='3300'/>
|
||||
</source>
|
||||
<target dev="vda" bus="virtio"/>
|
||||
<boot order="2"/>
|
||||
</disk>
|
||||
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
<image compression='auto_glz'/>
|
||||
</graphics>
|
||||
<graphics type='egl-headless'/>
|
||||
<sound model='ich9'/>
|
||||
<audio id='1' type='spice'/>
|
||||
<video>
|
||||
<model type='virtio' heads='1' primary='yes'>
|
||||
<acceleration accel3d='yes'/>
|
||||
</model>
|
||||
</video>
|
||||
<input type='keyboard' bus='virtio'/>
|
||||
<input type='tablet' bus='virtio'/>
|
||||
<controller type="virtio-serial" index="0">
|
||||
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
|
||||
</controller>
|
||||
<interface type="network">
|
||||
<source network="v6:b00b"/>
|
||||
<model type="virtio"/>
|
||||
</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="unix">
|
||||
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||
</channel>
|
||||
<tpm model="tpm-crb">
|
||||
<backend type="emulator" version="2.0"/>
|
||||
</tpm>
|
||||
<watchdog model="itco" action="reset"/>
|
||||
<memballoon model="virtio">
|
||||
</memballoon>
|
||||
<rng model="virtio">
|
||||
<backend model="random">/dev/urandom</backend>
|
||||
</rng>
|
||||
</devices>
|
||||
</domain>
|
|
@ -0,0 +1,198 @@
|
|||
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
||||
<name>macOS</name>
|
||||
<uuid>2aca0dd6-cec9-4717-9ab2-0b7b13d111c3</uuid>
|
||||
<title>macOS</title>
|
||||
<metadata>
|
||||
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||
<libosinfo:os id="http://freebsd.org/freebsd/13.1"/>
|
||||
</libosinfo:libosinfo>
|
||||
</metadata>
|
||||
<memory unit='KiB'>8388608</memory>
|
||||
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||
<vcpu placement='static'>8</vcpu>
|
||||
<os firmware='efi'>
|
||||
<type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
|
||||
<firmware>
|
||||
<feature enabled='no' name='enrolled-keys'/>
|
||||
<feature enabled='no' name='secure-boot'/>
|
||||
</firmware>
|
||||
<loader readonly='yes' secure='no' type='pflash'>/usr/share/qemu/edk2-x86_64-code.fd</loader>
|
||||
<nvram template='/usr/share/qemu/edk2-i386-vars.fd'>/var/lib/libvirt/qemu/nvram/macOS_VARS.fd</nvram>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic eoi='on'/>
|
||||
<vmport state='off'/>
|
||||
<smm state='on'/>
|
||||
<ioapic driver='kvm'/>
|
||||
<msrs unknown='ignore'/>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='none' migratable='on'>
|
||||
<topology sockets='1' dies='1' clusters='1' cores='4' threads='2'/>
|
||||
<cache mode='passthrough'/>
|
||||
</cpu>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
<timer name='hpet' present='no'/>
|
||||
<timer name='tsc' mode='native'/>
|
||||
</clock>
|
||||
<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='network' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='writethrough' io='io_uring' discard='unmap'/>
|
||||
<auth username='libvirt'>
|
||||
<secret type='ceph' uuid='dda829f3-4c28-41b8-b1fb-59ecf92a8928'/>
|
||||
</auth>
|
||||
<source protocol='rbd' name='libvirt/OpenCore'>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fe53:8b67' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fee3:9e84' port='3300'/>
|
||||
</source>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
<boot order='1'/>
|
||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||
</disk>
|
||||
<disk type='network' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='writethrough' io='io_uring' discard='unmap'/>
|
||||
<auth username='libvirt'>
|
||||
<secret type='ceph' uuid='dda829f3-4c28-41b8-b1fb-59ecf92a8928'/>
|
||||
</auth>
|
||||
<source protocol='rbd' name='libvirt/macOS'>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fe53:8b67' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fee3:9e84' port='3300'/>
|
||||
</source>
|
||||
<target dev='vdb' bus='virtio'/>
|
||||
<boot order='2'/>
|
||||
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||
</disk>
|
||||
<disk type='network' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='writethrough' io='io_uring' discard='unmap'/>
|
||||
<auth username='libvirt'>
|
||||
<secret type='ceph' uuid='dda829f3-4c28-41b8-b1fb-59ecf92a8928'/>
|
||||
</auth>
|
||||
<source protocol='rbd' name='libvirt/macOS-13-Ventura'>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fe53:8b67' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fee3:9e84' port='3300'/>
|
||||
</source>
|
||||
<target dev='vdc' bus='virtio'/>
|
||||
<boot order='3'/>
|
||||
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||
</disk>
|
||||
<controller type='sata' index='0'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pcie-root'/>
|
||||
<controller type='pci' index='1' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='1' port='0x8'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
|
||||
</controller>
|
||||
<controller type='pci' index='2' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='2' port='0x9'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
||||
</controller>
|
||||
<controller type='pci' index='3' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='3' port='0xa'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='4' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='4' port='0xb'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
|
||||
</controller>
|
||||
<controller type='pci' index='5' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='5' port='0xc'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
|
||||
</controller>
|
||||
<controller type='pci' index='6' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='6' port='0xd'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
|
||||
</controller>
|
||||
<controller type='pci' index='7' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='7' port='0xe'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
|
||||
</controller>
|
||||
<controller type='virtio-serial' index='0'>
|
||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||
</controller>
|
||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
|
||||
</controller>
|
||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
||||
<master startport='0'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
|
||||
</controller>
|
||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
||||
<master startport='2'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
|
||||
</controller>
|
||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
||||
<master startport='4'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
|
||||
</controller>
|
||||
<interface type='network'>
|
||||
<mac address='10:1c:0c:a2:16:fe'/>
|
||||
<source network='v6:b00b'/>
|
||||
<model type='virtio'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
|
||||
</interface>
|
||||
<interface type='network'>
|
||||
<mac address='10:1c:0c:a2:16:fc'/>
|
||||
<source network='home'/>
|
||||
<model type='virtio'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' 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>
|
||||
<input type='tablet' bus='usb'>
|
||||
<address type='usb' bus='0' port='4'/>
|
||||
</input>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='usb'>
|
||||
<address type='usb' bus='0' port='5'/>
|
||||
</input>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<graphics type='spice' autoport='yes' listen='::'>
|
||||
<listen type='address' address='::'/>
|
||||
<image compression='quic'/>
|
||||
<gl enable='no'/>
|
||||
</graphics>
|
||||
<graphics type='egl-headless'/>
|
||||
<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'>
|
||||
<acceleration accel3d='yes'/>
|
||||
</model>
|
||||
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||
</video>
|
||||
<redirdev bus='usb' type='spicevmc'>
|
||||
<address type='usb' bus='0' port='1'/>
|
||||
</redirdev>
|
||||
<watchdog model='itco' action='reset'/>
|
||||
<memballoon model='none'/>
|
||||
</devices>
|
||||
<qemu:commandline>
|
||||
<qemu:arg value='-device'/>
|
||||
<qemu:arg value='isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'/>
|
||||
<qemu:arg value='-smbios'/>
|
||||
<qemu:arg value='type=2'/>
|
||||
</qemu:commandline>
|
||||
</domain>
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
<domain type="kvm">
|
||||
<name>template</name>
|
||||
<metadata>
|
||||
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||
<libosinfo:os id="http://libosinfo.org/linux/2022"/>
|
||||
</libosinfo:libosinfo>
|
||||
</metadata>
|
||||
<memory unit="GiB">4</memory>
|
||||
<currentMemory unit="GiB">4</currentMemory>
|
||||
<vcpu placement="static">2</vcpu>
|
||||
<os firmware="efi">
|
||||
<type arch="x86_64" machine="q35">hvm</type>
|
||||
<firmware>
|
||||
<feature enabled="no" name="enrolled-keys"/>
|
||||
<feature enabled="yes" name="secure-boot"/>
|
||||
</firmware>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic eoi="on"/>
|
||||
<kvm>
|
||||
<hint-dedicated state="on"/>
|
||||
<poll-control state="on"/>
|
||||
<pv-ipi state="on"/>
|
||||
<dirty-ring state="on" size="4096"/>
|
||||
</kvm>
|
||||
<vmport state="off"/>
|
||||
<smm state="on"/>
|
||||
<ioapic driver="kvm"/>
|
||||
</features>
|
||||
<cpu mode="host-passthrough" check="full" migratable="off">
|
||||
<feature policy="require" name="pcid"/>
|
||||
<feature policy="require" name="spec-ctrl"/>
|
||||
<feature policy="require" name="stibp"/>
|
||||
<feature policy="require" name="ssbd"/>
|
||||
<feature policy="require" name="pdpe1gb"/>
|
||||
<feature policy="require" name="md-clear"/>
|
||||
<feature policy="require" name="invtsc"/>
|
||||
</cpu>
|
||||
<clock offset="utc">
|
||||
<timer name="kvmclock"/>
|
||||
<timer name="rtc" tickpolicy="catchup"/>
|
||||
<timer name="pit" tickpolicy="delay"/>
|
||||
<timer name="hpet" present="no"/>
|
||||
<timer name="tsc" mode="native"/>
|
||||
</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/bin/qemu-system-x86_64</emulator>
|
||||
<disk type="network" device="disk">
|
||||
<driver name="qemu" type="raw" cache="none" io="io_uring" discard="unmap"/>
|
||||
<auth username="libvirt">
|
||||
<secret type="ceph" uuid="dda829f3-4c28-41b8-b1fb-59ecf92a8928"/>
|
||||
</auth>
|
||||
<source protocol="rbd" name="libvirt/template">
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fe53:8b67' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:921b:eff:fee3:9e84' port='3300'/>
|
||||
</source>
|
||||
<target dev="vda" bus="virtio"/>
|
||||
<boot order="2"/>
|
||||
</disk>
|
||||
<controller type="virtio-serial" index="0">
|
||||
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
|
||||
</controller>
|
||||
<interface type="network">
|
||||
<source network="v6:b00b"/>
|
||||
<model type="virtio"/>
|
||||
</interface>
|
||||
<serial type="pty">
|
||||
<target type="isa-serial" port="0">
|
||||
<model name="isa-serial"/>
|
||||
</target>
|
||||
</serial>
|
||||
<video>
|
||||
<model type='none'/>
|
||||
</video>
|
||||
<audio id='1' type='none'/>
|
||||
<console type="pty">
|
||||
<target type="serial" port="0"/>
|
||||
</console>
|
||||
<channel type="unix">
|
||||
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||
</channel>
|
||||
<tpm model="tpm-crb">
|
||||
<backend type="emulator" version="2.0"/>
|
||||
</tpm>
|
||||
<watchdog model="itco" action="reset"/>
|
||||
<memballoon model="virtio">
|
||||
</memballoon>
|
||||
<rng model="virtio">
|
||||
<backend model="random">/dev/urandom</backend>
|
||||
</rng>
|
||||
</devices>
|
||||
</domain>
|
|
@ -0,0 +1,90 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- vJunosEvolved baseline XML -->
|
||||
|
||||
<!-- Copyright (c) 2023, Juniper Networks, Inc. -->
|
||||
<!-- All rights reserved. -->
|
||||
|
||||
<domain xmlns:ns0="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
|
||||
<name>vJunosEvolved</name>
|
||||
<memory unit="KiB">8388608</memory>
|
||||
<currentMemory unit="KiB">8388608</currentMemory>
|
||||
<vcpu placement="static">4</vcpu>
|
||||
<resource>
|
||||
<partition>/machine</partition>
|
||||
</resource>
|
||||
<os>
|
||||
<type arch="x86_64">hvm</type>
|
||||
<boot dev="hd"/>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<pae/>
|
||||
</features>
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>IvyBridge</model>
|
||||
<topology cores="4" sockets="1" threads="1"/>
|
||||
<model fallback="allow">qemu64</model>
|
||||
<feature name="vmx" policy="require"/>
|
||||
</cpu>
|
||||
<clock offset="utc"/>
|
||||
<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 device="disk" type="file">
|
||||
<driver cache="writeback" name="qemu" type="qcow2"/>
|
||||
<source file="/root/vJunosEvolved-live.qcow2"/>
|
||||
<target dev="vda" bus="virtio"/>
|
||||
</disk>
|
||||
<disk device="disk" type="file">
|
||||
<driver cache="writeback" name="qemu" type="raw"/>
|
||||
<source file="/root/config.qcow2"/>
|
||||
<target dev="sda" bus="usb"/>
|
||||
</disk>
|
||||
<controller index="0" model="pci-root" type="pci">
|
||||
<alias name="pci.0"/>
|
||||
</controller>
|
||||
<interface type='direct'>
|
||||
<source dev='eno1' mode='bridge'/>
|
||||
<model type="virtio"/>
|
||||
<alias name="net0"/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
||||
</interface>
|
||||
<interface type="bridge">
|
||||
<source bridge="et000"/>
|
||||
<model type="virtio"/>
|
||||
<alias name="et000"/>
|
||||
<mtu size='9600'/>
|
||||
<address bus="0x00" domain="0x0000" function="0x0" slot="0x04" type="pci"/>
|
||||
</interface>
|
||||
<interface type="bridge">
|
||||
<source bridge="et001"/>
|
||||
<model type="virtio"/>
|
||||
<alias name="et001"/>
|
||||
<mtu size='9600'/>
|
||||
<address bus="0x00" domain="0x0000" function="0x0" slot="0x05" type="pci"/>
|
||||
</interface>
|
||||
<serial type="tcp">
|
||||
<source host="127.0.0.1" mode="bind" service="8610"/>
|
||||
<protocol type="telnet"/>
|
||||
<target port="0"/>
|
||||
<alias name="serial0"/>
|
||||
</serial>
|
||||
<memballoon model="virtio">
|
||||
<alias name="balloon0"/>
|
||||
<address bus="0x00" domain="0x0000" function="0x0" slot="0x06" type="pci"/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
<ns0:commandline>
|
||||
<ns0:arg value="-smbios"/>
|
||||
<ns0:arg value="type=0,vendor=Bochs,version=Bochs"/>
|
||||
<ns0:arg value="-smbios"/>
|
||||
<ns0:arg value="type=3,manufacturer=Bochs"/>
|
||||
<ns0:arg value="-smbios"/>
|
||||
<ns0:arg value="type=1,manufacturer=Bochs,product=Bochs,serial=chassis_no=0:slot=0:type=1:assembly_id=0x0D20:platform=251:master=0:channelized=no"/>
|
||||
</ns0:commandline>
|
||||
</domain>
|
|
@ -0,0 +1,243 @@
|
|||
<domain type='kvm'>
|
||||
<name>win10plus</name>
|
||||
<memory unit='GiB'>4</memory>
|
||||
<currentMemory unit='GiB'>4</currentMemory>
|
||||
<vcpu placement='static'>16</vcpu>
|
||||
<os firmware='efi'>
|
||||
<type arch='x86_64' machine='q35'>hvm</type>
|
||||
<firmware>
|
||||
<feature enabled='no' name='enrolled-keys'/>
|
||||
<feature enabled='yes' name='secure-boot'/>
|
||||
</firmware>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<hyperv mode='passthrough'>
|
||||
</hyperv>
|
||||
<vmport state='off'/>
|
||||
<smm state='on'/>
|
||||
<ioapic driver='kvm'/>
|
||||
</features>
|
||||
<cpu mode='host-passthrough' check='full' >
|
||||
<topology sockets='1' dies='1' cores='8' threads='2'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='spec-ctrl'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='invtsc'/>
|
||||
</cpu>
|
||||
<clock offset='localtime'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
<timer name='hpet' present='no'/>
|
||||
<timer name='kvmclock' present='no'/>
|
||||
<timer name='hypervclock' present='yes'/>
|
||||
<timer name='tsc' mode='native'/>
|
||||
</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='network' device='cdrom'>
|
||||
<driver name='qemu' type='raw' cache='writeback' io='io_uring'/>
|
||||
<auth username='libvirt'>
|
||||
<secret type='ceph' uuid='dda829f3-4c28-41b8-b1fb-59ecf92a8928'/>
|
||||
</auth>
|
||||
<source protocol='rbd' name='libvirt/virtio-win-0.1.229.iso'>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe42:9677' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe33:bd4b' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe35:473c' port='3300'/>
|
||||
</source>
|
||||
<target dev='sda' bus='sata'/>
|
||||
<readonly/>
|
||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
||||
</disk>
|
||||
<disk type='network' device='cdrom'>
|
||||
<driver name='qemu' type='raw' cache='writethrough' io='io_uring'/>
|
||||
<auth username='libvirt'>
|
||||
<secret type='ceph' uuid='dda829f3-4c28-41b8-b1fb-59ecf92a8928'/>
|
||||
</auth>
|
||||
<source protocol='rbd' name='libvirt/SW_DVD9_Win_Pro_11_23H2_64BIT_English_Pro_Ent_EDU_N_MLF_X23-59562.ISO'>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe42:9677' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe33:bd4b' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe35:473c' port='3300'/>
|
||||
</source>
|
||||
<target dev='sdb' bus='scsi'/>
|
||||
<readonly/>
|
||||
<boot order='1'/>
|
||||
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
|
||||
</disk>
|
||||
<disk type='network' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='writethrough' io='io_uring' discard='unmap' queues='32' packed='on'/>
|
||||
<auth username='libvirt'>
|
||||
<secret type='ceph' uuid='dda829f3-4c28-41b8-b1fb-59ecf92a8928'/>
|
||||
</auth>
|
||||
<source protocol='rbd' name='libvirt/win11-data'>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe42:9677' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe33:bd4b' port='3300'/>
|
||||
<host name='2a04:5b81:2060:b00b:5054:ff:fe35:473c' port='3300'/>
|
||||
</source>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
<boot order='2'/>
|
||||
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||
</disk>
|
||||
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||
</controller>
|
||||
<controller type='pci' index='0' model='pcie-root'/>
|
||||
<controller type='pci' index='1' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='1' port='0x10'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||
</controller>
|
||||
<controller type='pci' index='2' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='2' port='0x11'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||
</controller>
|
||||
<controller type='pci' index='3' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='3' port='0x12'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='4' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='4' port='0x13'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||
</controller>
|
||||
<controller type='pci' index='5' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='5' port='0x14'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||
</controller>
|
||||
<controller type='pci' index='6' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='6' port='0x15'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||
</controller>
|
||||
<controller type='pci' index='7' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='7' port='0x16'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||
</controller>
|
||||
<controller type='pci' index='8' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='8' port='0x17'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||
</controller>
|
||||
<controller type='pci' index='9' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='9' port='0x18'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||
</controller>
|
||||
<controller type='pci' index='10' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='10' port='0x19'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||
</controller>
|
||||
<controller type='pci' index='11' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='11' port='0x1a'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='pci' index='12' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='12' port='0x1b'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||
</controller>
|
||||
<controller type='pci' index='13' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<target chassis='13' port='0x1c'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||
</controller>
|
||||
<controller type='pci' index='14' model='pcie-root-port'>
|
||||
<model name='pcie-root-port'/>
|
||||
<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='0x09' slot='0x00' function='0x0'/>
|
||||
</controller>
|
||||
<controller type='virtio-serial' index='0'>
|
||||
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||
</controller>
|
||||
<controller type='sata' index='0'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||
</controller>
|
||||
<controller type='scsi' index='0' model='virtio-scsi'>
|
||||
<address type='pci' domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
|
||||
</controller>
|
||||
<interface type='network'>
|
||||
<mac address='52:54:00:6f:cd:6c'/>
|
||||
<source network='v6:b00b'/>
|
||||
<model type='virtio'/>
|
||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||
</interface>
|
||||
<interface type='network'>
|
||||
<mac address='52:54:00:f4:6d:da'/>
|
||||
<source network='home'/>
|
||||
<model type='virtio'/>
|
||||
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||
</interface>
|
||||
<channel type='unix'>
|
||||
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||
</channel>
|
||||
<channel type='spicevmc'>
|
||||
<target type='virtio' name='com.redhat.spice.0'/>
|
||||
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||
</channel>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<input type='keyboard' bus='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
|
||||
</input>
|
||||
<input type='tablet' bus='virtio'>
|
||||
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
|
||||
</input>
|
||||
<tpm model='tpm-crb'>
|
||||
<backend type='emulator' version='2.0'/>
|
||||
</tpm>
|
||||
<graphics type='spice' autoport='yes' listen='::'>
|
||||
<listen type='address' address='::'/>
|
||||
<image compression='auto_glz'/>
|
||||
<gl enable='no'/>
|
||||
</graphics>
|
||||
<sound model='ich9'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||
</sound>
|
||||
<audio id='1' type='spice'/>
|
||||
<video>
|
||||
<model type='qxl' ram='262144' vram='262144' vgamem='65536' heads='1' primary='yes'/>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||
</video>
|
||||
<redirdev bus='usb' type='spicevmc'>
|
||||
<address type='usb' bus='0' port='1'/>
|
||||
</redirdev>
|
||||
<redirdev bus='usb' type='spicevmc'>
|
||||
<address type='usb' bus='0' port='2'/>
|
||||
</redirdev>
|
||||
<watchdog model='itco' action='reset'/>
|
||||
<memballoon model='none'/>
|
||||
<rng model='virtio'>
|
||||
<backend model='random'>/dev/urandom</backend>
|
||||
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||
</rng>
|
||||
<panic model='hyperv'/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
Loading…
Reference in New Issue