mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
hw/nvme: add knob for CTRATT.MEM
Add a boolean prop (ctratt.mem) for setting CTRATT.MEM and default it to unset (false) to keep existing behavior of the device intact. Reviewed-by: Minwoo Im <minwoo.im@samsung.com> Reviewed-by: Arun Kumar <arun.kka@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
This commit is contained in:
parent
a1ab67883d
commit
e4bcb5865c
2 changed files with 10 additions and 1 deletions
|
@ -538,6 +538,10 @@ typedef struct NvmeParams {
|
|||
uint32_t sriov_max_vq_per_vf;
|
||||
uint32_t sriov_max_vi_per_vf;
|
||||
bool msix_exclusive_bar;
|
||||
|
||||
struct {
|
||||
bool mem;
|
||||
} ctratt;
|
||||
} NvmeParams;
|
||||
|
||||
typedef struct NvmeCtrl {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue