[libvirt] [PATCH] Move QEMU capabilities initialization later in QEMU startup

Laine Stump laine at laine.org
Thu Jan 24 20:02:30 UTC 2013


On 01/24/2013 01:34 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> 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 at redhat.com>
> ---
>  src/qemu/qemu_driver.c | 13 ++++++-------
>  1 file changed, 6 insertions(+), 7 deletions(-)

ACK.




More information about the libvir-list mailing list