kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kvm_read_guest_virt returning unexpected data
@ 2021-07-21 14:20 KVM Man
  0 siblings, 0 replies; only message in thread
From: KVM Man @ 2021-07-21 14:20 UTC (permalink / raw)
  To: kvm

Hi,

I'm making changes to KVM on linux 5.11.4 while using qemu 5.0.0 and
having issues using kvm_read_guest_virt successfully with an x86_64 VM
guest.

I call kvm_read_guest_virt in a VM exit handler, and it returns data
that's unexpected, as compared to what I see with a kernel debugger
attached to the guest. The function returns a successful error code
(X86EMUL_CONTINUE), and I've verified that virtual to physical address
translation is working properly when kvm_read_guest_virt_helper calls
vcpu->arch.walk_mmu->gva_to_gpa.

Are there any reasons that this function would not work as expected?

Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-21 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 14:20 kvm_read_guest_virt returning unexpected data KVM Man

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).