OSDN Git Service

atapi: Allow GET_EVENT_STATUS_NOTIFICATION after media change
authorAmit Shah <amit.shah@redhat.com>
Tue, 12 Apr 2011 16:06:03 +0000 (21:36 +0530)
committerKevin Wolf <kwolf@redhat.com>
Wed, 13 Apr 2011 10:19:52 +0000 (12:19 +0200)
commit0c370a35498bf9e300a035864bee7ce8460da669
tree2763cc5f2496a4364e6b5913048a01b5a0f4724e
parent88f2bb58ef97ca269b29fe92bb4834f5ddbcde80
atapi: Allow GET_EVENT_STATUS_NOTIFICATION after media change

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.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c