feat: looking glass, fonts, more comments and documentation
This commit is contained in:
parent
05d7340746
commit
d094ec0247
5 changed files with 236 additions and 67 deletions
68
win10.xml
68
win10.xml
|
@ -8,7 +8,21 @@
|
|||
</metadata>
|
||||
<memory unit="KiB">16777216</memory>
|
||||
<currentMemory unit="KiB">16777216</currentMemory>
|
||||
<vcpu placement="static">16</vcpu>
|
||||
<memoryBacking>
|
||||
<source type="memfd"/>
|
||||
<access mode="shared"/>
|
||||
</memoryBacking>
|
||||
<vcpu placement="static">8</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"/>
|
||||
<vcpupin vcpu="6" cpuset="6"/>
|
||||
<vcpupin vcpu="7" cpuset="7"/>
|
||||
</cputune>
|
||||
<os>
|
||||
<type arch="x86_64" machine="pc-q35-9.2">hvm</type>
|
||||
<loader readonly="yes" type="pflash" format="raw">/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>
|
||||
|
@ -38,7 +52,8 @@
|
|||
<vmport state="off"/>
|
||||
</features>
|
||||
<cpu mode="host-passthrough" check="none" migratable="on">
|
||||
<topology sockets="1" dies="1" clusters="1" cores="8" threads="2"/>
|
||||
<topology sockets="1" dies="1" clusters="1" cores="4" threads="2"/>
|
||||
<feature policy="require" name="topoext"/>
|
||||
</cpu>
|
||||
<clock offset="localtime">
|
||||
<timer name="rtc" tickpolicy="catchup"/>
|
||||
|
@ -56,12 +71,18 @@
|
|||
<devices>
|
||||
<emulator>/run/libvirt/nix-emulators/qemu-system-x86_64</emulator>
|
||||
<disk type="file" device="disk">
|
||||
<driver name="qemu" type="qcow2" cache="none" discard="unmap"/>
|
||||
<source file="/var/lib/libvirt/images/win11.qcow2"/>
|
||||
<driver name="qemu" type="raw" cache="none" discard="unmap"/>
|
||||
<source file="/var/lib/libvirt/images/win11.raw"/>
|
||||
<target dev="vda" bus="virtio"/>
|
||||
<boot order="1"/>
|
||||
<address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
|
||||
</disk>
|
||||
<disk type="file" device="disk">
|
||||
<driver name="qemu" type="raw" cache="none" discard="unmap"/>
|
||||
<source file="/home/evar/Documents/Old NVME Clone/full_disk.raw"/>
|
||||
<target dev="vdb" bus="virtio"/>
|
||||
<address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
|
||||
</disk>
|
||||
<disk type="file" device="cdrom">
|
||||
<driver name="qemu" type="raw"/>
|
||||
<source file="/home/evar/Downloads/Win10_22H2_English_x64v1.iso"/>
|
||||
|
@ -167,16 +188,24 @@
|
|||
<controller type="virtio-serial" index="0">
|
||||
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
|
||||
</controller>
|
||||
<filesystem type="mount" accessmode="passthrough">
|
||||
<driver type="virtiofs"/>
|
||||
<binary path="/run/current-system/sw/bin/virtiofsd"/>
|
||||
<source dir="/home/evar/Virtio Shared"/>
|
||||
<target dir="Virtio Shared"/>
|
||||
<address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/>
|
||||
</filesystem>
|
||||
<interface type="bridge">
|
||||
<mac address="52:54:00:ef:ae:20"/>
|
||||
<source bridge="winvm0"/>
|
||||
<model type="virtio"/>
|
||||
<link state="up"/>
|
||||
<address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
|
||||
</interface>
|
||||
<interface type="network">
|
||||
<mac address="52:54:00:15:1c:97"/>
|
||||
<source network="default"/>
|
||||
<model type="e1000e"/>
|
||||
<model type="virtio"/>
|
||||
<address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
|
||||
</interface>
|
||||
<serial type="pty">
|
||||
|
@ -191,12 +220,16 @@
|
|||
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||
<address type="virtio-serial" controller="0" bus="0" port="2"/>
|
||||
</channel>
|
||||
<channel type="spicevmc">
|
||||
<target type="virtio" name="com.redhat.spice.0"/>
|
||||
<address type="virtio-serial" controller="0" bus="0" port="1"/>
|
||||
</channel>
|
||||
<input type="mouse" bus="ps2"/>
|
||||
<input type="keyboard" bus="ps2"/>
|
||||
<graphics type="spice">
|
||||
<listen type="none"/>
|
||||
<graphics type="spice" port="-1" autoport="no">
|
||||
<listen type="address"/>
|
||||
<image compression="off"/>
|
||||
<gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:c4:00.0-render"/>
|
||||
<gl enable="no"/>
|
||||
</graphics>
|
||||
<sound model="ich9">
|
||||
<address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
|
||||
|
@ -204,7 +237,7 @@
|
|||
<audio id="1" type="none"/>
|
||||
<video>
|
||||
<model type="virtio" heads="1" primary="yes">
|
||||
<acceleration accel3d="yes"/>
|
||||
<acceleration accel3d="no"/>
|
||||
</model>
|
||||
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
|
||||
</video>
|
||||
|
@ -220,15 +253,26 @@
|
|||
</source>
|
||||
<address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
|
||||
</hostdev>
|
||||
<hostdev mode="subsystem" type="pci" managed="yes">
|
||||
<hostdev mode="subsystem" type="usb" managed="yes">
|
||||
<source>
|
||||
<address domain="0x0000" bus="0xc6" slot="0x00" function="0x3"/>
|
||||
<vendor id="0x320f"/>
|
||||
<product id="0x5088"/>
|
||||
</source>
|
||||
<address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
|
||||
<address type="usb" bus="0" port="2"/>
|
||||
</hostdev>
|
||||
<watchdog model="itco" action="reset"/>
|
||||
<memballoon model="virtio">
|
||||
<address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
|
||||
</memballoon>
|
||||
<shmem name="looking-glass">
|
||||
<model type="ivshmem-plain"/>
|
||||
<size unit="M">64</size>
|
||||
<address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
|
||||
</shmem>
|
||||
<shmem name="scream">
|
||||
<model type="ivshmem-plain"/>
|
||||
<size unit="M">2</size>
|
||||
<address type="pci" domain="0x0000" bus="0x10" slot="0x02" function="0x0"/>
|
||||
</shmem>
|
||||
</devices>
|
||||
</domain>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue