adlazar

Results 28 comments of adlazar

@qth1991, you'll also need to load the kvm_intel module with nested=0

@wangbaba523, the KVM emulator cannot emulate any instruction, but those instructions that cannot be emulated can be transparently single-stepped. Just track the execute access and allow the access to happen...

From `handle_ept_violation()/kvm_mmu_page_fault()` the instruction (which caused the vmexit) will be emulated. The `write` callbacks (e.g. `emulator_write_phys()`) used by the emulator will call `kvm_page_track_prewrite()` which calls `kvmi_track_prewrite()`. You can find the...

I can't reproduce it unless the gpa/size pair is not _valid_. We use the following function to validate: ``` static bool invalid_page_access(u64 gpa, u64 size) { u64 off = gpa...

https://github.com/KVM-VMI/kvm/pull/25 should fix the issue related to `KVMI_MSG_SIZE`

> > Should we return an error code (as a command reply) instead for this case too? > > I think so. So, returning `EINVAL` when the gpa/pair is not...

I'll queue this change for the next version, because I don't think you need it right now. You still have to use arguments that pass the validation tests in order...

It looks like read data is used for mem access and descriptor access events, while insn data for breakpoint events - https://github.com/hisilicon/Xen/blob/36e29dd9e580cb0f847f5ac1e72afdb5febe3e99/xen/arch/x86/vm_event.c#L184