1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/tests/xmconfigdata/sexpr2xml-pv-bootloader.cfg
Philipp Hahn ab8b2bea47 bootloader_args is named bootargs in xen-xm
According to <xen-3.4.3/tools/python/xen/xm/create.py:158>
	gopts.var('bootargs', val='NAME',
			  fn=set_value, default=None,
			  use="Arguments to pass to boot loader")
the "bootloader_args" parameter needs to be translated into "bootargs"
when using "virsh domxml-to-native xen-xm".
The reverse direction (domxml-from-native) is already okay.

This patch fixes domxml-to-native and adds two test files to catch this
problem.

Signed-off-by: Philipp Hahn <hahn@univention.de>
2010-08-09 16:11:25 -06:00

12 lines
274 B
INI

name = "pvtest"
uuid = "596a5d21-71f4-8fb2-e068-e2386a5c413e"
maxmem = 420
memory = 420
vcpus = 2
bootloader = "/usr/bin/pypxeboot"
bootargs = "mac=AA:00:86:e2:35:72"
on_poweroff = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
disk = [ "file:/root/some.img,xvda,w" ]