[libvirt] [PATCH] [OpenVZ] Segmentation fault

Anton Protopopov aspsk2 at gmail.com
Tue Dec 16 14:11:10 UTC 2008


>
> As a general rule the public virDomainPtr objects should not be passed
> down into internal methods. Likewise, when creating / defining a VM,
> the virGetDomain call should be the last one in the normal execution
> path of the method.
>
> Thus, just pass the 'virConnectPtr' instance to
> openvzDomainSetVcpusInternal
> as suggested above, and keep the setVcpusInternal calls above the call
> to virGetDomain.
>
OK, done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081216/6727483d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt_openvz_setvcpusinternal.patch
Type: application/octet-stream
Size: 4011 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081216/6727483d/attachment-0001.obj>


More information about the libvir-list mailing list