diff options
author | David Hildenbrand <david@redhat.com> | 2021-10-11 19:33:05 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-06 04:16:58 -0500 |
commit | 7656d9ce09cb1d6d76eeb2081f164a920361d1d3 (patch) | |
tree | b643f50cfa3da9173fd9809428cad0169a2292fd /hw/display/vhost-user-gpu.c | |
parent | 7d4ae4d4978079d564d3b6354c90a949130409fe (diff) |
virtio-mem: Don't skip alignment checks when warning about block size
If we warn about the block size being smaller than the default, we skip
some alignment checks.
This can currently only fail on x86-64, when specifying a block size of
1 MiB, however, we detect the THP size of 2 MiB.
Fixes: 228957fea3a9 ("virtio-mem: Probe THP size to determine default block size")
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20211011173305.13778-1-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/display/vhost-user-gpu.c')
0 files changed, 0 insertions, 0 deletions