Skip to content

Commit ca66132

Browse files
committed
fix: update the qemu option 'readonly' to 'readonly=on'
Signed-off-by: ashwat287 <[email protected]>
1 parent 86a7a5a commit ca66132

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)