[fedora-virt] [RFC/PATCH] libguestfs: build Debian based appliance

Richard W.M. Jones rjones at redhat.com
Tue Jun 30 11:31:33 UTC 2009

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.


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#)

More information about the Fedora-virt mailing list