On 30.08.2017 12:11, Greg Kurz wrote: [...] > Hi, > > Both -virtfs and -fsdev/-device syntaxes work for me with the current QEMU > master branch :) Where's your qemu-system-x86_64 binary coming from ?
There is at least one problem with -virtfs if you forget to specify the "security_model=xxx" option: $ x86_64-softmmu/qemu-system-x86_64 -virtfs local,id=shared,path=/tmp,mount_tag=tag qemu-system-x86_64: util/qemu-option.c:547: opt_set: Assertion `opt->str' failed. Aborted (core dumped) According to the qemu-doc, the securit_model is optional, so it should be possible to run qemu without it, too, shouldn't it? Thomas