On 10/21/2011 01:54 PM, Kevin Wolf wrote:
This adds support for media change notification via the GET EVENT STATUS
>  NOTIFICATION command, used by Linux versions 2.6.38 and newer.
>
>  Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>
Looks good, but the ATAPI version of the code is somewhat nicer to read.

Yeah, on the other hand even the ATAPI version has a mix of structs and buffers (in event_status_media, which also assumes sizeof gesn_event_header == 4).

Paolo

Reply via email to