[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Fix incorrect use of private data in remote driver



Hello,

Am Donnerstag 22 Juli 2010 11:37:06 schrieb Daniel P. Berrange:
> For upstream bug
>
>   https://bugzilla.redhat.com/show_bug.cgi?id=576796
>
> The remote driver is using the wrong privateData field in
> a couple of functions. THis is harmless for stateful
> drivers like QEMU/UML/LXC, but will crash with Xen
>
> * src/remote/remote_driver.c: Fix use of privateData field

Your patch seems to fix the problem; doing a quick test doesn't SEGV anymore.
#!/usr/bin/python
import libvirt
c = libvirt.open('xen:///')
n = c.networkLookupByName('default')
n.isPersistent()
n.isActive()

Thank you for your work.
Sincerely

Philipp
-- 
Philipp Hahn           Open Source Software Engineer      hahn univention de   
Univention GmbH        Linux for Your Business        fon: +49 421 22 232- 0
Mary-Somerville-Str.1  28359 Bremen                   fax: +49 421 22 232-99
                                                    http://www.univention.de

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]