Skip to content

Fix hyperv synic on vhost

Dr. David Alan Gilbert (git) qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesIn review
  2. v23 patches 9 repliesSuperseded
  3. v12 patches 32 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: Add names to section rounded warninghw/virtio/vhost.c+4 -30 replies
2/2vhost: Only align sections for vhost-userhw/virtio/vhost.c+18 -166 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Fix hyperv synic on vhost

From: "Dr. David Alan Gilbert" <[email protected]>

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(-)
Signature · 1 line
2.24.1