block/raw-posix: Use raw_normalize_devicepath()
commitbdd03cdf5dc3176bc7169a1d5709303e9279fffb
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Aug 2015 15:33:31 +0000 (12 17:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Sep 2015 18:59:48 +0000 (4 20:59 +0200)
tree0768c677c9eb5f9a79ca050aa7439fff83a6cecc
parent137a905fdf43880c077438d57ef2d319569da9eb
block/raw-posix: Use raw_normalize_devicepath()

The filename given to qemu_open() in block/raw-posix.c should generally
have been processed by raw_normalize_devicepath(); unless we are only
probing (in which case the caller often checks whether the file is a
block device or not, and this property will be changed by
raw_normalize_devicepath() on NetBSD) or it is about a deprecated device
(i.e. floppy).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/raw-posix.c