Re: [libvirt] [PATCH 2/4] xen: reduce callback special cases

2011-07-28 Thread Laine Stump
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) (xenUnifiedDom

[libvirt] [PATCH 2/4] xen: reduce callback special cases

2011-07-21 Thread Eric Blake
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): Ma