Re: [Qemu-devel] [PATCH] RFC: mark non-volatile memory region

2018-09-20 Thread Michael S. Tsirkin
On Thu, Sep 20, 2018 at 07:17:30PM +0400, Marc-André Lureau wrote: > This is RFC patch to show how NVDIMM could set a flag on the > MemoryRegion that would be propagated down to the flat view. > > This way, guest_phys_blocks_region_add() can skip the NV memory > regions for dumps and TCG memory cl

[Qemu-devel] [PATCH] RFC: mark non-volatile memory region

2018-09-20 Thread Marc-André Lureau
This is RFC patch to show how NVDIMM could set a flag on the MemoryRegion that would be propagated down to the flat view. This way, guest_phys_blocks_region_add() can skip the NV memory regions for dumps and TCG memory clear. qemu-system-x86_64 -machine pc,nvdimm -m 2G,slots=4,maxmem=16G -enable-