mirror of https://gitee.com/openkylin/libvirt.git
002b7704ff
This is identical to type='bridge', but without the "connect to a bridge" part, so it can be handled by using the same functions (and often even the same cases in switch statements), after renaming virLXCProcessSetupInterfaceBridged() to virLXCProcessInterfaceTap() and enhancing it to skip bridge-related items when brname == NULL. To be truly useful, we need to support setting the ip address on the host side veth as well as guest side veth (already supported for type='bridge'), as well as setting the peer address for both. The <script> element (supported by type='ethernet' in qemu) isn't supported in this patch. An error is logged at domain start time if it is encountered. This may be changed in a later patch. |
||
---|---|---|
.. | ||
lxcconf2xml-blkiotune.config | ||
lxcconf2xml-blkiotune.xml | ||
lxcconf2xml-cpusettune.config | ||
lxcconf2xml-cpusettune.xml | ||
lxcconf2xml-cputune.config | ||
lxcconf2xml-cputune.xml | ||
lxcconf2xml-ethernet.config | ||
lxcconf2xml-ethernet.xml | ||
lxcconf2xml-fstab.config | ||
lxcconf2xml-idmap.config | ||
lxcconf2xml-idmap.xml | ||
lxcconf2xml-macvlannetwork.config | ||
lxcconf2xml-macvlannetwork.xml | ||
lxcconf2xml-memtune.config | ||
lxcconf2xml-memtune.xml | ||
lxcconf2xml-nonenetwork.config | ||
lxcconf2xml-nonenetwork.xml | ||
lxcconf2xml-nonetwork.config | ||
lxcconf2xml-nonetwork.xml | ||
lxcconf2xml-physnetwork.config | ||
lxcconf2xml-physnetwork.xml | ||
lxcconf2xml-simple.config | ||
lxcconf2xml-simple.xml | ||
lxcconf2xml-vlannetwork.config | ||
lxcconf2xml-vlannetwork.xml |