On Thu, Feb 01, 2018 at 02:48:20PM +0200, Michael S. Tsirkin wrote: [...]
> > > > > PFN is GPA>>12. Do you have more than 1<<44 bytes of memory in this > > > > > VM then? > > > > > > > > No. But isn't it still not good to drop the page at offset zero (and > > > > drop it NNN times)? > > > > > > Absolutely - looks like a bug. I just don't know why does this happen. > > > > IMHO if we are using a PFN array like this: > > > > u64 pfn_array[]; > > > > In the windows guest driver, then we'll see this (as mentioned > > above). But for sure this is wild guess of mine. > > I don't see code like this anywhere in the windows balloon > driver. It's here: > https://github.com/virtio-win/kvm-guest-drivers-windows.git Thanks for the pointer. I had a quick glance, the PFN array is defined as: PPFN_NUMBER pfns_table; But I don't know what's sizeof(PPFN_NUMBER). :( -- Peter Xu