[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 01/12] libs/guest: move cpu policy related prototypes to xenguest.h


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Tue, 18 Jan 2022 09:55:45 +0000
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Tue, 18 Jan 2022 09:56:15 +0000
  • Ironport-data: A9a23:TkaU56szISD6q9Uom0aR5ZptcOfnVLBZMUV32f8akzHdYApBsoF/q tZmKT/XbvaJZWTyL9B3OYTk9xkAvcXdx4JrT1E9/Cw1RSlE+JbJXdiXEBz9bniYRiHhoOOLz Cm8hv3odp1coqr0/0/1WlTZQP0VOZigHtIQMsadUsxKbVIiGHdJZS5LwbZj2NYx2IjhWmthh PupyyHhEA79s9JLGjp8B5Kr8HuDa9yr5Vv0FnRnDRx6lAe2e0s9VfrzFonoR5fMeaFGH/bSe gr25OrRElU1XfsaIojNfr7TKiXmS1NJVOSEoiI+t6OK2nCuqsGuu0qS2TV1hUp/0l20c95NJ Npll82ARQIYYJL3xsctczRzQmZDDY9f9+qSSZS/mZT7I0zudnLtx7NlDV0sPJ1e8eFyaY1M3 aVGcnZXNEnF3r/ohuLgIgVvrp1LwM3DNYUDunZm3HfBAOwvW5zrSKTW/95Imjw3g6iiGN6AP ZBBN2I3N3wsZTUTCnIPUNEfttv1j3SifgZ9tEuf+LAetj27IAtZj+G2bYu9lsaxbcdahEGDv Urd4n/0RBodMbS3yzCI73atje/nhj7gVcQZE7jQ3u5nhhify3IeDDUSVECnur+ph0imQdVdJ kcIvC00osAa60iDXtT7GRqirxa5UgU0AoQKVbd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hy72ulB1b pxN4hSYeeAaGSSVPyKgzVQxexQouW6zA==
  • Ironport-sdr: Eno0jErlkLeZJJsbRB7lqKy3FbDrGmDiQQ7Og7L/612FLm1Jz4PcT/9gL5jBNXjtDIyqXDM4WC gq5KqCw31SlLzKKzkvpJ6n1ROt00CZrkWCt7WazD+PT1ON0IX3HyXKW2NYigUrK7RL/vsS8Gc6 2mMnomiujcQx1FMlc5iGWOSZ5GXYpMyuKgkS0d+9SLAnS30DP9YTelGAPR+EGVdXFBUREZJiG0 M3a/RjAo1jqoprD2Q+KMzuBAXcoU9gQyRPVS7KBSV3/gKHo+og+J5OkfckPnjV/4TjeuopHfQa aJMqQ+bD0uRUsz0ckRcOdl7F
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Jan 17, 2022 at 10:48:16AM +0100, Roger Pau Monne wrote:
> Do this before adding any more stuff to xg_cpuid_x86.c.
> 
> The placement in xenctrl.h is wrong, as they are implemented by the
> xenguest library. Note that xg_cpuid_x86.c needs to include
> xg_private.h, and in turn also fix xg_private.h to include
> xc_bitops.h. The bitops definition of BITS_PER_LONG needs to be
> changed to not be an expression, so that xxhash.h can use it in a
> preprocessor if directive.
> 
> As a result also modify xen-cpuid and the ocaml stubs to include
> xenguest.h.

Adding xenguest.h to ocaml stub has been done so it isn't part of this
patch anymore ;-).

> Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,

-- 
Anthony PERARD



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.