commit | fcd97ad58f76efcd58808941e4dd2bc6c544b9de | [log] [tgz] |
---|---|---|
author | Peter Xu <peterx@redhat.com> | Thu Jan 09 09:57:12 2020 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 27 19:59:52 2020 +0100 |
tree | 5dd4881c265a5b2dcc72ce056de2c359cd6822e3 | |
parent | ef82eddc0e3179b4529a67ed102fe4f7efba2e65 [diff] |
KVM: Add build-time error check on kvm_run size It's already going to reach 2400 Bytes (which is over half of page size on 4K page archs), so maybe it's good to have this build-time check in case it overflows when adding new fields. Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>