aboutsummaryrefslogtreecommitdiff
path: root/hw/i386
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2020-01-16 20:24:14 +0000
committerMichael S. Tsirkin <mst@redhat.com>2020-01-22 00:50:03 -0500
commit76525114736e8f669766e69b715fa59ce8648aae (patch)
tree41b24153bb9b882e39e79ccfa04c44d4ae39b1e3 /hw/i386
parentff4776147e960b128ee68f94c728659f662f4378 (diff)
downloadqemu-76525114736e8f669766e69b715fa59ce8648aae.zip
qemu-76525114736e8f669766e69b715fa59ce8648aae.tar.gz
qemu-76525114736e8f669766e69b715fa59ce8648aae.tar.bz2
vhost: Only align sections for vhost-user
I added hugepage alignment code in c1ece84e7c9 to deal with vhost-user + postcopy which needs aligned pages when using userfault. However, on x86 the lower 2MB of address space tends to be shotgun'd with small fragments around the 512-640k range - e.g. video RAM, and with HyperV synic pages tend to sit around there - again splitting it up. The alignment code complains with a 'Section rounded to ...' error and gives up. Since vhost-user already filters out devices without an fd (see vhost-user.c vhost_user_mem_section_filter) it shouldn't be affected by those overlaps. Turn the alignment off on vhost-kernel so that it doesn't try and align, and thus won't hit the rounding issues. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20200116202414.157959-3-dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386')
0 files changed, 0 insertions, 0 deletions