From: Roman Kagan Subject: [PATCH v3 0/2] kvm: x86: hyperv: fix userspace interaction flaws Date: Thu, 22 Jun 2017 16:51:00 +0300 Message-ID: <20170622135102.22487-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-db5eur01on0113.outbound.protection.outlook.com ([104.47.2.113]:26112 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750847AbdFVNvI (ORCPT ); Thu, 22 Jun 2017 09:51:08 -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. 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 | 2 +- include/uapi/linux/kvm.h | 2 ++ arch/x86/kvm/hyperv.c | 62 ++++++++++++++++++++++++--------------- arch/x86/kvm/x86.c | 8 ++++- 6 files changed, 69 insertions(+), 25 deletions(-) -- 2.9.4