Re: [libvirt] PATCH: Support container XML enhancements

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

 



On Wed, Jul 30, 2008 at 05:04:25AM -0400, Daniel Veillard wrote:
> On Tue, Jul 29, 2008 at 04:20:14PM +0100, Daniel P. Berrange wrote:
> > This is something I previously submitted as part of one of the LXC
> > patches, but I figure it makes sense on its own, since OpenVZ needs
> > this now too.
> > 
> > This adds two new XML elements to the domain XML format:
> 
>   Yep this was discussed at the time when the old OpenVZ format was
> on the table. Looks fine to me
> 
> >  - An <init> block within <os> allowing specification of the path for
> >    a binary to run when starting the container - aka 'init' by any other
> [...]
> >  - An <filesystem> element for specifying how the container's filesystem
> >    is to be provided. This can actually be useful for full-machine virt
> [...]
> >    eg to use a template called 'fedora9web' as the root filesystem for
> >       a container
> > 
> >       <filesystem type='template'>
> >          <source name='fedora9web'/>
> >          <target dir='/'/>
> >       </filesystem>
> 
>   I think the template type is the only concept which is really OpenVZ
> specific (so far) everything else makes sense on a more general basis
> as long a the hypervisor expose a notion of filesystem and not just block
> devices.

I believe Linux-VServer uses this template capability as well.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
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]