Max Reitz cc61b0740f block/nvme: Fix bdrv_refresh_filename()
Currently, nvme's bdrv_refresh_filename() is an exact copy of null's
implementation.  However, for null, "null-co://" and "null-aio://" are
indeed valid filenames -- for nvme, they are not, as a device address is
still required.

The correct implementation should generate a filename of the form
"nvme://[PCI address]/[namespace]" (as the comment above
nvme_parse_filename() describes).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20190201192935.18394-27-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-02-25 15:11:27 +01:00
..
2018-08-31 16:28:33 +02:00
2016-10-07 14:14:06 +02:00
2019-01-04 11:15:09 +00:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2018-02-09 05:05:11 +01:00
2019-02-25 15:11:25 +01:00
2017-07-17 11:34:11 +08:00