Re: [PATCH v1 3/5] memory-device: Support big alignment requirements

2020-09-25 Thread Pankaj Gupta
> Let's warn instead of bailing out - the worst thing that can happen is > that we'll fail hot/coldplug later. The user got warned, and this should > be rare. > > This will be necessary for memory devices with rather big (user-defined) > alignment requirements - say a virtio-mem device with a 2G bl

[PATCH v1 3/5] memory-device: Support big alignment requirements

2020-09-23 Thread David Hildenbrand
Let's warn instead of bailing out - the worst thing that can happen is that we'll fail hot/coldplug later. The user got warned, and this should be rare. This will be necessary for memory devices with rather big (user-defined) alignment requirements - say a virtio-mem device with a 2G block size -