Jason Wang <jasow...@redhat.com> writes: > On 2020/1/8 下午9:53, Dr. David Alan Gilbert (git) wrote: >> From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> >> >> Hyperv's synic (that we emulate) is a feature that allows the guest >> to place some magic (4k) pages of RAM anywhere it likes in GPA. >> This confuses vhost's RAM section merging when these pages >> land over the top of hugepages. > > > Hi David: > > A silly question, is this because the alignment when adding sections? If > yes, what's the reason for doing alignment which is not a must for vhost > memory table.
SynIC regions are two 4k pages and they are picked by the guest, not the host. These can be anywhere in guest's ram. -- Vitaly