[libvirt] [PATCH 00/10 v4] Unprivileged SG_IO support

Osier Yang jyang at redhat.com
Tue Dec 4 17:37:03 UTC 2012


On 2012年12月04日 21:17, 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.
>
> v2 - v3:
>    * Change the XML tag name to "cdbfilter"
>    * Maintain an internal list of shared disks for QEMU driver.
>
> v3 - v4:
>    * Rebase on the top
>    * More testing
>
> Patches 1/10 ~ 4/10 are to introduce the internal list for shared
> disks.
>
> Osier Yang (10):
>    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
>    docs: Add docs and rng schema for new XML cdbfilter
>    conf: Parse and format the new XML tag cdbfilter
>    util: Prepare helpers for unpriv_sgio setting
>    qemu: Manage disk's cdbfilter in domain's lifecycle
>    qemu: Do not restore the sysfs unpriv_sgio if the disk is being
>      shared
>    qemu: Error out when domain starting if the cdbfilter setting
>      conflicts
>

I missed patches to set/restore the disk's unpriv_sgio when attaching
and detaching, and one patch to reject attaching shared disk if it's
"cdbfilter" conflicts with others which are in use. But I run out of
time today, and it doesn't affect the reviewing of already post ones,
will post the missed patches tomorrow.

Regards,
Osier




More information about the libvir-list mailing list