machine, hostmem: improve error messages for unsupported features
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Jun 2024 09:33:06 +0000 (11:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 8 Jun 2024 08:33:38 +0000 (10:33 +0200)
commita2b6a96505097c54f5db4c77f66e9c47af4dad22
tree4114a9480dc28e305404575b3e40b9ae953fec70
parent5d9a9a617053a97a76ef332896c386d8fc895631
machine, hostmem: improve error messages for unsupported features

Detect early unsupported MADV_MERGEABLE and MADV_DONTDUMP, and print a clearer
error message that points to the deficiency of the host.

Cc: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
backends/hostmem.c
hw/core/machine.c