Add virtio disk identification ioctl
authorjohn cooper <john.cooper@redhat.com>
Thu, 25 Mar 2010 05:34:02 +0000 (01:34 -0400)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 12:45:40 +0000 (22:15 +0930)
commit234f2725a5d03f78539f1d36cb32f2c4f9b1822c
tree583925489f277e88f4326bbb7a22018b1c1ceb01
parent4cb2ea28c55cf5e5ef83aec535099ffce3c583df
Add virtio disk identification ioctl

Return serial string to the guest application via
ioctl driver call.

Note this form of interface to the guest userland
was the consensus when the prior version using
the ATA_IDENTIFY came under dispute.

Signed-off-by: john cooper <john.cooper@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c