On Wed, Dec 19, 2012 at 10:17:31AM +0400, Michael Tokarev wrote:
> Control: severity -1 wishlist
> Control: tags -1 + confirmed upstream
> 
> On 19.12.2012 04:09, Josh Triplett wrote:
> > Package: qemu-kvm
> > Version: 1.1.2+dfsg-3
> > Severity: normal
> > 
> > kvm doesn't seem to accept mount_tag=/dev/root , and gives a strange
> > series of error messages when attempting to do so:
> > 
> > kvm: -virtfs local,id=root,path=/,mount_tag=/dev/root,security_model=none: 
> > Parameter 'id' expects an identifier
> > Identifiers consist of letters, digits, '-', '.', '_', starting with a 
> > letter.
> > duplicate fsdev id: /dev/root
> 
> While the error message is misleading, the thing actually
> works when specified properly.  Use:
> 
>  -fsdev local,id=root,path=/,security_model=none \
>  -device virtio-9p-pci,fsdev=root,mount_tag=/dev/root

Huh, I see.  Thanks for the explanation and workaround.

> > Please consider fixing this, to unbreak virtio 9p root filesystems.
> 
> See also http://patchwork.ozlabs.org/patch/127551/ , dated Nov-2011, --
> that patch hasn't been applied to upstream yet.

So, when using -virtfs, you don't need the accompanying -device?  That
sounds handy, if it worked.  That patch looks sensible; I look forward
to seeing it applied, but in the meantime the workaround you supplied
will work nicely.

Thanks again,
Josh Triplett


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to