hw/block/nvme: move device parameters to separate struct
commit1065abfbf1f82cb2f4c8666fde9fae1084222cf9
authorKlaus Jensen <k.jensen@samsung.com>
Tue, 9 Jun 2020 19:03:15 +0000 (9 21:03 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 17 Jun 2020 12:53:40 +0000 (17 14:53 +0200)
tree7bea3bd01c49a3e0c95bb0d31b32f595e319b9d7
parent4920786ee69595137cfae1834798e73f15b402d8
hw/block/nvme: move device parameters to separate struct

Move device configuration parameters to separate struct to make it
explicit what is configurable and what is set internally.

Signed-off-by: Klaus Jensen <klaus.jensen@cnexlabs.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20200609190333.59390-5-its@irrelevant.dk>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c
hw/block/nvme.h