add support for drive ids.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 22 Jul 2009 14:42:58 +0000 (16:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:08:23 +0000 (14:08 -0500)
commitd4d155d2447de7871a63b5c5322907ce329d3a52
tree23ffa374e7c2a043dc545a6e2813afbc0f42ae2c
parent5bcc433461edf45a2e20a4489454e182172e580d
add support for drive ids.

-drive accepts the new id= now, allowing to explicitely name your
drives.  They will show up with that name in "info block" if specified,
otherwise the existing namimg scheme is used to autogenerate one.

There is also a new function to lookup drives by name.  Not used yet.
The plan is to link disk drivers and drives using the drive id instead
of passing around pointers to BlockDriveState.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
sysemu.h
vl.c