diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-02-06 09:28:01 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-02-06 09:28:01 +0800 |
| commit | 9b486cdd032a90032c6b567ea723595205ca2626 (patch) | |
| tree | 30a0c1ac1e075a1f0a3ee0d30fb037d7b6dbcfa7 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 2faec60a4858bd7fe1bc1419963c6bf030e85706 (diff) | |
LoongArch: KVM: Add paravirt preempt feature in hypervisor side
Feature KVM_FEATURE_PREEMPT is added to show whether vCPU is preempted
or not. It is to help guest OS scheduling or lock checking etc. Here
add KVM_FEATURE_PREEMPT feature and use one byte as preempted flag in
the steal time structure.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
