[PATCH] KVM: x86: get smi pending status correctly

2021-01-18 Thread Jay Zhou
KVM_GET_VCPU_EVENTS ioctl at the downtime, then the smi pending status will be lost. Signed-off-by: Jay Zhou Signed-off-by: Shengen Zhuang --- arch/x86/kvm/x86.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 9a8969a..9025c76 100644 --- a/arch/

[PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-20 Thread Jay Zhou
From: Ming Mao Hi all, I'm working on starting lots of big size Virtual Machines(memory: >128GB) with VFIO-devices. And I encounter a problem that is the waiting time of starting all Virtual Machines is too long. I analyze the startup log and find that the time of pinning/unpinning pages could

Re: [Qemu-devel] [PATCH 0/7] KVM: MMU: fast write protect

2017-06-05 Thread Jay Zhou
ry_global_dirty_log_stop(void); +typedef void (*write_protect_all_fn)(bool write); +void memory_register_write_protect_all(write_protect_all_fn func); + void mtree_info(fprintf_function mon_printf, void *f); -- Best Regards, Jay Zhou

Re: [Qemu-devel] [PATCH 0/7] KVM: MMU: fast write protect

2017-06-05 Thread Jay Zhou
bal_dirty_log_stop(void); +typedef void (*write_protect_all_fn)(bool write); +void memory_register_write_protect_all(write_protect_all_fn func); + void mtree_info(fprintf_function mon_printf, void *f); -- Best Regards, Jay Zhou