hw/block/nvme: fix warning about legacy namespace configuration
commitf447f92c886576ebc7e2354e3af443760966e514
authorKlaus Jensen <k.jensen@samsung.com>
Tue, 23 Mar 2021 21:12:36 +0000 (23 22:12 +0100)
committerKlaus Jensen <k.jensen@samsung.com>
Wed, 7 Apr 2021 08:46:47 +0000 (7 10:46 +0200)
tree2188cfd7ef9b8d09a3bfa27268726bcb0660a1da
parentdae8be368e7b9ad36bc8af1cd365d28b199a6502
hw/block/nvme: fix warning about legacy namespace configuration

Remove the unused BlockConf from the controller structure and remove the
noop constraint checking.

Device works just fine with both legacy drive parameter namespace and
nvme-ns namespace definitions.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
hw/block/nvme.c
hw/block/nvme.h