[libvirt] PATCH: 8/25: Concurrent dispatch of RPC methods

Richard W.M. Jones rjones at redhat.com
Thu Jan 15 17:07:01 UTC 2009


On Tue, Jan 13, 2009 at 05:41:48PM +0000, Daniel P. Berrange wrote:
> +    /* Get a unique serial number for this message. */
> +    rv->serial = priv->counter++;

This (and similar) are safe because we hold the remoteDriverLock until
we enter the actual call?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the libvir-list mailing list