]> git.ipfire.org Git - thirdparty/qemu.git/commit
IDE: Fill the IDENTIFY request consistently
authorJohn Snow <jsnow@redhat.com>
Fri, 5 Sep 2014 03:42:16 +0000 (23:42 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 8 Sep 2014 10:12:44 +0000 (11:12 +0100)
commit4bf6637d35723f92e03f427c78d7ad130be41e6f
tree372d6826bf6b26e9dc81d8c2d6d4f88cc0ca6e47
parentb6b1d31f098eef8cd13556d343e46c213fac972a
IDE: Fill the IDENTIFY request consistently

IDE-HD, IDE-ATAPI and IDE-CFATA all fill the
identify buffer in slightly different ways,
this is a relatively minor patch to make them
uniform, to emphasize that:

(1) We build the s->identify_data cache first, then
(2) We copy it to s->io_buffer to fulfill the request.

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