/nvme/nvme.h
index 739c8b8f79..63747cf967 100644
--- a/hw/nvme/nvme.h
+++ b/hw/nvme/nvme.h
@@ -434,10 +434,11 @@ typedef struct NvmeCtrl {
uint8_t smart_critical_warning;
struct {
-MemoryRegion mem;
-uint8_t *buf;
- bool cmse;
-hwaddr cba
-uint8_t *buf;
- bool cmse;
-hwaddr cba;
+MemoryRegion mem;
+HostMemoryBackend *dev;
+uint8_t *buf;
+bool cmse;
+hwaddrcba;
} cmb;
struct {
--
2.24.3 (Apple Git-128)
>
Adds the optional -cmbdev= option that takes a QEMU memory backend
-object to be used to for the CMB (Controller Memory Buffer).
This option takes precedence over cmb_size_mb= if both used.
(The size will be deduced from the memory backend option).
Signed-off-by: Rick Wertenbroek
---
hw/nvme/ctrl
Adds the optional -cmbdev= option that takes a QEMU memory backend
-object to be used to for the CMB (Controller Memory Buffer).
This option takes precedence over cmb_size_mb= if both used.
(The size will be deduced from the memory backend option).
Signed-off-by: Rick Wertenbroek
---
hw/nvme/ctrl