Re: [RFC] Add Container support to libvirt

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

 



Greetings,

Following up on the XML format for the Linux Container support I proposed... I've made the following recommended changes:
* Changed mount tags
* Changed nameserver tag to be consistent with gateway
* Moved cpushare and memory tags outside container tag

This is the updated format:
<domain type='linuxcontainer'>
  <name>Container123</name>
  <uuid>8dfd44b31e76d8d335150a2d98211ea0</uuid>
  <container>
      <filesystem>
          <mount>
              <source dir="/home/user/lxc_files/etc/"/>
              <target dir="/etc/"/>
          </mount>
          <mount>
              <source dir="/home/user/lxc_files/var/"/>
              <target dir="/var/"/>
          </mount>
      </filesystem>
      <application>/usr/sbin/container_init</application>
      <network hostname='browndog'>
          <ip address="192.168.1.110" netmask="255.255.255.0"/>
              <gateway address="192.168.1.1"/>
              <nameserver address="192.168.1.1"/nameserver>
          </ip>
      </network>
  </container>
  <cpushare>40</cpushare>
  <memory>65536</memory>
  <devices>
      <console tty='/dev/pts/4'/>
  </devices>
</domain>

Does this look ok now?  All comments and questions are welcome.

--
Best Regards,
Dave Leskovec
IBM Linux Technology Center
Open Virtualization

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