[libvirt] [PATCH] Fix emission of domain events messages

Daniel P. Berrange berrange at redhat.com
Wed Sep 30 14:09:29 UTC 2009


On Wed, Sep 30, 2009 at 03:51:21PM +0200, Daniel Veillard wrote:
> On Wed, Sep 30, 2009 at 02:34:46PM +0100, Daniel P. Berrange wrote:
> > The code which updated the message length after writing the
> > payload wrote the updated length word in the wrong place since
> > the XDR object was given a buffer pointing to the start of the
> > header payload, rather than message start.
> > 
> > * daemon/remote.c: Fix updating of event message length so that
> >   we actually send the payload, not just the header
> 
>   ACK
>   Hum, but how did that work previously ? Or did it never worked ?

I only broke the code fairly recently :-)


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list