]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Move QEMU capabilities initialization later in QEMU startup
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 24 Jan 2013 18:32:31 +0000 (18:32 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 25 Jan 2013 10:41:48 +0000 (10:41 +0000)
commitd7a3700ee73bb75798dfc4c004039e6ad7f7ba24
tree813effacaabc22485aad6cab95142ee0b0b84c75
parent1b253a102fbfddb73947b46288c90d74d01fcf0f
Move QEMU capabilities initialization later in QEMU startup

Currently QEMU capabilities are initialized before the QEMU driver
sets ownership on its various directories. The upshot is that if
you change the user/group in the qemu.conf file, libvirtd will fail
to probe QEMU the first time it is run after the config change.
Moving QEMU capabilities initialization to after the chown() calls
fixes this

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_driver.c