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

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

 



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@xxxxxxxxxxxxx   
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.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]