diff options
| author | Kevin Wolf | 2016-08-04 14:09:07 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-08-08 13:05:43 +0200 |
| commit | bd7c41765b9afa93a7f1a42e1ee353282230e2b7 (patch) | |
| tree | 3ccf20ae297ffd3156ffb1484ed428f6038c401c /bootdevice.c | |
| parent | Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20160805' into staging (diff) | |
| download | qemu-bd7c41765b9afa93a7f1a42e1ee353282230e2b7.tar.gz qemu-bd7c41765b9afa93a7f1a42e1ee353282230e2b7.tar.xz qemu-bd7c41765b9afa93a7f1a42e1ee353282230e2b7.zip | |
block/qdev: Let 'drive' property fall back to node name
If a qdev block device is created with an anonymous BlockBackend (i.e.
a node name rather than a BB name was given for the drive property),
qdev used to return an empty string when the property was read. This
patch fixes it to return the node name instead.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'bootdevice.c')
0 files changed, 0 insertions, 0 deletions
