On Tue, Jun 30, 2009 at 12:19:33PM +0200, Guido Günther wrote:
Hi Rich,
On Tue, Jun 30, 2009 at 10:01:59AM +0100, Richard W.M. Jones wrote:
> This one is a bit of trouble. It broke Fedora support, but I think
> was just because the sym53c8xx.ko module was missing from my
> appliance. I'm going to try with that.
Attached patch has what I came up with to support most of QEMUs hardware
as used by the appliance.
[...]
The problem here is that the "blockdev /dev/sda" call fails
since sda is
missing completely with udev. Without having looked at this further I
assume that libguestfs internally expects the blockdev call to succeed
since it assumes /dev/sda is there due to static device node creation.
However if we switch to if=scsi this will work anyways.
Actually the problem was just down to the devices taking a long time
to initialize. We would need to call/load 'scsi_wait_scan.ko' and
use 'udevadm settle'.
I think, however, we should just use virtio (virtio_blk.ko). This is
faster, more reliable, and available everywhere we care about.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora