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.
This v3 takes a different approach to v2 and v1. It avoids doing the hugepage alignment except for vhost-user: a) Vhost kernel : doesn't need alignment, it's turned off synic won't cause a problem. b) vhost user : Already filters out anything without an fd synic won't cause a problem. (Not tried vhost-user yet, it currently seems broken even without this). This might also cause some other reported problems with vga pages causing similar issues. bz: https://bugzilla.redhat.com/show_bug.cgi?id=1779041 Dr. David Alan Gilbert (2): vhost: Add names to section rounded warning vhost: Only align sections for vhost-user hw/virtio/vhost.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) -- 2.24.1