lkml.org 
[lkml]   [2020]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH V2 01/11] xen/manage: keep track of the on-going suspend mode
From
Date


On 1/7/20 6:37 PM, Anchal Agarwal wrote:
> +
> +static int xen_setup_pm_notifier(void)
> +{
> + if (!xen_hvm_domain())
> + return -ENODEV;

ARM guests are also HVM domains. Is it OK for them to register the
notifier? The diffstat suggests that you are supporting ARM.

-boris

> +
> + return register_pm_notifier(&xen_pm_notifier_block);
> +}
>

\
 
 \ /
  Last update: 2020-01-10 00:48    [W:0.057 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site