]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Open by reference will try device then node_name.
authorBenoît Canet <benoit.canet@irqsave.net>
Wed, 12 Feb 2014 16:15:07 +0000 (17:15 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 14 Feb 2014 17:05:39 +0000 (18:05 +0100)
commit0c5e94ee8339e1aa49020466eba232e6f7c31a0a
tree6744c39277ab55efacd9543e573fe853c07b9812
parentdd67fa5052fecf661369540d5f104720f57900a4
block: Open by reference will try device then node_name.

Since we introduced node_name for named bs of the graph modify the opening by
reference to use it as a fallback.

This patch also enforce the separation of the device id and graph node
namespaces.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
blockdev.c