|
From: | Andrzej Jakowski |
Subject: | Re: [PATCH v3] block/nvme: introduce PMR support from NVMe 1.4 spec |
Date: | Fri, 20 Mar 2020 10:48:10 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 3/20/20 8:45 AM, Stefan Hajnoczi wrote: > Please use qemu_ram_writeback() so that pmem_persist() and qemu_msync() > are used as appropriate. Thx! qemu_ram_writeback() doesn't return any status. How can I know that actual msync succeds? Also qemu_ram_writeback() requires me to include #include "exec/ram_addr.h". After including it when I compile code I'm getting following error: In file included from hw/block/nvme.c:49: /root/sources/pmr/qemu/include/exec/ram_addr.h:23:10: fatal error: cpu.h: No such file or directory 23 | #include "cpu.h" | ^~~~~~~ compilation terminated. make: *** [/root/sources/pmr/qemu/rules.mak:69: hw/block/nvme.o] Error 1 Why this is happening and what should be changed.
[Prev in Thread] | Current Thread | [Next in Thread] |