virtme
virtme copied to clipboard
run.py: fix qemu short-form boolean warning
When running virtme with qemu 6.0.0 it complains about the deprecation of short options:
qemu-system-x86_64: -fsdev local,id=virtfs1,path=/,security_model=none,readonly,multidevs=remap: warning: short-form boolean option 'readonly' deprecated Please use readonly=on instead qemu-system-x86_64: -fsdev local,id=virtfs5,path=/usr/lib/python3.8/site-packages/virtme-0.1.1-py3.8.egg/virtme/guest,security_model=none,readonly,multidevs=remap: warning: short-form boolean option 'readonly' deprecated Please use readonly=on instead
Just pass in 'readonly=on' to silence the warning again.
Signed-off-by: Johannes Thumshirn [email protected]
The issue was fixed by 3dfc002efdb2d8c06ff1306be276ec32f9bd00bb