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

Re: [Libguestfs] cdrom device handling

On Fri, Oct 12, 2012 at 04:13:56PM +0200, Olaf Hering wrote:
> Is there a way for the tools to provide a configured cdrom as cdrom to
> the temporary guest? Right now both disk and cdrom retrived from libvirt
> will showup as disks in the temporary guest.

I'm not clear if this is a libvirt question or a libguestfs question?
But proceeding on the basis that it's about virt-rescue ...

> This happens for bus ide and scsi. It seems on my test system the guest
> can not start from a scsi disk, but the scsi cdrom appears as scsi cdrom
> in the guest. So I think its maybe just a matter of generating '<disk
> type='file' device='cdrom'>' instead of '<disk type='file'
> device='disk'>'?
> I'm using this command, which works ok for me:
> virt-rescue -v -c qemu+ssh:///system  -d opensuse12 -r

virt-rescue should come up with the disk and CD-ROM as /dev/sda and
/dev/sdb respectively.  This should be enough to read the data off the
CD (/dev/sdb).  What else would you want to do?


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.

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