atapi: GESN: Standardise event response handling for future additions
commit0af63ba3629e6f826846a73636ca391a810b2c6e
authorAmit Shah <amit.shah@redhat.com>
Tue, 12 Apr 2011 16:06:06 +0000 (12 21:36 +0530)
committerKevin Wolf <kwolf@redhat.com>
Wed, 13 Apr 2011 10:20:39 +0000 (13 12:20 +0200)
tree06ad53a94202e4fea3d38c1782613be1ddbefde8
parent8f8e834d70216372619b79a10392cdf208bbd3d0
atapi: GESN: Standardise event response handling for future additions

Handle GET_EVENT_STATUS_NOTIFICATION's No Event Available response in a
generic way so that future additions to the code to handle other
response types is easier.

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