[Ovirt-devel] [PATCH node] Small patch to find disks if hal doesn't return one.
Daniel P. Berrange
berrange at redhat.com
Wed Jan 7 14:46:59 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.
AFAIK HAL copes with VirtIO just fine - it has to because Anaconda asks
HAL for list of disks when it installs an OS. What HAL version do you
see failures on ?
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 ovirt-devel
mailing list