diff options
| author | Max Reitz | 2014-03-08 00:39:44 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-03-13 14:42:25 +0100 |
| commit | cc28c6aa46334be01f3e65a74601ae38f94bd602 (patch) | |
| tree | 58d6d060a1ed7f0f70b8ff8d8eebccf5369f9311 /include/exec/cpu-common.h | |
| parent | block/raw-posix: bdrv_parse_filename() for cdrom (diff) | |
| download | qemu-cc28c6aa46334be01f3e65a74601ae38f94bd602.tar.gz qemu-cc28c6aa46334be01f3e65a74601ae38f94bd602.tar.xz qemu-cc28c6aa46334be01f3e65a74601ae38f94bd602.zip | |
block/raw-posix: Strip protocol prefix on creation
The hdev_create() implementation in block/raw-posix.c is used by the
"host_device", "host_cdrom" and "host_floppy" protocol block drivers
together. Thus, any of the associated prefixes may occur and exactly one
should should be stripped, if it does (thus,
"host_device:host_cdrom:/dev/cdrom" is not shortened to "/dev/cdrom").
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions
