xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: [libvirt]  [PATCH] Convert libxl driver to Xen 4.2
       [not found] ` <1354013490.5830.181.camel@zakaz.uk.xensource.com>
@ 2012-11-27 11:00   ` Daniel P. Berrange
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel P. Berrange @ 2012-11-27 11:00 UTC (permalink / raw)
  To: Ian Campbell; +Cc: libvir-list@redhat.com, Jim Fehlig, xen-devel@lists.xen.org

On Tue, Nov 27, 2012 at 10:51:30AM +0000, Ian Campbell wrote:
> On Mon, 2012-11-26 at 22:28 +0000, Jim Fehlig wrote:
> > 
> > @@ -62,6 +63,52 @@ struct guest_arch {
> >  static const char *xen_cap_re = "(xen|hvm)-[[:digit:]]+\
> > \.[[:digit:]]+-(x86_32|x86_64|ia64|powerpc64)(p|be)?";
> >  static regex_t xen_cap_rec;
> > 
> > +/*
> > + * Copied from split_string_into_string_list() in
> > + * $xen-sources/tools/libxl/xl_cmdimpl.c, which is licensed LGPL v2.1.
> > + */
> 
> Looks like I am the sole author of that original function
> (24250:71ecbef5645f xen-unstable.hg). I'd more than likely be happy to
> relicence under whatever terms would be suitable for libvirt -- what are
> they?
> 
> In particular I'd be happy with LGPL v2.1+ if that's what it takes.

Yes, LGPL v2.1+ is what libvirt uses.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [libvirt] [PATCH] Convert libxl driver to Xen 4.2
       [not found] <1354313593-13358-1-git-send-email-jfehlig@suse.com>
@ 2012-12-06 22:18 ` Eric Blake
  2012-12-06 23:20   ` Jim Fehlig
       [not found]   ` <50C1284B.2060303@suse.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Blake @ 2012-12-06 22:18 UTC (permalink / raw)
  To: Jim Fehlig; +Cc: libvir-list, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]

On 11/30/2012 03:13 PM, Jim Fehlig wrote:
> Based on a patch originally authored by Daniel De Graaf
> 
>   http://lists.xen.org/archives/html/xen-devel/2012-05/msg00565.html
> 
> This patch converts the Xen libxl driver to support only Xen >= 4.2.
> Support for Xen 4.1 libxl is dropped since that version of libxl is
> designated 'technology preview' only and is incompatible with Xen 4.2
> libxl.  Additionally, the default toolstack in Xen 4.1 is still xend,
> for which libvirt has a stable, functional driver.
> ---
> V2:
>   Remove 128 vcpu limit.
>   Remove split_string_into_string_list() function copied from xen
>   sources since libvirt now has virStringSplit().

Tested on Fedora 18, with its use of xen 4.2.  ACK; let's get this pushed.

> @@ -62,7 +64,6 @@ struct guest_arch {
>  static const char *xen_cap_re = "(xen|hvm)-[[:digit:]]+\\.[[:digit:]]+-(x86_32|x86_64|ia64|powerpc64)(p|be)?";
>  static regex_t xen_cap_rec;
>  
> -
>  static int
>  libxlNextFreeVncPort(libxlDriverPrivatePtr driver, int startPort)
>  {

This looks like a spurious whitespace change in isolation, but as long
as the overall file is consistent on one vs. two blank lines before
functions, I don't care if you keep or drop this hunk.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [libvirt] [PATCH] Convert libxl driver to Xen 4.2
  2012-12-06 22:18 ` [libvirt] [PATCH] Convert libxl driver to Xen 4.2 Eric Blake
@ 2012-12-06 23:20   ` Jim Fehlig
       [not found]   ` <50C1284B.2060303@suse.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Jim Fehlig @ 2012-12-06 23:20 UTC (permalink / raw)
  To: Eric Blake; +Cc: libvir-list, xen-devel

Eric Blake wrote:
> On 11/30/2012 03:13 PM, Jim Fehlig wrote:
>   
>> Based on a patch originally authored by Daniel De Graaf
>>
>>   http://lists.xen.org/archives/html/xen-devel/2012-05/msg00565.html
>>
>> This patch converts the Xen libxl driver to support only Xen >= 4.2.
>> Support for Xen 4.1 libxl is dropped since that version of libxl is
>> designated 'technology preview' only and is incompatible with Xen 4.2
>> libxl.  Additionally, the default toolstack in Xen 4.1 is still xend,
>> for which libvirt has a stable, functional driver.
>> ---
>> V2:
>>   Remove 128 vcpu limit.
>>   Remove split_string_into_string_list() function copied from xen
>>   sources since libvirt now has virStringSplit().
>>     
>
> Tested on Fedora 18, with its use of xen 4.2.  ACK; let's get this pushed.
>   

Thanks, pushed.

>   
>> @@ -62,7 +64,6 @@ struct guest_arch {
>>  static const char *xen_cap_re = "(xen|hvm)-[[:digit:]]+\\.[[:digit:]]+-(x86_32|x86_64|ia64|powerpc64)(p|be)?";
>>  static regex_t xen_cap_rec;
>>  
>> -
>>  static int
>>  libxlNextFreeVncPort(libxlDriverPrivatePtr driver, int startPort)
>>  {
>>     
>
> This looks like a spurious whitespace change in isolation, but as long
> as the overall file is consistent on one vs. two blank lines before
> functions, I don't care if you keep or drop this hunk.
>   

That was spurious, and removed before pushing.

Regards,
Jim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [libvirt] [PATCH] Convert libxl driver to Xen 4.2
       [not found]   ` <50C1284B.2060303@suse.com>
@ 2012-12-07 16:18     ` Dario Faggioli
       [not found]     ` <1354897102.23012.49.camel@Abyss>
  1 sibling, 0 replies; 5+ messages in thread
From: Dario Faggioli @ 2012-12-07 16:18 UTC (permalink / raw)
  To: Jim Fehlig
  Cc: xen@lists.fedoraproject.org, libvir-list, xen-devel, M A Young,
	virt, Eric Blake


[-- Attachment #1.1: Type: text/plain, Size: 766 bytes --]

On Thu, 2012-12-06 at 16:20 -0700, Jim Fehlig wrote: 
> >> V2:
> >>   Remove 128 vcpu limit.
> >>   Remove split_string_into_string_list() function copied from xen
> >>   sources since libvirt now has virStringSplit().
> >>     
> >
> > Tested on Fedora 18, with its use of xen 4.2.  ACK; let's get this pushed.
> >   
> 
> Thanks, pushed.
> 
Cool!

(letting virt@lists.fedoraproject.org and xen@lists.fedoraproject.org
<xen@lists.fedoraproject.org> know about that!)

Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)



[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Fedora-xen] [libvirt] [PATCH] Convert libxl driver to Xen 4.2
       [not found]     ` <1354897102.23012.49.camel@Abyss>
@ 2012-12-12  0:51       ` Cole Robinson
  0 siblings, 0 replies; 5+ messages in thread
From: Cole Robinson @ 2012-12-12  0:51 UTC (permalink / raw)
  To: Dario Faggioli
  Cc: xen@lists.fedoraproject.org, libvir-list, xen-devel, Jim Fehlig,
	virt, Eric Blake

On 12/07/2012 11:18 AM, Dario Faggioli wrote:
> On Thu, 2012-12-06 at 16:20 -0700, Jim Fehlig wrote: 
>>>> V2:
>>>>   Remove 128 vcpu limit.
>>>>   Remove split_string_into_string_list() function copied from xen
>>>>   sources since libvirt now has virStringSplit().
>>>>     
>>>
>>> Tested on Fedora 18, with its use of xen 4.2.  ACK; let's get this pushed.
>>>   
>>
>> Thanks, pushed.
>>
> Cool!
> 
> (letting virt@lists.fedoraproject.org and xen@lists.fedoraproject.org
> <xen@lists.fedoraproject.org> know about that!)
> 

I pushed an F18 build yesterday, but it didn't contain the libxl patch since
it wasn't a trivial backport to 0.10.2 and I wanted to get a build out ASAP
since it was fixing a CVE. I'll take another stab at the libxl backport later
this week.

- Cole

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-12  0:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1354313593-13358-1-git-send-email-jfehlig@suse.com>
2012-12-06 22:18 ` [libvirt] [PATCH] Convert libxl driver to Xen 4.2 Eric Blake
2012-12-06 23:20   ` Jim Fehlig
     [not found]   ` <50C1284B.2060303@suse.com>
2012-12-07 16:18     ` Dario Faggioli
     [not found]     ` <1354897102.23012.49.camel@Abyss>
2012-12-12  0:51       ` [Fedora-xen] " Cole Robinson
     [not found] <1353968895-16014-1-git-send-email-jfehlig@suse.com>
     [not found] ` <1354013490.5830.181.camel@zakaz.uk.xensource.com>
2012-11-27 11:00   ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).