[libvirt] About node device enumeration problem

Daniel P. Berrange berrange at redhat.com
Mon Nov 30 10:07:50 UTC 2009


On Fri, Nov 27, 2009 at 01:46:40PM +0100, Daniel Veillard wrote:
> On Fri, Nov 27, 2009 at 06:03:30PM +0800, ajia wrote:
> > Hi all,
> > I saw two sets of node device enumeration implementation in
> > libvirt-0.7.4 source code:
> > 1.libudev implementation
> > 2.HAL-based implementation
> > 
> > I want to know which kind is used in libvirt.if both are used, which
> > kinds solution is better?
> 
>   Depends on the host OS. For Fedora 12 and RHEL-6 , then libvirt
> if 0.7.4 or later will be compiled with udev. If not it will fallback
> to hal
> 
>   It's more a question of what method s supported on the host OS rather
> than picking one or the other, libvirt will just use the preferred
> method.

The reason for the switch is that HAL has been deprecated as of Fedora 12,
with udev being the recommended replacement. Hence libvirt has been updted
to follow recommended practice in new enough distros.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list