diff options
author | Dr. David Alan Gilbert | 2020-01-16 21:24:14 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-01-22 06:50:03 +0100 |
commit | 76525114736e8f669766e69b715fa59ce8648aae (patch) | |
tree | 41b24153bb9b882e39e79ccfa04c44d4ae39b1e3 /tests/data | |
parent | vhost: Add names to section rounded warning (diff) | |
download | qemu-76525114736e8f669766e69b715fa59ce8648aae.tar.gz qemu-76525114736e8f669766e69b715fa59ce8648aae.tar.xz qemu-76525114736e8f669766e69b715fa59ce8648aae.zip |
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 'tests/data')
0 files changed, 0 insertions, 0 deletions