mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-24 01:24:26 +01:00
qemu: add block device readonly support
So that we can attach it readonly. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
@@ -303,6 +303,8 @@ func TestAppendDeviceBlock(t *testing.T) {
|
||||
WCE: false,
|
||||
DisableModern: true,
|
||||
ROMFile: romfile,
|
||||
ShareRW: true,
|
||||
ReadOnly: true,
|
||||
}
|
||||
if blkdev.Transport.isVirtioCCW(nil) {
|
||||
blkdev.DevNo = DevNo
|
||||
|
||||
Reference in New Issue
Block a user