]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: wait for nbd device to be up to get its PIDs
authorCédric Bosdonnat <cbosdonnat@suse.com>
Wed, 15 Jul 2015 08:13:21 +0000 (10:13 +0200)
committerCédric Bosdonnat <cbosdonnat@suse.com>
Wed, 15 Jul 2015 08:16:15 +0000 (10:16 +0200)
commit4749fec10d414dc45b7bbf04bddd2620528d5f5a
treed858dcbf9967d8c4ff1a3d87091c0194007d8406
parent8dd8df6f7ce8f606d0e344d5db7bc974cd2771ca
lxc: wait for nbd device to be up to get its PIDs

The nbd device pid file doesn't appear immediately after starting
qemu-nbd: adding a small loop to wait for it before getting it's
processes PIDs.
src/lxc/lxc_controller.c