+29
−26
Loading
mainline inclusion from mainline-v6.11-rc1 commit b4ba157044ea433a66126603ad7140e12dbc794b category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAZJDO CVE: NA -------------------------------- Add ParaVirt steal time feature in host side, VM can search supported features provided by KVM hypervisor, a feature KVM_FEATURE_STEAL_TIME is added here. Like x86, steal time structure is saved in guest memory, one hypercall function KVM_HCALL_FUNC_NOTIFY is added to notify KVM to enable this feature. One CPU attr ioctl command KVM_LOONGARCH_VCPU_PVTIME_CTRL is added to save and restore the base address of steal time structure when a VM is migrated. Signed-off-by:Bibo Mao <maobibo@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn> Signed-off-by:
Xianglai Li <lixianglai@loongson.cn>