commit | 586d708c1e3e5e29a0b3c05c347290aed9478854 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Oct 11 10:39:58 2024 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 17 19:41:30 2024 +0200 |
tree | 222e9776af6c0a9fe20d7f68be249ce63dfaf3bd | |
parent | 60de433d4cb17211dbea5c1e6b74d476dec16370 [diff] |
accel/kvm: check for KVM_CAP_MEMORY_ATTRIBUTES on vm The exact set of available memory attributes can vary by VM. In the future it might vary depending on enabled capabilities, too. Query the extension on the VM level instead of on the KVM level, and only after architecture-specific initialization. Inspired by an analogous patch by Tom Dohrmann. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>