]> xenbits.xensource.com Git - libvirt.git/commit
qemu_ns: Allow /dev/mapper/control for PR
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 9 Apr 2018 12:44:44 +0000 (14:44 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 11 May 2018 07:02:56 +0000 (09:02 +0200)
commit5bf89434ff9ff5ab00824e0e24aaf0fe2df1832c
treedd39645a276c0e6d7014653ac39c76baf48d3904
parent13fe558fb4c4ecf75bd667297c7b42d09f9272a2
qemu_ns: Allow /dev/mapper/control for PR

If qemu-pr-helper is compiled with multipath support the first
thing it does is open /dev/mapper/control. Since we're going
to be running it inside qemu namespace we need to create it
there. Unfortunately, we don't know if it was compiled with or
without multipath so we have to create it anyway.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c