aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k/next-cube.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-09-10 18:34:33 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-09-11 09:46:14 -0400
commit95b717a8154b955de2782305f305b63f357b0576 (patch)
treea3655586a2db45f32ae54c0b44d5165dd1ccba4a /hw/m68k/next-cube.c
parent7fc6611cad3e9627b23ce83e550b668abba6c886 (diff)
downloadqemu-95b717a8154b955de2782305f305b63f357b0576.zip
qemu-95b717a8154b955de2782305f305b63f357b0576.tar.gz
qemu-95b717a8154b955de2782305f305b63f357b0576.tar.bz2
virtio-mem: don't warn about THP sizes on a kernel without THP support
If the config directory in sysfs does not exist at all, we are dealing with a system that does not support THPs. Simply use 1 MiB block size then, instead of warning "Could not detect THP size, falling back to ..." and falling back to the default THP size. Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Gavin Shan <gshan@redhat.com> Cc: Juraj Marcin <jmarcin@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20240910163433.2100295-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/m68k/next-cube.c')
0 files changed, 0 insertions, 0 deletions