| commit | a7701b61f62ecef787ec4c64569bf5a1e892197c | [log] [tgz] |
|---|---|---|
| author | Bibo Mao <maobibo@loongson.cn> | Tue May 14 10:51:09 2024 +0800 |
| committer | Song Gao <gaosong@loongson.cn> | Thu May 23 09:30:41 2024 +0800 |
| tree | d06a6ac099f4253a8eca51b997aad67f59873a86 | |
| parent | 07c0866103d4aa2dd83c7c3e7898843e28e3893a [diff] |
hw/loongarch: Add VM mode in IOCSR feature register in kvm mode If VM runs in kvm mode, VM mode is added in IOCSR feature register. So guest can detect kvm hypervisor type and enable possible pv functions. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240514025109.3238398-1-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>