From: Paolo Bonzini Subject: Re: [PATCH v3 0/2] kvm: x86: hyperv: fix userspace interaction flaws Date: Fri, 23 Jun 2017 12:54:25 +0200 Message-ID: <1119f913-149c-26dc-4078-ffe77f716895@redhat.com> References: <20170622135102.22487-1-rkagan@virtuozzo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Evgeny Yakovlev , "Denis V . Lunev" , Eduardo Habkost , Igor Mammedov To: Roman Kagan , kvm@vger.kernel.org, =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42916 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754209AbdFWKyf (ORCPT ); Fri, 23 Jun 2017 06:54:35 -0400 In-Reply-To: <20170622135102.22487-1-rkagan@virtuozzo.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 22/06/2017 15:51, Roman Kagan wrote: > 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(-) > Looks good, thanks. Paolo