Advertisement
Guest User

virt manager OS setup XML - ERROR...

a guest
Dec 13th, 2020
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.96 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>Windows10GamingVM</name>
  3.   <uuid>d5bd1c07-385d-415f-8525-780420f61dc3</uuid>
  4.   <memory>8388608</memory>
  5.   <currentMemory>8388608</currentMemory>
  6.   <vcpu current="1">8</vcpu>
  7.   <os>
  8.     <type arch="x86_64" machine="q35">hvm</type>
  9.     <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.fd</loader>
  10.     <boot dev="hd"/>
  11.   </os>
  12.   <features>
  13.     <acpi/>
  14.     <apic/>
  15.     <vmport state="off"/>
  16.   </features>
  17.   <cpu mode="host-model">
  18.     <topology sockets="1" cores="4" threads="2"/>
  19.   </cpu>
  20.   <clock offset="utc">
  21.     <timer name="rtc" tickpolicy="catchup"/>
  22.     <timer name="pit" tickpolicy="delay"/>
  23.     <timer name="hpet" present="no"/>
  24.   </clock>
  25.   <pm>
  26.     <suspend-to-mem enabled="no"/>
  27.     <suspend-to-disk enabled="no"/>
  28.   </pm>
  29.   <devices>
  30.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  31.    
  32.     <disk type="block" device="disk">
  33.     <driver name="qemu" type="raw" cache="none" io="native" discard="unmap"/>
  34.     <source dev="/dev/nvme0n1"/>
  35.     <target dev="sdb" bus="sata"/>
  36.     <boot order="1"/>
  37.     <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  38.   </disk>
  39.     <controller type="usb" index="0" model="ich9-ehci1"/>
  40.     <controller type="usb" index="0" model="ich9-uhci1">
  41.       <master startport="0"/>
  42.     </controller>
  43.     <controller type="usb" index="0" model="ich9-uhci2">
  44.       <master startport="2"/>
  45.     </controller>
  46.     <controller type="usb" index="0" model="ich9-uhci3">
  47.       <master startport="4"/>
  48.     </controller>
  49.     <interface type="direct">
  50.       <source dev="enp7s0" mode="bridge"/>
  51.       <mac address="52:54:00:64:4a:5d"/>
  52.       <model type="e1000"/>
  53.     </interface>
  54.     <console type="pty"/>
  55.     <channel type="spicevmc">
  56.       <target type="virtio" name="com.redhat.spice.0"/>
  57.     </channel>
  58.     <input type="tablet" bus="usb"/>
  59.     <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
  60.       <image compression="off"/>
  61.     </graphics>
  62.     <sound model="ich6"/>
  63.     <video>
  64.       <model type="qxl"/>
  65.     </video>
  66.     <redirdev bus="usb" type="spicevmc"/>
  67.     <redirdev bus="usb" type="spicevmc"/>
  68.     <disk type="file" device="cdrom">
  69.       <driver name="qemu" type="raw"/>
  70.       <source file="/home/kiloneie/Downloads/virtio-win-0.1.190.iso"/>
  71.       <target dev="sdc" bus="sata"/>
  72.       <readonly/>
  73.     </disk>
  74.     <hostdev mode="subsystem" type="pci" managed="yes">
  75.       <source>
  76.         <address domain="0" bus="10" slot="0" function="0"/>
  77.       </source>
  78.     </hostdev>
  79.     <hostdev mode="subsystem" type="pci" managed="yes">
  80.       <source>
  81.         <address domain="0" bus="10" slot="0" function="1"/>
  82.       </source>
  83.     </hostdev>
  84.     <hostdev mode="subsystem" type="pci" managed="yes">
  85.       <source>
  86.         <address domain="0" bus="12" slot="0" function="3"/>
  87.       </source>
  88.     </hostdev>
  89.     <disk type="file" device="cdrom">
  90.       <target dev="sdd" bus="sata"/>
  91.       <readonly/>
  92.     </disk>
  93.   </devices>
  94. </domain>
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement