[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] Order of list-devices changes when libguestfs uses virtio

On Mon, Feb 08, 2010 at 05:15:27PM +0000, Matthew Booth wrote:
> Output from guestfish after upgrading to rawhide libguestfs, compiled
> with virtio:
> ><fs> add_drive "/dev/Guests/RHEL52PV32"
> ><fs> add_cdrom "/var/lib/virt-v2v/transfer.iso"
> ><fs> launch
> ><fs> list-devices
> /dev/sr0
> /dev/vda
> Note that the order has swapped. If these aren't consistent we don't
> have a good way to determine which host devices map to which guest devices.

This is not good.


qemu -drive has a serial=... option.  I'm not clear what it does, but
if there is a way to assign a UUID to the device on the host side, and
read that from the guest then we should be able to restore the


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]