Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: set rw on block device before hotplug test.
rw check on block device is enhanced in qemu 5.1. So block device should be set to rw using blockdev before hotplug test in docker. If not, block device hotplug test will fail. test case: docker run --rm --runtime kata-runtime --device /dev/loop0 ubuntu ls more info see https://patchew.org/QEMU/[email protected]/[email protected]/ Fixes: kata-containers#3002 Signed-off-by: Jianyong Wu <[email protected]>
- Loading branch information