On Fri, Aug 22, 2008 at 09:44:47AM +0100, Daniel P. Berrange wrote:
On Thu, Aug 21, 2008 at 03:18:57PM -0400, David Lively wrote:
> Hi -
>
> I'm about to start working on host device enumeration, along the
> (HAL-ish) lines of what was discussed back in April:
>
https://www.redhat.com/archives/libvir-list/2008-April/msg00005.html
>
> I know the xml details haven't been fully fleshed out, but there seems
> to be agreement that it will be a fairly direct mapping from (a subset
> of the) HAL info to the details that we need in the xml. Doubtless it
> will take a while to figure out exactly what subset suffices (and, for
> that matter, if everything needed is available via HAL ...), but I think
> the work is well-defined for some of the obvious details (discussed in
> the above thread) on which there's broad agreement.
>
> Is anyone working on such an implementation?
No one that I'm aware of - so go for it. FYI, one complication has come
up since my initial proposal. HAL is going away, to be replaced by
DeviceKit :-( That said they will co-exist and HAL will be around for
a while and they will both expose very similar properties for devices
so it shouldn't too much trouble. I think we just need to be conservative
when deciding how many of the HAL properties we need to add in libvirt.
I'd go for a pretty minimal set at first.
And HAL based detection might work on more platforms at least
initially like OpenSolaris,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/