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'>
<name>lenny</name>
<uuid>19e12957-261a-5a06-d6d0-89917d6d439f</uuid>
<memory>2048000</memory>
<os>
<hostname>lenny.test</hostname>
<type arch='i686'>vserver</type>
</os>
<devices>
<interface type='ethernet'>
<ip prefix='24' interface='dummy0' address='192.168.20.4'
/>
</interface>
<interface type='ethernet'>
<ip prefix='24' interface='dummy0' type='range'
address='192.168.32.100' address2='192.168.32.200'/>
</interface>
<disk type='directory' device='directory'>
<source directory='/vservers/lenny' type='auto'
options='defaults'/>
<target directory='/'/>
</disk>
<disk type='directory' device='directory'>
<source directory='/srv' type='ext3'
options='bind,ro'/>
<target directory='/srv'/>
</disk>
<disk type='block' device='directory'>
<source dev='/dev/mapper/test' type='ext3'
options='defaults'/>
<target directory='/mnt'/>
</disk>
</devices>
</domain>
--
Daniel Hokka Zakrisson