On Tue, Jun 30, 2009 at 12:31:33PM +0100, Richard W.M. Jones wrote:
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.
Sure. I'm fine
with that. However including the other modules for
SCSI/IDE won't hurt IMHO (they don't take up much space), this can be
helpful for testing the appliance.
Cheers,
-- Guido