[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v3 3/3] x86/vmx: implement Notify VM Exit
- To: Pau Monné, Roger <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
- Date: Tue, 19 Jul 2022 08:03:43 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uaihzsmynefoCVA7HkcZN6dgUgOF1fJkgG2oIsBmMds=; b=OPyKaExDCHqunmqVmFocT7kLaYOVfeDJ5FbEFonjisB9fUVgYJqDeESugi2bvOPB5oPq6iqpHMKZARTg7a0U3lmRY5/KKrbVhCz/ujmSPTwlNbNGD2SihOjssDSdqjb4S7Bal/ZIi0JtGL78zgHOGwAj4sp/W7qxg9d+AhAasfmIyUzIpsr70KSc633SIoCoOepL/7igXzXcUSdTbd02UAzk6L2RHso5eKK3jUWELtg45S/hTagj6r0J9ssVt5MtKXN1IBFcqQ5cXYh1QIZSaCfGOqfuUkSL3msMiv/JdN5nsYh1Lwo+3ZRsEfMF52LRObWKNZsinqpcscwOpBDROA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SkVFwMjngpt1YGBirgk+1ntGL5QCk52tmUmbPLc2TetUd2qVW4J5EDgXz/mHH8u3cabgP0HeGTYAZ+USg9DEXkBE7mnD9GvDT5a6gse1h0QqWWG/Uulm+W3EDouVHcTBCb6ZHX9maO2YntLzOECHBe/gse2bXt6nGm6d3Qovw+FpZ8KRCd4OaXhy9T2bT/knxrtbUCUHGZrl2bDn1g5vA4IWQp2gNrEnuXQpuBr2j19FFgMVLoo8d3ih985elAfxKspGcHPyh7SfwkMzlACR+sQRImuuwtbOyvzwJFU+iEnDM2i8D6sU8FeLAqyXYX20yHRxRGLnwZtFwXsOcH6cmQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com;
- Cc: Pau Monné, Roger <roger.pau@xxxxxxxxxx>, "Cooper, Andrew" <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, "Beulich, Jan" <JBeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
- Delivery-date: Tue, 19 Jul 2022 08:03:56 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYjUz0v2qm7nHLtEKNiFhvlgtrma2FaavQ
- Thread-topic: [PATCH v3 3/3] x86/vmx: implement Notify VM Exit
> From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> Sent: Friday, July 1, 2022 9:17 PM
> @@ -4589,6 +4601,22 @@ void vmx_vmexit_handler(struct cpu_user_regs
> *regs)
> */
> break;
>
> + case EXIT_REASON_NOTIFY:
> + __vmread(EXIT_QUALIFICATION, &exit_qualification);
> +
> + if ( exit_qualification & NOTIFY_VM_CONTEXT_INVALID )
> + {
if ( unlikely() )
Apart from that:
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
|