diff options
author | Bibo Mao <maobibo@loongson.cn> | 2024-09-12 17:56:14 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-09-12 17:56:14 +0300 |
commit | 3abb708ec0be25da16a1ee9f1ab5cbc93f3256f3 (patch) | |
tree | 667cab9b2871b97c38f80e454589edc270f041df /include/linux/iommu.h | |
parent | cdc118f802410525cca872e0861a14d76d12c574 (diff) | |
download | linux-3abb708ec0be25da16a1ee9f1ab5cbc93f3256f3.tar.xz |
LoongArch: KVM: Implement function kvm_para_has_feature()
Implement function kvm_para_has_feature() to detect supported paravirt
features. It can be used by device driver to detect and enable paravirt
features, such as the EIOINTC irqchip driver is able to detect feature
KVM_FEATURE_VIRT_EXTIOI and do some optimization.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions