WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel