[libvirt] [PATCH] bootloader_args is named bootargs in xen-xm
Philipp Hahn
hahn at univention.de
Thu Aug 5 15:07:18 UTC 2010
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 at univention.de>
---
src/xen/xm_internal.c | 2 +-
tests/xmconfigdata/sexpr2xml-pv-bootloader.cfg | 12 +++++++++++
tests/xmconfigdata/sexpr2xml-pv-bootloader.xml | 26
++++++++++++++++++++++++
3 files changed, 39 insertions(+), 1 deletions(-)
create mode 100644 tests/xmconfigdata/sexpr2xml-pv-bootloader.cfg
create mode 100644 tests/xmconfigdata/sexpr2xml-pv-bootloader.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cf73e3d9ce384d5b7e7bad03b4a891fa5decc462.diff
Type: text/x-patch
Size: 2171 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100805/8088e834/attachment-0001.bin>
More information about the libvir-list
mailing list