Re: [Xen-devel] [PATCH v2] libxl: check HVM direct boot parameters

2015-01-19 Thread Ian Campbell
On Mon, 2015-01-19 at 16:13 +, Wei Liu wrote: > We should honour -initrd and -append iff -kernel is specified, because > that's how QEMU works. > > Check direct boot parameters in libxl__domain_build_info_setdefault. > Return failure if kernel is missing while ramdisk (-initrd) and / or > cmdl

[Xen-devel] [PATCH v2] libxl: check HVM direct boot parameters

2015-01-19 Thread Wei Liu
We should honour -initrd and -append iff -kernel is specified, because that's how QEMU works. Check direct boot parameters in libxl__domain_build_info_setdefault. Return failure if kernel is missing while ramdisk (-initrd) and / or cmdline (-append) is present. Signed-off-by: Wei Liu Cc: Ian Cam