mirror of https://github.com/xemu-project/xemu.git
hw/block/nvme: Fix pmrmsc register size
The Persistent Memory Region Controller Memory Space Control
register is 64-bit wide. See 'Figure 68: Register Definition'
of the 'NVM Express Base Specification Revision 1.4'.
Fixes: 6cf9413229
("introduce PMR support from NVMe 1.4 spec")
Reported-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200630110429.19972-4-philmd@redhat.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
This commit is contained in:
parent
e989738f3a
commit
af4a367d15
|
@ -21,7 +21,7 @@ typedef struct QEMU_PACKED NvmeBar {
|
|||
uint32_t pmrsts;
|
||||
uint32_t pmrebs;
|
||||
uint32_t pmrswtp;
|
||||
uint32_t pmrmsc;
|
||||
uint64_t pmrmsc;
|
||||
} NvmeBar;
|
||||
|
||||
enum NvmeCapShift {
|
||||
|
|
Loading…
Reference in New Issue