Re: [Qemu-devel] [PATCH v3 0/2] hostmem-file: reject invalid pmem file sizes

2019-02-14 Thread Pankaj Gupta
> > v3: > * Added Patch 1 by Igor [Wei] > * Moved pmem size check after mem_path check [Wei] > > Guests started with NVDIMMs larger than the underlying host file produce > confusing errors inside the guest. This happens because the guest > accesses pages beyond the end of the file. > > Che

[Qemu-devel] [PATCH v3 0/2] hostmem-file: reject invalid pmem file sizes

2019-02-13 Thread Stefan Hajnoczi
v3: * Added Patch 1 by Igor [Wei] * Moved pmem size check after mem_path check [Wei] Guests started with NVDIMMs larger than the underlying host file produce confusing errors inside the guest. This happens because the guest accesses pages beyond the end of the file. Check the pmem file size on