On (Fri) 08 Apr 2011 [12:45:15], Amit Shah wrote: > After a media change, the only commands allowed from the guest were > REQUEST_SENSE and INQUIRY. The guest may also issue > GET_EVENT_STATUS_NOTIFICATION commands to get media > changed notification. > > After this, the HSM violation messages from Linux guests aren't seen.
This isn't true -- the messages go only if TEST_UNIT_READY is also added to the list. Removed this statement from local copy. > diff --git a/hw/ide/core.c b/hw/ide/core.c > index c11d457..327f703 100644 > --- a/hw/ide/core.c > +++ b/hw/ide/core.c > @@ -1105,10 +1105,11 @@ static void ide_atapi_cmd(IDEState *s) > /* If there's a UNIT_ATTENTION condition pending, only > REQUEST_SENSE and INQUIRY commands are allowed to complete. */ And updated this comment locally as well. Amit