[Ovirt-devel] [PATCH node] Small patch to find disks if hal doesn't return one.

Darryl L. Pierce dpierce at redhat.com
Wed Jan 7 14:49:50 UTC 2009


On Wed, Jan 07, 2009 at 09:41:41AM -0500, Perry Myers wrote:
> Daniel P. Berrange wrote:
>> On Tue, Jan 06, 2009 at 03:32:29PM -0500, Darryl L. Pierce wrote:
>>> If hal does not return any devices with the storage capability, and
>>> that's of type disk and block, then the script will grab all devices
>>> that meets the pattern /dev/[shv]d? and show them.
>>>
>>> Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
>>
>> Errr, Why ?  If HAL doesn't find the disk, then we need to fix
>> HAL and not go poking around in /dev ourselves. 
>
> Agree, but this is a short term fix.  This only happens for virtio based  
> disks (i.e. vda) on the 'fake' Node.
>
> We can follow up and fix Hal as well.

I've already sent an email to someone on the HAL team asking if they
have plans to better support virtual hardware. In the meantime I'll see
about submitting a patch to do this if I can.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
"What do you care what other people think, Mr. Feynman?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090107/df50ec30/attachment.sig>


More information about the ovirt-devel mailing list