diff options
author | Bibo Mao <maobibo@loongson.cn> | 2024-07-09 16:25:51 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-07-09 16:25:51 +0800 |
commit | b072cbf0233b1fd9d84730cbe5cd1706dcacd354 (patch) | |
tree | 9a11e8858c8eee8ebf5b654b8c95344b2aba5599 /certs | |
parent | 2f56f9ea4dc3892c1265751a1c09038f365107ed (diff) |
LoongArch: KVM: Discard dirty page tracking on readonly memslot
For readonly memslot such as UEFI BIOS or UEFI var space, guest cannot
write this memory space directly. So it is not necessary to track dirty
pages for readonly memslot. Here we make such optimization in function
kvm_arch_commit_memory_region().
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions