Skip to contentSkip to conversation

Convert libxl driver to Xen 4.2

PATCH Eric Blake 4 participants 4 messages Dec 6, 2012 – Dec 12, 2012 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Eric Blake

author
#1 lore raw
Quoted 4 lines · Jim Fehlig

Based on a patch originally authored by Daniel De Graaf

http://lists.xen.org/archives/html/xen-devel/2012-05/msg00565.html

Quoted 10 lines

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.

Review struct guest_arch { · line 69

Quoted 8 lines
(quoted diff) +0 -1
@@ -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.

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 18 lines · Eric Blake
Quoted 4 lines · Jim Fehlig

Based on a patch originally authored by Daniel De Graaf

http://lists.xen.org/archives/html/xen-devel/2012-05/msg00565.html

Quoted 11 lines

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().

Quoted 2 lines

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

Thanks, pushed.

Quoted 5 lines
Quoted 5 lines
(quoted diff) +0 -0
@@ -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;
 
Quoted 10 lines

Review struct guest_arch { · line 69

Quoted 5 lines
(quoted diff) +0 -1
-
 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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 11 lines · Jim Fehlig
Quoted 8 lines
Quoted 5 lines

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 [email protected] and [email protected] <[email protected]> know about that!)

Dario

Signature · 4 lines
<<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)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

A message that is not in the archive (sent off-list or not yet received): 1354897102.23012.49.camel@Abyss

#6 lore raw
Quoted 10 lines · Dario Faggioli
Quoted 9 lines · Jim Fehlig
Quoted 8 lines
Quoted 5 lines

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.

Quoted 7 lines
Quoted 2 lines

Thanks, pushed.

Cool!

(letting [email protected] and [email protected] <[email protected]> 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