]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: report veth device indexes to systemd
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 16 Jan 2015 16:58:39 +0000 (16:58 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Jan 2015 13:57:02 +0000 (13:57 +0000)
commita2bdfa5261a664c8833caa57352ce3730b0b7aa5
tree34337803c9d2c17ac931d1eed219a79af733e424
parente4fc4f0c9905dc5e09abb5f5c711d4c6163a804e
lxc: report veth device indexes to systemd

Record the index of each host-side veth device created and report
them to systemd, so they show up in machinectl status for the VM.

lxc-shell(95449419f969d649d9962566ec42af7d)
     Since: Fri 2015-01-16 16:53:37 GMT; 3s ago
    Leader: 28085 (sh)
   Service: libvirt-lxc; class container
     Iface: vnet0
   Address: fe80::216:3eff:fe00:c317%124
        OS: Fedora 21 (Twenty One)
      Unit: machine-lxc\x2dshell.scope
            └─28085 /bin/sh
src/lxc/lxc_cgroup.c
src/lxc/lxc_cgroup.h
src/lxc/lxc_controller.c