diff options
author | 2024-09-12 22:56:14 +0800 | |
---|---|---|
committer | 2024-09-12 22:56:14 +0800 | |
commit | 3abb708ec0be25da16a1ee9f1ab5cbc93f3256f3 (patch) | |
tree | 667cab9b2871b97c38f80e454589edc270f041df /scripts/generate_rust_analyzer.py | |
parent | LoongArch: KVM: Enable paravirt feature control from VMM (diff) | |
download | linux-rng-3abb708ec0be25da16a1ee9f1ab5cbc93f3256f3.tar.xz linux-rng-3abb708ec0be25da16a1ee9f1ab5cbc93f3256f3.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions