Max Reitz cc28c6aa46 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>
2014-03-13 14:42:25 +01:00
..
2014-02-21 21:02:24 +01:00
2013-12-20 16:26:16 +01:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:23 +01:00
2014-02-25 10:50:11 +00:00
2014-02-21 21:02:22 +01:00
2014-02-09 09:12:38 +01:00
2014-02-21 21:02:24 +01:00
2014-02-17 11:57:23 -05:00
2014-02-21 21:02:24 +01:00
2014-02-17 11:57:23 -05:00
2014-02-21 21:02:22 +01:00
2014-02-21 21:02:24 +01:00
2014-01-31 22:05:03 +01:00
2014-02-21 21:02:23 +01:00
2014-02-21 21:02:24 +01:00
2014-02-21 21:02:23 +01:00