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)
commit1dae12e6d02f8714c04bc0681ef4527980b13a9a
tree23ffa374e7c2a043dc545a6e2813afbc0f42ae2c
parent751c6a17042b5d011013d6963c0505d671cf708e
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