[CentOS-virt] optimal windows xml config for xen

Christoph

mangel at gmx.de
Fri Apr 14 10:29:19 UTC 2017


Hi

I use this config to start win7 64bit via virsh:

<domain type='xen' id='21'>
   <name>marax</name>
   <uuid>6df7f16c-50e1-4541-b5b1-a91ff675a7c2</uuid>
   <memory unit='KiB'>2097152</memory>
   <currentMemory unit='KiB'>2097152</currentMemory>
   <vcpu placement='static'>8</vcpu>
   <os>
     <type arch='x86_64' machine='xenfv'>hvm</type>
     <loader type='rom'>/usr/lib64/xen/boot/hvmloader</loader>
     <boot dev='cdrom'/>
   </os>
   <features>
     <acpi/>
     <apic/>
     <pae/>
     <viridian/>
   </features>
   <clock offset='variable' adjustment='0' basis='localtime'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>
   <on_crash>restart</on_crash>
   <devices>
     <disk type='block' device='disk'>
       <driver name='phy'/>
       <source dev='/dev/vg_lilith/lv_marax_c'/>
       <backingStore/>
       <target dev='hda'/>
       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
     </disk>
     <disk type='block' device='disk'>
       <driver name='phy'/>
       <source dev='/dev/vg_lilith/lv_marax_d'/>
       <backingStore/>
       <target dev='hdb'/>
       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
     </disk>
     <controller type='ide' index='0'/>
     <interface type='bridge'>
       <mac address='00:16:3e:05:01:10'/>
       <source bridge='xenbr5'/>
       <script path='vif-bridge'/>
       <model type='e1000'/>
     </interface>
     <input type='mouse' bus='ps2'/>
     <input type='keyboard' bus='ps2'/>
     <graphics type='spice' port='6000' autoport='no' keymap='de'/>
     <video>
       <model type='xen' vram='16384' heads='1'/>
     </video>
   </devices>
</domain>

it is optimal for win7? does someone see any options what I could make 
better?

-- 
----------
Greetz
Christoph


More information about the CentOS-virt mailing list