lian Grassin-Drake
> Co-Developed-by: Lillian Grassin-Drake
> Signed-off-by: Wei Liu
Reviewed-by: Pavel Tatashin
The new warnings reported by the robot are the same as for the input argument.
Pasha
> ---
> v3: Fix hv_cpu_die to use free_pages.
> v2: Address Vitaly's comments
> -
(a process to be finalized).
Is this comment relevant? Do we have to mirror what Windows does?
> +*
> +* For now, use the privilege flag as the indicator for running as
> +* root.
> +*/
> + if (cpuid_ebx(HYP
BIT(7)
> #define HV_ACCESS_STATSBIT(8)
> #define HV_DEBUGGING BIT(11)
> -#define HV_CPU_POWER_MANAGEMENTBIT(12)
> +#define HV_CPU_MANAGEMENT BIT(12)
Reviewed-by: Pavel Tatashin
__
if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE))
> return false;
>
> + if (hv_root_partition)
> + return false;
> +
Reviewed-by: Pavel Tatashin
___
Virtualization mailing list
Virtualization@l
RV) ||
> x86_init.hyper.msi_ext_dest_id() ||
> - !x2apic_supported())
> + !x2apic_supported() || hv_root_partition)
> return -ENODEV;
Reviewed-by: Pavel Tatashin
___
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
it(void)
> if (!hv_is_hyperv_initialized())
> return -ENODEV;
>
> + if (hv_root_partition)
> + return 0;
> +
Reviewed-by: Pavel Tatashin
___
Virtualization mailing list
Virtualization@lists.linux