Re: [libvirt] [PATCHv2 14/14] event: make network events easier to use without casts

2014-01-07 Thread John Ferlan
On 01/06/2014 05:27 PM, Eric Blake wrote: While comparing network and domain events, I noticed that the test driver had to do a cast in one place and not the other. For consistency, we should hide the necessary casting as low as possible in the stack, with everything else using saner types.

Re: [libvirt] [PATCHv2 14/14] event: make network events easier to use without casts

2014-01-07 Thread Eric Blake
On 01/07/2014 10:15 AM, John Ferlan wrote: On 01/06/2014 05:27 PM, Eric Blake wrote: While comparing network and domain events, I noticed that the test driver had to do a cast in one place and not the other. For consistency, we should hide the necessary casting as low as possible in the

[libvirt] [PATCHv2 14/14] event: make network events easier to use without casts

2014-01-06 Thread Eric Blake
While comparing network and domain events, I noticed that the test driver had to do a cast in one place and not the other. For consistency, we should hide the necessary casting as low as possible in the stack, with everything else using saner types. * src/conf/network_event.h