Re: [libvirt] [PATCH 4/4] xen: drop unused callbacks

2011-07-28 Thread Eric Blake
On 07/28/2011 02:03 PM, Laine Stump wrote: On 07/21/2011 05:39 PM, Eric Blake wrote: Found by: for f in $(sed -n 's/.*Drv[^ ]* \([^;]*\);.*/\1/p' src/xen/xen_driver.h) do git grep "\(\.\|->\)$f\b" src/xen done | cat and looking through the resulting list to see which callback struct members ar

Re: [libvirt] [PATCH 4/4] xen: drop unused callbacks

2011-07-28 Thread Laine Stump
On 07/21/2011 05:39 PM, Eric Blake wrote: Found by: for f in $(sed -n 's/.*Drv[^ ]* \([^;]*\);.*/\1/p' src/xen/xen_driver.h) do git grep "\(\.\|->\)$f\b" src/xen done | cat and looking through the resulting list to see which callback struct members are still necessary. Sure. Why not? Simpl

[libvirt] [PATCH 4/4] xen: drop unused callbacks

2011-07-21 Thread Eric Blake
Found by: for f in $(sed -n 's/.*Drv[^ ]* \([^;]*\);.*/\1/p' src/xen/xen_driver.h) do git grep "\(\.\|->\)$f\b" src/xen done | cat and looking through the resulting list to see which callback struct members are still necessary. * src/xen/xen_driver.h (xenUnifiedDriver): Drop all callbacks that