]> xenbits.xensource.com Git - libvirt.git/commit
qemu_process: Produce better debug message wrt domain namespaces
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Feb 2023 09:34:40 +0000 (10:34 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Feb 2023 07:37:28 +0000 (08:37 +0100)
commit697c16e39ae9a9e18ce7cad0729bf2293b12a307
treeaf62aa325b12d0af7f106f2c553a4217de94da80
parentc3f16cea3bef578c498c720aa90c677ee9511e2f
qemu_process: Produce better debug message wrt domain namespaces

When going through debug log of a domain startup process, one can
meet the following line:

  debug : qemuProcessLaunch:7668 : Building mount namespace

But this is in fact wrong. Firstly, domain namespaces are just
enabled in domain's privateData. Secondly, the debug message says
nothing about actual state of namespace - whether it was enabled
or not.

Therefore, move the debug printing into
qemuProcessEnableDomainNamespaces() and tweak it so that the
actual value is reflected.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
src/qemu/qemu_process.c