x86/kvm/hyper-v: Add support for synthetic debugger via hypercalls
authorJon Doron <arilou@gmail.com>
Fri, 29 May 2020 13:45:42 +0000 (16:45 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:11 +0000 (04:26 -0400)
commitb187038b5e3f8404dbafce89fd169e66fe604df4
treeafa04fef30175b33e67c3ce58d33c31f64d3f6d0
parent45c38973ed1868b8448079edd48bf24ab8b326fa
x86/kvm/hyper-v: Add support for synthetic debugger via hypercalls

There is another mode for the synthetic debugger which uses hypercalls
to send/recv network data instead of the MSR interface.

This interface is much slower and less recommended since you might get
a lot of VMExits while KDVM polling for new packets to recv, rather
than simply checking the pending page to see if there is data avialble
and then request.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20200529134543.1127440-6-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c