[libvirt] [PATCH 00/15 v5] Unprivileged SG_IO support

Eric Blake eblake at redhat.com
Fri Dec 7 00:59:21 UTC 2012


On 12/05/2012 02:25 AM, Osier Yang wrote:
> Hi,
> 
> As a result of RFC [1], this implements the unprivleged SG_IO
> support. Testing is not that enough, but I'd like see the
> reviewing earlier, and meanwhile I'm not going to give up
> the further testing.

I didn't see where [1] links to.

> 
> Patches 1/10 ~ 4/10 are to introduce the internal list for shared
> disks.
> 
> Osier Yang (15):
>   qemu: Introduce a list to maintain the shared disks between domains
>   qemu: Init/Free the list with the driver's lifecyle
>   qemu: Add/remove the shared disk entry during domain's lifecyle
>   qemu: Add/Remove the entry of sharedDisks when live
>     attaching/detaching

Are you properly handling backing files as potential shared disks?  I
think we really need to reach the point where we can specify the entire
backing chain as part of domain XML, and where we fill in the backing
chain if the user didn't provide it up front.  After all, it is entirely
reasonable to allow for:

base <- A.img
     <- B.img

where A.img is used by domain A, B.img is used by domain B, but where
we'd like to have SG_IO support for both domain's read-only use of base.
 I don't know if this will impact what needs to happen in your series.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121206/216a89d7/attachment-0001.sig>


More information about the libvir-list mailing list