[Libvir] [PATCH] Linux-VServer support

Daniel Hokka Zakrisson daniel at hozac.com
Wed Jan 9 21:51:20 UTC 2008

This patch implements support for Linux-VServer guests. It is currently
missing vcpu and console support, and the necessary virsh code to support
it, but is otherwise pretty feature complete.

This is an XML dump from one of my guests:
<domain type='vserver' id='40010'>
    <type arch='i686'>vserver</type>
    <interface type='ethernet'>
      <ip prefix='24' interface='dummy0' address='' />
    <interface type='ethernet'>
      <ip prefix='24' interface='dummy0' type='range'
address='' address2=''/>
    <disk type='directory' device='directory'>
      <source directory='/vservers/lenny' type='auto' options='defaults'/>
      <target directory='/'/>
    <disk type='directory' device='directory'>
      <source directory='/srv' type='ext3' options='bind,ro'/>
      <target directory='/srv'/>
    <disk type='block' device='directory'>
       <source dev='/dev/mapper/test' type='ext3' options='defaults'/>
       <target directory='/mnt'/>

Daniel Hokka Zakrisson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-0.4.0-vserver.patch
Type: text/x-patch
Size: 84352 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080109/3ed94ca3/attachment-0001.bin>

More information about the libvir-list mailing list