Commit 2a955c4
committed
KVM: x86: Add supported_vm_types to kvm_caps
This simplifies the implementation of KVM_CHECK_EXTENSION(KVM_CAP_VM_TYPES),
and also allows the vendor module to specify which VM types are supported.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240404121327.3107131-9-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 517987e commit 2a955c4
2 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
4629 | 4630 | | |
4630 | 4631 | | |
4631 | 4632 | | |
4632 | | - | |
4633 | | - | |
4634 | | - | |
| 4633 | + | |
4635 | 4634 | | |
4636 | 4635 | | |
4637 | 4636 | | |
| |||
4832 | 4831 | | |
4833 | 4832 | | |
4834 | 4833 | | |
4835 | | - | |
4836 | | - | |
4837 | | - | |
| 4834 | + | |
4838 | 4835 | | |
4839 | 4836 | | |
4840 | 4837 | | |
| |||
9824 | 9821 | | |
9825 | 9822 | | |
9826 | 9823 | | |
| 9824 | + | |
| 9825 | + | |
| 9826 | + | |
9827 | 9827 | | |
9828 | 9828 | | |
9829 | 9829 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments