On 9/11/24 2:34 AM, David Hildenbrand wrote:
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" <m...@redhat.com>
Cc: Gavin Shan <gs...@redhat.com>
Cc: Juraj Marcin <jmar...@redhat.com>
Signed-off-by: David Hildenbrand <da...@redhat.com>
---
hw/virtio/virtio-mem.c | 7 +++++++
1 file changed, 7 insertions(+)
Reviewed-by: Gavin Shan <gs...@redhat.com>