Skip to content

Commit e18298a

Browse files
authored
Merge pull request #4041 from ashwat287/UpdateReadonlyOption
fix: update the qemu option 'readonly' to 'readonly=on'
2 parents 86a7a5a + ca66132 commit e18298a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/driver/qemu/qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ func Cmdline(ctx context.Context, cfg Config) (exe string, args []string, err er
935935
options += fmt.Sprintf(",path=%s", f.Location)
936936
options += fmt.Sprintf(",security_model=%s", *f.NineP.SecurityModel)
937937
if !*f.Writable {
938-
options += ",readonly"
938+
options += ",readonly=on"
939939
}
940940
args = append(args, "-virtfs", options)
941941
case limatype.VIRTIOFS:

0 commit comments

Comments
 (0)