OSDN Git Service

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

Add support for Hyper-V synthetic debugger (syndbg) interface.
The syndbg interface is using MSRs to emulate a way to send/recv packets
data.

The debug transport dll (kdvm/kdnet) will identify if Hyper-V is enabled
and if it supports the synthetic debugger interface it will attempt to
use it, instead of trying to initialize a network adapter.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20200529134543.1127440-4-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/api.rst
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/hyperv.c
arch/x86/kvm/hyperv.h
arch/x86/kvm/trace.h
arch/x86/kvm/x86.c
include/uapi/linux/kvm.h