block/raw-posix: bdrv_parse_filename() for hdev
commit7af803d4f80efb56c250f16409501994e60adf60
authorMax Reitz <mreitz@redhat.com>
Fri, 7 Mar 2014 23:39:41 +0000 (8 00:39 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 13 Mar 2014 13:42:24 +0000 (13 14:42 +0100)
tree17245f55c795129cd31a9f8924f726fad93553d4
parentf988388025c230ef3293cc0c3820cb40e03adfbf
block/raw-posix: bdrv_parse_filename() for hdev

The "host_device" protocol driver should strip the "host_device:" prefix
from filenames if present.

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