mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
cec1022e01
Many of the old xm and sexpr test files used qemu-dm as the emulator. Modern Xen systems no longer use the old, forked qemu-dm, instead preferring the distro provided qemu or an "upstream" qemu that is built when the Xen tools are built. This qemu is typically installed in /usr/lib/xen/bin/qemu-system-i386. The libxl test files already use /usr/lib/xen/bin/qemu-system-i386. For consistency, change the old test files to use the same emulator Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
42 lines
1.3 KiB
XML
42 lines
1.3 KiB
XML
<domain type='xen' id='1'>
|
|
<name>test2vm</name>
|
|
<uuid>a36f6e38-f498-b06c-5fad-b04947392dbe</uuid>
|
|
<memory unit='KiB'>524288</memory>
|
|
<currentMemory unit='KiB'>524288</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<os>
|
|
<type>linux</type>
|
|
</os>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
|
|
<disk type='block' device='disk'>
|
|
<driver name='phy' type='raw'/>
|
|
<source dev='/dev/vg_dom0test/test2vm'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
</disk>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:36:68:9f:5d'/>
|
|
<source bridge='virbr0'/>
|
|
<script path='/etc/xen/scripts/vif-bridge'/>
|
|
<target dev='vif1.0'/>
|
|
</interface>
|
|
<console type='pty'>
|
|
<target type='xen' port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='xen'/>
|
|
<input type='keyboard' bus='xen'/>
|
|
<graphics type='vnc' port='-1' autoport='yes'>
|
|
<listen type='address'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='xen' vram='4096' heads='1' primary='yes'/>
|
|
</video>
|
|
<memballoon model='xen'/>
|
|
</devices>
|
|
</domain>
|