diff options
author | Max Reitz <mreitz@redhat.com> | 2015-08-12 17:33:31 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-09-04 20:59:48 +0200 |
commit | bdd03cdf5dc3176bc7169a1d5709303e9279fffb (patch) | |
tree | 0768c677c9eb5f9a79ca050aa7439fff83a6cecc /qemu-img.c | |
parent | 137a905fdf43880c077438d57ef2d319569da9eb (diff) | |
download | qemu-bdd03cdf5dc3176bc7169a1d5709303e9279fffb.zip qemu-bdd03cdf5dc3176bc7169a1d5709303e9279fffb.tar.gz qemu-bdd03cdf5dc3176bc7169a1d5709303e9279fffb.tar.bz2 |
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>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions