hw/block/nvme: factor out property/constraint checks
commit54000c66f050ab2aec180e0822c09523057448e7
authorKlaus Jensen <k.jensen@samsung.com>
Tue, 9 Jun 2020 19:03:21 +0000 (9 21:03 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 17 Jun 2020 12:53:40 +0000 (17 14:53 +0200)
tree7df25095c60c23a5af9542c551c3bee37a95fa7b
parente1731e816ad201273ed284fbb9cd51db131fd196
hw/block/nvme: factor out property/constraint checks

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Message-Id: <20200609190333.59390-11-its@irrelevant.dk>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c