[Libvir] [PATCH] Fix xen-unified to work in non-root case
Daniel P. Berrange
berrange at redhat.com
Mon Apr 30 15:47:03 UTC 2007
On Mon, Apr 30, 2007 at 12:32:00PM +0100, Richard W.M. Jones wrote:
> Xen-unified introduced a stupid bug, down to me, when running in the
> non-root case. It didn't keep track of which drivers successfully
> opened, so will try and perform operations on drivers which didn't open.
> I suggest that if people approve of the attached patch, then it is
> applied with some urgency.
Looks fine to me - we previously used to keep a list of all active
handles in the virCnnectPtr object - keep a list of flags for the
Xen driver provides equiv capability.
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the libvir-list