[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tools/ocaml/libs/xc: add OCaml stubs to query CPU policy
- To: Edwin Török <edvin.torok@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Fri, 18 Jun 2021 14:17:10 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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-SenderADCheck; bh=Bg/jbZ8J1nK+vnOc0wVqtFWyFy4INKNXEvhwpVRBqOE=; b=C/Eq5MpL8smcc1i7zqFTggC5j2Ow/u/Kw2uc/r901UwLnSoCzaYRlyH8J01ev42f4ljeZcLcunLiaFZ360ubjdann1BdP1l57W7jOeLg8w5XBGK4vOFJIfgQuNjQCeLpB5GE2VzaSWvqt0ExWWVJcj8yzLQF9SIfgVUOKI3F31fkcrckat5x04sVg/bT58E854ykvhaOlc1hp1JHkVmnN8NXxgDDMo0xYYGYcjjLzCP8VTRfjghCExfzBluhVfol31OLLzVb9DrNDgJ5nyQgFSOz0DLVo5lw6eMsGf0MBx1Qj1jpzZ+k3sZhlXt7Z94eTvKi+a9EyQSEHhq5Gs4DNA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MR3K6KArAKq1IatGyKoG/ywxe33lZ4YZhBmA8KHk3CuW9th92Mjtlm/ayjO257s0haWDku6ZD62LGg/9e0itJ5RNpHFXaXgO25DQzxNLnhKfOIUI68abh6EqSwz/UJROR7tUe4OJOyXmwBrtT2AbTv6iwl9w6QXxGAmARRJJpy/XFnMBj6LM+DJVwxfXG608px7c1/Qg6mFbpuaLHDEnCgc6uLoLAPbnQCqAG8NHgV76y2M6KojWxMI5+xGf5KxfaXs4e7eHVjCZ4ac8rcra0B+XLAhXmVCcVpnFxPoskE25AWekw0oM7oVTOyd/is8yxFu4KYlb973o8cNdWK9asg==
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Fri, 18 Jun 2021 13:17:28 +0000
- Ironport-hdrordr: A9a23:ZBDRrqAnr8Sxj5jlHehOsceALOsnbusQ8zAXPh9KJiC9I/b1qy nxppkmPH/P6Qr4WBkb6LS90dq7MAzhHPlOkPUs1NaZLXTbUQ6TQr2KgrGSuwEIdxeOkNK1kJ 0QCZSWa+eAfmSS7/yKmTVQeuxIqLLskNHK9JLjJjVWPGZXgslbnndE422gYy9LrWd9dP8E/d anl7F6T23KQwVnUi33PAhLY8Hz4/nw0L72ax8PABAqrCGIkDOT8bb/VzyVxA0XXT9jyaortT GtqX252oyT99WAjjPM3W7a6Jpb3PPn19t4HcSJzuwYMC/lhAqEbJloH5eCoDc2iuey70tCqq iDnz4Qe+BIr1/BdGC8phXgnyP61iw11nPkwViExVP+vM3QXlsBeoh8rLMcViGcx1srvdl63q 4O9XmerYBrARTJmzm4z8TUVittilG/rRMZ4K0uZkRkIM8jgYJq3MsiFBs/KuZHIMu60vFmLA BWNrCY2B4MGmnqNkww1wJUsa6RtndaJGbNfqFNgL3M79D69EoJhnfw//Zv6UvowqhNAKWs19 60RpiAq4s+OPP+TZgNSdvpEvHHRlAkf3r3QSqvyAPcZd860jT22sXK3Ik=
- Ironport-sdr: P1x3jPSbjH34GO9UvPIjlTfDqkv6kTbh36vrNwG9Ec55er2oxOTzZQ7d9ACD89hfuvlF9tAmQO +kTQghakBYIjRQmlNk5GAjkg0JKFINRfU00ElJhBVs8Px9a1x4/tTqULNHVZdO+0psLrlz8n9L QnATpjk+DKV69a06cig/KgmVvvnnGuqYq4uo+hE27B8toE0TxS8A5mq00TM/9RiJGXhKgohz7H 6qjjlZ61cWboGYp1Bw5u6a2dyscVs0GpbCAPGBwUgXmk0J9qsPGXvzoJSSu5WlLPoCwCwdkYHr Izk=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 18/06/2021 11:45, Edwin Török wrote:
> diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c
> b/tools/ocaml/libs/xc/xenctrl_stubs.c
> index d05d7bb30e..4a230de8b7 100644
> --- a/tools/ocaml/libs/xc/xenctrl_stubs.c
> +++ b/tools/ocaml/libs/xc/xenctrl_stubs.c
> @@ -34,6 +34,9 @@
> #include <xenctrl.h>
> #include <xen-tools/libs.h>
>
> +#include <xen/lib/x86/cpuid.h>
> +#include <xen/lib/x86/msr.h>
https://gitlab.com/xen-project/patchew/xen/-/jobs/1358403495
CI says no. This needs to be behind a suitable ifdef, for non-x86 builds.
(I've not looked at the rest of the patch yet. I'll get around to it at
some point.)
~Andrew
|