Alberto Garcia 9b2aa84f87 block: add bdrv_get_device_or_node_name()
This function gets the device name associated with a BlockDriverState,
or its node name if the device name is empty.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 4fa30aa8d61d9052ce266fd5429a59a14e941255.1428485266.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-04-28 15:36:09 +02:00
..
2015-04-28 15:36:09 +02:00
2015-02-06 17:24:21 +01:00
2014-12-10 10:31:19 +01:00
2015-04-28 15:36:09 +02:00
2015-03-19 11:11:55 +03:00
2015-04-28 15:36:08 +02:00
2015-04-28 15:36:08 +02:00
2015-02-16 15:07:19 +00:00
2015-04-28 15:36:08 +02:00
2014-08-15 15:07:14 +02:00
2015-04-28 15:36:09 +02:00
2015-02-16 15:07:17 +00:00