OSDN Git Service

ide: Add wwn support to IDE-ATAPI drive
authorJohn Snow <jsnow@redhat.com>
Tue, 19 Aug 2014 18:57:55 +0000 (14:57 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 8 Sep 2014 10:12:44 +0000 (11:12 +0100)
commitc5fe97e359bf03db9a005433092f25d27d57398f
tree768c98eb542de305fc954a838cd7cbc916c20aff
parent0142f88bff3dd5cb819c9900da1c1e0a4aae9c44
ide: Add wwn support to IDE-ATAPI drive

Although it is possible to specify the wwn
property for cdrom devices on the command line,
the underlying driver fails to relay this information
to the guest operating system via IDENTIFY.

This is a simple patch to correct that.

See ATA8-ACS, Table 22 parts 5, 6, and 9.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/core.c