• A
    kvm/x86: Hyper-V VMBus hypercall userspace exit · 83326e43
    Andrey Smetanin 提交于
    The patch implements KVM_EXIT_HYPERV userspace exit
    functionality for Hyper-V VMBus hypercalls:
    HV_X64_HCALL_POST_MESSAGE, HV_X64_HCALL_SIGNAL_EVENT.
    
    Changes v3:
    * use vcpu->arch.complete_userspace_io to setup hypercall
    result
    
    Changes v2:
    * use KVM_EXIT_HYPERV for hypercalls
    Signed-off-by: NAndrey Smetanin <asmetanin@virtuozzo.com>
    Reviewed-by: NRoman Kagan <rkagan@virtuozzo.com>
    CC: Gleb Natapov <gleb@kernel.org>
    CC: Paolo Bonzini <pbonzini@redhat.com>
    CC: Joerg Roedel <joro@8bytes.org>
    CC: "K. Y. Srinivasan" <kys@microsoft.com>
    CC: Haiyang Zhang <haiyangz@microsoft.com>
    CC: Roman Kagan <rkagan@virtuozzo.com>
    CC: Denis V. Lunev <den@openvz.org>
    CC: qemu-devel@nongnu.org
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    83326e43
hyperv.c 28.0 KB