From: Roman Kagan Subject: [PATCH v4 0/2] kvm: x86: hyperv: fix userspace interaction flaws Date: Fri, 14 Jul 2017 17:13:18 +0300 Message-ID: <20170714141320.23771-1-rkagan@virtuozzo.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Evgeny Yakovlev , "Denis V . Lunev" , Eduardo Habkost , Igor Mammedov To: kvm@vger.kernel.org, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Paolo Bonzini Return-path: Received: from mail-eopbgr40108.outbound.protection.outlook.com ([40.107.4.108]:7079 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754299AbdGNONd (ORCPT ); Fri, 14 Jul 2017 10:13:33 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patchset contains fixes for two hyperv implementation flaws in KVM that surfaced when the userspace (QEMU) started to use it more actively. In both cases more control is delegated from KVM to userspace. v3 -> v4: - fix too early vp_index initialization v2 -> v3: - add documentation - add handling of args[0] to KVM_CAP_HYPERV_SYNIC2 v1 -> v2: - add patch 1 - add capability in patch 2 Roman Kagan (2): kvm: x86: hyperv: add KVM_CAP_HYPERV_SYNIC2 kvm: x86: hyperv: make VP_INDEX managed by userspace Documentation/virtual/kvm/api.txt | 18 +++++++++++ arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/hyperv.h | 3 +- include/uapi/linux/kvm.h | 2 ++ arch/x86/kvm/hyperv.c | 67 +++++++++++++++++++++++++-------------- arch/x86/kvm/x86.c | 10 +++++- 6 files changed, 77 insertions(+), 25 deletions(-) -- 2.13.0