[libvirt] [PATCH 2/4] xen: reduce callback special cases
Laine Stump
laine at laine.org
Thu Jul 28 19:46:34 UTC 2011
On 07/21/2011 05:39 PM, Eric Blake wrote:
> The callback struct is great when iterating through several
> possibilities, but when calling a known callback, it's just
> overhead. We can make the direct call in those cases.
>
> * src/xen/xen_driver.c (xenUnifiedOpen, xenUnifiedDomainSuspend)
> (xenUnifiedDomainResume, xenUnifiedDomainDestroyFlags): Make
> direct calls instead of going through callback.
Again, purely mechanical, and no problems noticed in the conversion.
ACK.
More information about the libvir-list
mailing list