Re: [RFC] 0 of 4 Linux Container support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 21, 2008 at 10:17:35AM -0700, Dave Leskovec wrote:
> Daniel Veillard wrote:
> >   I will look now at cleaning up the parsing code as explained in my review,
> > that I can do easilly,
> 
> Excellent.  Thanks!

  No problem, BTW I'm having a bit of troubles with lxcLoadConfig()
it loads fine an example xml based on the original from your mail,
but then it does:

    virUUIDFormat(containerDef->uuid, uuidstr);
    if (!virFileMatchesNameSuffix(file, uuidstr, ".xml")) {

which fails, what's the semantic ? The uuid field seems uninitialized,
and then the match doesn't work. Are you generating the uuid based on the
filename ? Maybe a random one would be fine, but why that check ?

Another small issue is that I have the clone flags defined in 
<linux/sched.h> but not in <sched.h> so I had to add that include
to get the module to compile, lxcCheckContainerSupport() check
then passes on my Fedora-8 2.6.24 kernel.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]