• B
    Implement support for <hostdev caps=net> · 442d6a05
    Bogdan Purcareata 提交于
    This allows a container-type domain to have exclusive access to one of
    the host's NICs.
    
    Wire <hostdev caps=net> with the lxc_controller - when moving the newly
    created veth devices into a new namespace, also look for any hostdev
    devices that should be moved. Note: once the container domain has been
    destroyed, there is no code that moves the interfaces back to the
    original namespace. This does happen, though, probably due to default
    cleanup on namespace destruction.
    Signed-off-by: NBogdan Purcareata <bogdan.purcareata@freescale.com>
    442d6a05
lxc_controller.c 48.4 KB