>>> On 17.08.16 at 12:30, <o...@aepfle.de> wrote:
> @@ -144,7 +171,11 @@ running_in_virtual_machine (void)
>  
>      ecx = cpuid (eax, ecx);
>      if (ecx & 0x80000000U)
> +    {
> +       if (running_in_dom0())
> +           return 0;
>         return 1;
> +    }
>      return 0;
>  }

Isn't this backwards? Dom0 _is_ a virtual machine.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to