Add virtio disk identification support
commit2930b313dd602d67a568815b0b031b824916cec9
authorjohn cooper <john.cooper@redhat.com>
Fri, 2 Jul 2010 17:44:25 +0000 (2 13:44 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Jul 2010 15:05:49 +0000 (6 17:05 +0200)
tree37d336bbe2b5a382a5dc53bc3135cb965226fb33
parent9ac228e02cf16202547e7025ef300369e0db7781
Add virtio disk identification support

This patch adds the final missing bits for support of
passing a serial/id string to a virtio-blk guest driver.

The guest-side component already exists in the virtio
driver, and has recently been reworked by Ryan to export
a /sys interface for retrieval of the id from guest userland.

Signed-off-by: john cooper <john.cooper@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/virtio-blk.c
hw/virtio-blk.h