ssh_LDADD = $(COVERAGE_LDFLAGS)
if WITH_XEN
-test_programs += xmconfigtest xencapstest
+test_programs += xencapstest
endif WITH_XEN
if WITH_LIBXL
test_programs += xlconfigtest xml2sexprtest sexpr2xmltest \
- libxlxml2domconfigtest
+ xmconfigtest libxlxml2domconfigtest
test_libraries += virmocklibxl.la
endif WITH_LIBXL
xen_LDADDS = ../src/libvirt_driver_xen_impl.la
xen_LDADDS += $(LDADDS)
-xmconfigtest_SOURCES = \
- xmconfigtest.c testutilsxen.c testutilsxen.h \
- testutils.c testutils.h
-xmconfigtest_LDADD = $(xen_LDADDS)
-
xencapstest_SOURCES = \
xencapstest.c testutils.h testutils.c
xencapstest_LDADD = $(xen_LDADDS)
else ! WITH_XEN
-EXTRA_DIST += xmconfigtest.c xencapstest.c \
- testutilsxen.c testutilsxen.h
+EXTRA_DIST += xencapstest.c testutilsxen.c testutilsxen.h
endif ! WITH_XEN
if WITH_LIBXL
testutils.c testutils.h
sexpr2xmltest_LDADD = $(libxl_LDADDS)
+xmconfigtest_SOURCES = \
+ xmconfigtest.c testutilsxen.c testutilsxen.h \
+ testutils.c testutils.h
+xmconfigtest_LDADD = $(libxl_LDADDS)
+
libxlxml2domconfigtest_SOURCES = \
libxlxml2domconfigtest.c testutilsxen.c testutilsxen.h \
testutils.c testutils.h
else ! WITH_LIBXL
EXTRA_DIST += xlconfigtest.c xml2sexprtest.c sexpr2xmltest.c \
- libxlxml2domconfigtest.c
+ xmconfigtest.c libxlxml2domconfigtest.c
endif ! WITH_LIBXL
QEMUMONITORTESTUTILS_SOURCES = \
<vcpu placement='static'>2</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
</console>
<input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static'>2</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
</console>
<input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader&test</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm&test</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest'"'/>
<target dev='hdb' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso&test'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<sound model='sb16'/>
<sound model='es1370'/>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<sound model='sb16'/>
<sound model='es1370'/>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>403456</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='cdrom'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
- <driver name='file'/>
+ <driver name='file' type='raw'/>
<source file='/root/boot.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>358400</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/sda8'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='block' device='cdrom'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
<listen type='address'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static' current='2'>4</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_crash>restart</on_crash>
<devices>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest1'/>
<target dev='xvda' bus='xen'/>
</disk>
</console>
<input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static'>1</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_crash>restart</on_crash>
<devices>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest1'/>
<target dev='xvda' bus='xen'/>
</disk>
<video>
<model type='xen' vram='4096' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static'>1</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_crash>restart</on_crash>
<devices>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest1'/>
<target dev='xvda' bus='xen'/>
</disk>
<video>
<model type='xen' vram='4096' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static'>1</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_crash>restart</on_crash>
<devices>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest1'/>
<target dev='xvda' bus='xen'/>
</disk>
<video>
<model type='xen' vram='4096' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static'>1</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_crash>restart</on_crash>
<devices>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest1'/>
<target dev='xvda' bus='xen'/>
</disk>
<video>
<model type='xen' vram='4096' heads='1' primary='yes'/>
</video>
- <memballoon model='xen'/>
</devices>
</domain>
<vcpu placement='static' current='2'>4</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<os>
- <type arch='i686' machine='xenpv'>linux</type>
+ <type arch='x86_64' machine='xenpv'>linux</type>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_crash>restart</on_crash>
<devices>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/HostVG/XenGuest1'/>
<target dev='xvda' bus='xen'/>
</disk>
</console>
<input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
- <memballoon model='xen'/>
</devices>
</domain>
<currentMemory unit='KiB'>358400</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
- <type arch='i686' machine='xenfv'>hvm</type>
+ <type arch='x86_64' machine='xenfv'>hvm</type>
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<source dev='/dev/sda8'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='block' device='cdrom'>
- <driver name='phy'/>
+ <driver name='phy' type='raw'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
<listen type='address'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
+ <model type='cirrus' vram='8192' heads='1' primary='yes'/>
</video>
<hostdev mode='subsystem' type='pci' managed='no'>
+ <driver name='xen'/>
<source>
<address domain='0x0001' bus='0x0c' slot='0x1b' function='0x2'/>
</source>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='no'>
+ <driver name='xen'/>
<source>
<address domain='0x0000' bus='0x01' slot='0x13' function='0x0'/>
</source>
</hostdev>
- <memballoon model='xen'/>
</devices>
</domain>
#include "internal.h"
#include "datatypes.h"
-#include "xen/xen_driver.h"
-#include "xen/xm_internal.h"
#include "xenconfig/xen_xm.h"
#include "testutils.h"
#include "testutilsxen.h"
#include "viralloc.h"
#include "virstring.h"
+#include "libxl/libxl_conf.h"
#define VIR_FROM_THIS VIR_FROM_NONE
int ret = -1;
virConnectPtr conn = NULL;
int wrote = 4096;
- struct _xenUnifiedPrivate priv;
virDomainDefPtr def = NULL;
if (VIR_ALLOC_N(gotxmcfgData, wrote) < 0)
conn = virGetConnect();
if (!conn) goto fail;
- /* Many puppies died to bring you this code. */
- priv.caps = caps;
- conn->privateData = &priv;
-
if (!(def = virDomainDefParseFile(xml, caps, xmlopt, NULL,
VIR_DOMAIN_DEF_PARSE_INACTIVE)))
goto fail;
char *gotxml = NULL;
virConfPtr conf = NULL;
int ret = -1;
- virConnectPtr conn;
- struct _xenUnifiedPrivate priv;
virDomainDefPtr def = NULL;
- conn = virGetConnect();
- if (!conn) goto fail;
-
if (virTestLoadFile(xmcfg, &xmcfgData) < 0)
goto fail;
- /* Many puppies died to bring you this code. */
- priv.caps = caps;
- conn->privateData = &priv;
-
if (!(conf = virConfReadString(xmcfgData, 0)))
goto fail;
VIR_FREE(xmcfgData);
VIR_FREE(gotxml);
virDomainDefFree(def);
- virObjectUnref(conn);
return ret;
}
{
int ret = 0;
- if (!(caps = testXenCapsInit()))
+ if (!(caps = testXLInitCaps()))
return EXIT_FAILURE;
- if (!(xmlopt = xenDomainXMLConfInit()))
+ if (!(xmlopt = libxlCreateXMLConf()))
return EXIT_FAILURE;
#define DO_TEST_PARSE(name) \