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

Re: [PATCH v3 1/3] tools: Add __AC() macro to common-macros.h


  • To: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Fri, 30 Jun 2023 12:16:25 +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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eESLJDClJJkI37uLbtZRdHkpiVAVkOXpBRso3k2GTaM=; b=hiP1vruFZTOnM+/i/JoSV8QLZxE3ONK141N2AqKpYgOAf9iJbI2I6V5mE/GkFfx/z5u7t9itPpGC780ttvUR/ZFELkfATOsleC+jY8b+Q0kj0o2GKrV+7OTy+j7lc6sxxr7VJKsJXlI856Jfx53IKaaZbYIkO2n4u3GYLP+cPexAHOb1fkyRamE66BRqws4A7hb8dtjCmYfKX0Tj5e2M5eYgBi5Vp7ewe2DFb1HHOyi4XsDBkWMTK+ez1VwCzxCmkpT2SvY6qUpEycdz8435oRTgWz7NB8z8hpLeHsLNgRSWBnV+iRUwb4wna7BXnQX7YCN/+wNhPxJEfyeTbHvsMA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aixmwt4+mvfLTLcWgVOoReQX2RTdwpSWWDbIKZo6e3U+ytq+M37nZn5FwlBHYb81tn5VasMEPJ38tAA6rm2itb+nlMOrsrX5MJj0W0ppZ59bRRO3iER9yxOlkAoQ36FCFm4FQv03CbMWLhFd2VBjUP/53dQFRCh1bxIikfcgw+ND1G4D9/vAawhg2UddYgbtz7CXD1HHqB6uLHVPASv4wLDBRwTQrmhURKxcv8gmwfG7cLNeGgXp5l/4H7dC/MSfQ8xqdvIs5EaEoAQXelsvj5CIlBfsepVnheua6/5ia3UJGTWxlcGiu/0WhxWwCQncqTf1niCr5rrSCTF1bskXxw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Delivery-date: Fri, 30 Jun 2023 11:17:07 +0000
  • Ironport-data: A9a23:+p/4tKP2gjhL+I7vrR1plsFynXyQoLVcMsEvi/4bfWQNrUokhjNVm 2McW2/QOfaJMzamc9EiYI++8klV6paGndZjHgto+SlhQUwRpJueD7x1DKtS0wC6dZSfER09v 63yTvGacajYm1eF/k/F3oDJ9CU6jufQAOKnUoYoAwgpLSd8UiAtlBl/rOAwh49skLCRDhiE/ Nj/uKUzAnf8s9JPGjxSs/vrRC9H5qyo42tG5QRmPJingXeF/5UrJMNHTU2OByOQrrl8RoaSW +vFxbelyWLVlz9F5gSNy+uTnuUiG9Y+DCDW4pZkc/HKbitq/0Te5p0TJvsEAXq7vh3S9zxHJ HehgrTrIeshFvWkdO3wyHC0GQkmVUFN0OevzXRSLaV/ZqAJGpfh66wGMa04AWEX0t5KDG1E6 foVEx8MQzTf3NqI5+mnd8A506zPLOGzVG8ekldJ6GmDSNwAGNXESaiM4sJE1jAtgMwIBezZe 8cSdTtoalLHfgFLPVAUTpk5mY9EhFGmK2Ee9A3T+PNxvzS7IA9ZidABNPL8fNCQSNoTtUGfv m/cpEzyAw0ANczZwj2Amp6prraWwnmqBdNJRNVU8NZr332ywksNAiQ1XHaWsNKzhXySYI52f hl8Fi0G6PJaGFaQZtD5Uh+xpnKeuVgCUt5UHu89wAqJzbfYpQ2eAwAsXjNHLdArqsIybTgrz UOS2cPkAyR1t7+YQm7b8a2bxRuwNjISNnQqfjIfQE0O5NyLiIM5gw/LT91jOLWoldCzEjb1q w1mtwA7jrQXyMQNjqOy+Aidhyr2/sSVCAko+g/QQ2SpqBtjY5KobJCp7l6d6utcKIGeTR+Ku 31sd9Wi0d3ixKqlzESlKNjh1pnzjxpZGFUwWWJSIqQ=
  • Ironport-hdrordr: A9a23:t9fMrKBk5k7yJJ7lHejLsseALOsnbusQ8zAXPh9KJCC9I/bzqy nxpp8mPH/P5wr5K0tQ/exoX5PwO080lKQFmrX5WI3PYOCIghrKEGgP1/qa/9SkIVyHygc/79 YeT0EdMr3N5DFB5K6VgTVQUexQpuVvmJrY+ds2pE0dKD2CBZsQiDuRRjzrcHGfE2J9dOcE/d enl4N6T33KQwVlUu2LQl0+G8TTrdzCk5zrJTYAGh4c8QGLyR+49bLgFBCc/xEGFxdC260r/2 TpmxHwovzLiYD39jbsk0voq7hGktrozdVOQOSKl8guMz3pziq4eYh7XLWGnTYt5MWi8kwjnt Xgqwope+5z93TSVGeopgaF4Xir7B8er1vZjXOIi3rqpsL0ABo8Fsp6nIpcNj/U8VApst1Q2L 9CmzvxjesdMTrw2ADGo/TYXRBjkUS55VIkjO4olnRaFa8TcqVYo4Az9F5cVL0AACX5woY6F/ QGNrCV2N9mNXehK1zJtGhmx9KhGlw1Axe9W0AH/veY1jBH9UoJu3cw9Yg6pDMt5Zg9Q55L66 DvKaJzjoxDSccQcOZUGPoBadHfMB2NfTv8dEapZXj3HqAOPHzA77Tt5q8u2e2scJsUiLMvhZ X6Vk9Cv2JaQTOhNSS35uwJzvnxehT+Ydy0ofsuoqSR+4eMC4YDCBfzCGzHyKCb0rEi6s6yYY fHBHsZOY6lEYLUI/c44+TPYegtFZAgarxlhj8aYSP4niuZEPydisXrNNDuGZHKLREIHkvCP1 prZkmAGCwH1DHmZkPF
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 29/06/2023 1:17 pm, Alejandro Vallejo wrote:
> Currently libxl and the x86-emulator tests carry their own versions. Factor
> those out into the common macros header so every library can make use of
> it. This is required so the following patch can add this macro to a header
> used both in Xen and tools/libs.
>
> No functional change.
>
> Signed-off-by: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>

Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, although ...

> ---
>  tools/include/xen-tools/common-macros.h | 3 +++
>  tools/libs/light/libxl_internal.h       | 2 --
>  tools/tests/x86_emulator/x86-emulate.h  | 3 ---
>  3 files changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/tools/include/xen-tools/common-macros.h 
> b/tools/include/xen-tools/common-macros.h
> index 168691be0e..6d7de1bc0a 100644
> --- a/tools/include/xen-tools/common-macros.h
> +++ b/tools/include/xen-tools/common-macros.h
> @@ -84,4 +84,7 @@
>      (type *)((char *)mptr__ - offsetof(type, member));  \
>  })
>  
> +#define __AC(X,Y)   (X##Y)
> +#define _AC(X,Y)    __AC(X,Y)

... I'll take the opportunity to do style fixes here.

~Andrew



 


Rackspace

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