This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH v2 0/3] libxl, Handle the command line options of

anthony.perard@xxxxxxxxxx writes ("[Xen-devel] [PATCH v2 0/3] libxl, Handle the 
command line options of qemu 0.12."):
> This patch gives the ability to the libxl to handle the command line
> argument of the last qemu version. I begin by checking the version
> of the device model with '-h' options, '--version' is not handled in
> qemu-xen. If I found a version upper than 0.12, I use the new
> command line argument, or else I use the old functions to build
> args.

I see I'm too late with this but I agree with the comments that
checking the version number is not the right approach.

The right approach, it seems to me, is to call strstr() on a copy of
the qemu-dm -h output to try to see whether it supports each
particular variant.


Xen-devel mailing list