Re: Unexpected behaviour when CDROM ISO can not be read

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

 



On Wed, Jul 27, 2011 at 8:17 AM, Igor Blanco <iblanco@xxxxxxxxx> wrote:
> Hi everyone:
> I had a problem yesterday with a virtual machine and I was not very
> sure to whom I should report it so I much appreciate your opinion
> about it.
> I have a virtual machine that has a couple of CDROM drives attached
> with their ISO image each. The ISOs are read from a NFS mounted
> directory.
>
> Yesterady my NFS storage failed and I turned it off. When I did that
> the Guest machine got frozen, it seemed to me that it was blocked
> waiting for CDROM read. In a physical CDROM if a CD can not be read
> for a while it would give a read error and go on. Is this a QEMU bug ?
> A KVM bug ? An "expected" behaviour ?
>
> Environment:
>
> Host: Proxmox VE 1.8-11 (Debian GNU/Linux 5.0)
> KVM commandline version: QEMU emulator version 0.14.1 (qemu-kvm-devel)
> Guest: Windows 7 professional SP 1
> Executed command line:
>
> /usr/bin/kvm -monitor unix:/var/run/qemu-server/106.mon,server,nowait
> -vnc unix:/var/run/qemu-server/106.vnc,password -pidfile
> /var/run/qemu-server/106.pid -daemonize -usbdevice tablet -name
> machine106 -smp sockets=2,cores=2 -nodefaults -boot menu=on -vga
> cirrus -tdf -k es -drive
> file=/mnt/pve/NFS_iso/cd1.iso,if=ide,index=0,media=cdrom -drive
> file=/mnt/pve/NFS_iso/cd2.iso,if=ide,index=2,media=cdrom -drive

This is probably due to the NFS mount going offline.  It's similar to
when your home directory is over NFS and the server goes away -
programs accessing files will become blocked.

QEMU is designed to perform I/O without blocking the guest but there
are cases today where this is not being done.  This hanging behavior
is a bug and should be fixed.

I suggest filing a bug so this issue is not forgotten:
https://bugs.launchpad.net/qemu

Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux