qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] scsi: reset cdrom tray statuses on scsi_disk_re


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] scsi: reset cdrom tray statuses on scsi_disk_reset
Date: Thu, 16 May 2013 18:11:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 16/05/2013 17:48, Pavel Hrdina ha scritto:
> 
> From what I just tested it is the OS-independent HW behavior.
> 
> Tested on desktop:
> 1. Turn off the computer.
> 2. Turn on the computer and after few second open the CD-ROM tray before
> any OS system is loaded and holding the power button turn the computer
> off again. The CD-ROM tray should stay opened.
> 3. Turn on the computer and the CD-ROM tray is automatically closed.

When?  Compared to the BIOS splash screen, for example.

> Next time I'll mention this test in the commit message.

It could mean it is done in the firmware.

What happens when you suspend the QEMU machine to RAM?  I believe the
tray should remain open or, if closed, should remain locked.  Can you
try the same test on bare-metal (hint: boot to emergency mode to bypass
anything that udev can do with locking the tray, then use sg_prevent to
toggle the state).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]