]> Git Repo - qemu.git/commit - block/nvme.c
block/nvme: support larger that 512 bytes sector devices
authorMaxim Levitsky <[email protected]>
Tue, 16 Jul 2019 16:30:19 +0000 (19:30 +0300)
committerMax Reitz <[email protected]>
Mon, 22 Jul 2019 16:40:32 +0000 (18:40 +0200)
commit118d1b6a81c7c22023ab1c3aad46d37184d1d838
treef34b6a0632d7e00230060d4a17cc1b5b2cc010ac
parent461bba04bff0b3712a02fe49812b497c758e78da
block/nvme: support larger that 512 bytes sector devices

Currently the driver hardcodes the sector size to 512,
and doesn't check the underlying device. Fix that.

Also fail if underlying nvme device is formatted with metadata
as this needs special support.

Signed-off-by: Maxim Levitsky <[email protected]>
Message-id: 20190716163020[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/nvme.c
This page took 0.02539 seconds and 4 git commands to generate.