[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/monitor: don't open-code hvm_has_set_descriptor_access_exiting()
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Alexandru Stefan ISAILA <aisaila@xxxxxxxxxxxxxxx>
- Date: Thu, 9 Dec 2021 09:09:02 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bitdefender.com; dmarc=pass action=none header.from=bitdefender.com; dkim=pass header.d=bitdefender.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=4QGP/vuZvwRCxBsdJHflUdAsOsqAws43qUT0bTSD5E4=; b=TziW0paVBW+Pa0xW5v2PIDaSx7REYp/qaiktg3ynWM/8DwCvXnz4Q8R70jEp5GkYfISyDeQV6GGRNYWHdcglWTrl7x94nE4fYwDoIgyce+a/73N+DB7hz+KO+mRWQl7RZqkBRdGQxFAZzpeFa7AcraZ3BFr5HLc3l0poJCUY0SBMh1U6lYbBQhs0atHC2xTjBBeOzVNTSZigGDFKx4KJFZDBRJ5B/k2W5kq8pFgmrc91zJScC8TPWFjsPp4yIzbN6QdlKf8m0GsliuYO/FP/s5UbDjxX5+BjOK3+bq2u0642LpCCaPBTFE29BeKhERgYPv8IpV9aPfX/74z7dzW/TQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zs1J+N7nSQXFh4vpuvFg8TrMYlPgLQtpFeNevHZAsvkUuOpYYdFq2zQrVIDZuGNFCPIOnpJOJIK0lBdMWk3B8lJrCNLL1WR7ZfSHMApKHmw7+rN77MWSGGtu77Y7m2WNKwbcR7HigKp40LlRh8D0rgnpjdRwfWQ3C/x4mB2aMeGrVWvuybwJQPIdV5uDLK7LPRaNei4WlMlLntDMD8msrSLsezpF1l4HbMARxjwjr4kymOvfuf2DjJQJdy1RPOV7NqYSLMdAhZeTnKpaVR9aC59V19GKtQj1s97ixLFNm3hRIQUmIx7MpuUfquiqsyCUQEMA5BcHEdZmkO36+Zfb7Q==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bitdefender.com;
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, Petre Ovidiu PIRCALABU <ppircalabu@xxxxxxxxxxxxxxx>
- Delivery-date: Thu, 09 Dec 2021 09:09:17 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHX5gUaclLxOWzfx0242LqfvNMvRKwp7MWA
- Thread-topic: [PATCH] x86/monitor: don't open-code hvm_has_set_descriptor_access_exiting()
> On 30 Nov 2021, at 18:11, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> CAUTION: This email originated from outside of our organization. Do not click
> links or open attachments unless you recognize the sender and know the
> content is safe.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed by: Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>
>
> --- a/xen/arch/x86/monitor.c
> +++ b/xen/arch/x86/monitor.c
> @@ -263,7 +263,7 @@ int arch_monitor_domctl_event(struct dom
> if ( unlikely(old_status == requested_status) )
> return -EEXIST;
>
> - if ( !hvm_funcs.set_descriptor_access_exiting )
> + if ( !hvm_has_set_descriptor_access_exiting() )
> return -EOPNOTSUPP;
>
> domain_pause(d);
>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
|