This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disk: Pass the --share-rw option for hotplugging disks
With qemu 2.10, a write lock was added for qcow images that prevents the same image to be passed more than once. This can be over-ridden using the --share-rw option which is desired for raw images. This solves an issue with running Kata with devicemapper using the privileged mode as in this case all devices on the host are passed to the container including the block device associated with the rootfs, causing it to be passed twice to qemu. Fixes #606 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
- Loading branch information