From patchwork Fri Jun 21 11:30:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 1120189 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IaCWdHW4"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45VcZ304DRz9sBr for ; Fri, 21 Jun 2019 21:55:07 +1000 (AEST) Received: from localhost ([::1]:60010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heI8H-0003TK-0J for incoming@patchwork.ozlabs.org; Fri, 21 Jun 2019 07:55:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49062) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heHkc-0000jn-B1 for qemu-devel@nongnu.org; Fri, 21 Jun 2019 07:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heHkY-0005gX-FB for qemu-devel@nongnu.org; Fri, 21 Jun 2019 07:30:38 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:33987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heHkY-0005d5-8c for qemu-devel@nongnu.org; Fri, 21 Jun 2019 07:30:34 -0400 Received: by mail-wr1-x42d.google.com with SMTP id k11so6260972wrl.1 for ; Fri, 21 Jun 2019 04:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=pHLIgPBm+zklyrM5916BeOxRgjfHZTPjTZ6RZlLuMzk=; b=IaCWdHW4IV7dCwDpC1hZplAfSnDdD3bV0VCJPYoqJvcllvjhgIoQtNZdxdVVXl23FS A9iX/Yq7snHAxu38V1kkoDNnfqIt/Y8XgliYs0DTgtsVS4ot8mJqeeQYiiKXwaQNBfij Rm/uXkENuWIZoI9NTNIZ1NpMFWkUTmp/M7XofDld6Bh+xawDFGAFoqpaFOyqRN4+3gOL HdrSg7u7mNAutQMAY92UcKrwMRGfbOdiVVQTAbc4AF9W0csLZoohpcR9yappuc7Ex1Qt 1BZqQHsq5hnf576gTEU/mieRmRujgaYD440VYwzRQ8tjzkGMPneu1MAMVMtNHp+1JbHf p12w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=pHLIgPBm+zklyrM5916BeOxRgjfHZTPjTZ6RZlLuMzk=; b=QHeO+mktBC59GYSYNHWk9Kc2T8WzWIwDkepwjq+KtGpvDj5BBxa7VZE0/Gz0K1yVih wOojEXx9weF55uIigGnddI7rTY+6HiRNYM0/ad4R99XK6QX8MmlMCqdYJKikUqBNoRz5 07kke+2cZYP1f2FKKg90T+09sW9C4sfLdGLa4BAdgYsiUhuAuhAMs6m0l458yq+9q5zC CN6ZZaJXePyougz3gVUMNRIFamzdJW/YTqaTbxWFsoyQteqpAPOERSdGeiE3s8jVPUTP 7MCWFWjAj+Zw5euZB8aHeovMmlmWah4v8wBVnzuuPJo43/bDe8d7Q4ND08hVafdT4MvO wFZw== X-Gm-Message-State: APjAAAXjD8c6737hpTZtczDwLOvOtiB8GEEior088kSv1vl4Iurli9tv zy2lHOqeN6vCH6VIDsMVAgUMN7E9 X-Google-Smtp-Source: APXvYqzWBcfNvKlZG8fV0mRlLqUDMHOENXFgGIjkemHT8hsIkXcTLSVOsiLoEZ38qFA647kQgxppJw== X-Received: by 2002:a5d:42c5:: with SMTP id t5mr79007378wrr.5.1561116632584; Fri, 21 Jun 2019 04:30:32 -0700 (PDT) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id r3sm2712851wrr.61.2019.06.21.04.30.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 04:30:32 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 21 Jun 2019 13:30:05 +0200 Message-Id: <1561116620-22245-11-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1561116620-22245-1-git-send-email-pbonzini@redhat.com> References: <1561116620-22245-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d Subject: [Qemu-devel] [PULL 10/25] i386/kvm: hv-evmcs requires hv-vapic X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vitaly Kuznetsov Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Vitaly Kuznetsov Enlightened VMCS is enabled by writing to a field in VP assist page and these require virtual APIC. Signed-off-by: Vitaly Kuznetsov Message-Id: <20190517141924.19024-9-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini --- target/i386/kvm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 1dfa282..86de510 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -790,7 +790,8 @@ static struct { .flags = { {.fw = FEAT_HV_RECOMM_EAX, .bits = HV_ENLIGHTENED_VMCS_RECOMMENDED} - } + }, + .dependencies = BIT(HYPERV_FEAT_VAPIC) }, [HYPERV_FEAT_IPI] = { .desc = "paravirtualized IPI (hv-ipi)",