mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-06 21:51:49 +00:00
kvm tools: check read permission before using the root partition of the host to boot VM
The commit fbe8d0f (kvm tools: Use the root partition of the host to boot the guest machine) changed the default image for virtual machine to root partition of the host machine. The patch adds a check to ensure appropriate permission (a read permission) is available for kvm tool to use this partition. Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
ca99b3d340
commit
afa0f6c1c6