[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argume
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii' |
Date: |
Tue, 7 May 2019 13:57:56 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Mon, May 06, 2019 at 07:58:28PM +0200, Christian Schoenebeck via Qemu-devel
wrote:
> This is the counter part patch against latest libvirt git master head to
> support the 'vii' feature of patch 5, which introduces the XML config
> XML tag "important" on libvirt side.
>
> To stick with the previous example mentioned with patch 5, likewise
> libvirt XML configuration might then look like this:
>
> <domain type='kvm'>
> ...
> <devices>
> ...
> <filesystem type='mount' accessmode='mapped'>
> <source dir='/vm/fs'/>
> <target dir='root'/>
> <important path='/var/shares'/>
> <important path='/tmp'/>
> </filesystem>
> </devices>
> </domain>
>
> Like with the vii qemu virtfs command line argument, the order of the
> "important" tag defines which one gets the highest inode namespace
> (smallest generated suffix) on guest side.
Do we think anyone is likely to use this feature in the real world ?
I'm not really a fan of the representation, because this is affecting
guest ABI via a side effect of the ordering which is the kind of thing
that has got us in trouble before. If we need control over the IDs
used for each mount point, then I tend to think we need to represent
it explicitly such that the mgmt app sets the exact ID used.
<pathid dir="/var/shares" id="0x1"/>
<pathid dir="/tmp" id="0x3"/>
this ensures that the IDs are still stable when adding or removing
paths
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', (continued)
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/07
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Greg Kurz, 2019/05/07
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/07
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/17
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Greg Kurz, 2019/05/17
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/17
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Greg Kurz, 2019/05/17
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/17
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Greg Kurz, 2019/05/20
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/22
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii',
Daniel P . Berrangé <=
- Re: [Qemu-devel] [libvirt patch] qemu: adds support for virtfs 9p argument 'vii', Christian Schoenebeck, 2019/05/07
[Qemu-devel] [PATCH v3 2/5] 9P: trivial cleanup of QID path collision mitigation, Christian Schoenebeck, 2019/05/06
[Qemu-devel] [PATCH v3 4/5] 9p: use variable length suffixes for inode mapping, Christian Schoenebeck, 2019/05/06
[Qemu-devel] [PATCH v3 1/5] 9p: mitigates most QID path collisions, Christian Schoenebeck, 2019/05/06
[Qemu-devel] [PATCH v3 3/5] 9p: persistency of QID path beyond reboots / suspensions, Christian Schoenebeck, 2019/05/06