From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web11.3437.1591866489593421560 for ; Thu, 11 Jun 2020 02:08:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=K7EFfiq+; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591866488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YEiWDdmFxtWX+1H6bv912PdyfpUMErU05PzaqRqpS/E=; b=K7EFfiq+K8jRihyrhuy83V+ZV71kAUUMY2E/tZV+xqSuNy+F6h2ye2UuEWgM/DY7b2T+cO aK8gx5Z/SLap31CocKkDatwFtVCkjmN3jIW8+RXvCtbO5C4vUZyc7TL5nZy4BCbkTgSCu0 7ZwmYEMyme//rWVsjEyRv210RrIj0rY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-156-F6qdFlWZNgmekNLHr3pr0Q-1; Thu, 11 Jun 2020 05:08:06 -0400 X-MC-Unique: F6qdFlWZNgmekNLHr3pr0Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5B4C1872FE1; Thu, 11 Jun 2020 09:08:05 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-21.ams2.redhat.com [10.36.114.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CFC65D9D3; Thu, 11 Jun 2020 09:08:03 +0000 (UTC) Subject: Re: [PATCH v9 22/46] OvmfPkg/VmgExitLib: Add support for VMMCALL NAE events To: Tom Lendacky , devel@edk2.groups.io Cc: Brijesh Singh , Ard Biesheuvel , Eric Dong , Jordan Justen , Liming Gao , Michael D Kinney , Ray Ni References: <715099f1f78e3e59cfff3e48c0c1572e3a3942ad.1591363657.git.thomas.lendacky@amd.com> From: "Laszlo Ersek" Message-ID: Date: Thu, 11 Jun 2020 11:08:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <715099f1f78e3e59cfff3e48c0c1572e3a3942ad.1591363657.git.thomas.lendacky@amd.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 06/05/20 15:27, Tom Lendacky wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 > > Under SEV-ES, a VMMCALL intercept generates a #VC exception. VMGEXIT must > be used to allow the hypervisor to handle this intercept. > > Cc: Jordan Justen > Cc: Laszlo Ersek > Cc: Ard Biesheuvel > Acked-by: Laszlo Ersek > Signed-off-by: Tom Lendacky > --- > OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c | 48 ++++++++++++++++++++ > 1 file changed, 48 insertions(+) looks OK