drop get_xen_guest_handle()
PATCH 1/1 drop get_xen_guest_handle()
Its use in the tools (and its apparent abuse in the hypervisor) are long gone.
xen/arch/x86/sysctl.c +0 -2
@@ -31,8 +31,6 @@#include <xsm/xsm.h> #include <asm/psr.h> -#define get_xen_guest_handle (val, hnd) do { val = (hnd).p; } while (0) -struct l3_cache_info {int ret;unsigned long size;
xen/arch/x86/x86_64/cpu_idle.c +0 -3
@@ -21,9 +21,6 @@* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#define __XEN_TOOLS__/* for using get_xen_guest_handle macro */ - -#include <xen/config.h> #include <xen/types.h> #include <xen/xmalloc.h> #include <xen/guest_access.h>
xen/include/public/arch-arm.h +0 -3
@@ -195,9 +195,6 @@ _sxghr_tmp->q =0 ; \ _sxghr_tmp->p = val; \ } while ( 0 ) -#ifdef __XEN_TOOLS__ -#define get_xen_guest_handle (val, hnd) do { val = (hnd).p; } while (0) -#endif #define set_xen_guest_handle (hnd, val) set_xen_guest_handle_raw(hnd, val)#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
xen/include/public/arch-x86/xen.h +0 -3
@@ -54,9 +54,6 @@#define XEN_GUEST_HANDLE (name) __XEN_GUEST_HANDLE(name)#define XEN_GUEST_HANDLE_PARAM (name) XEN_GUEST_HANDLE(name)#define set_xen_guest_handle_raw (hnd, val) do { (hnd).p = val; } while (0) -#ifdef __XEN_TOOLS__ -#define get_xen_guest_handle (val, hnd) do { val = (hnd).p; } while (0) -#endif #define set_xen_guest_handle (hnd, val) set_xen_guest_handle_raw(hnd, val)#if defined(__i386__)
drop get_xen_guest_handle()
Its use in the tools (and its apparent abuse in the hypervisor) are long gone.
xen/arch/x86/sysctl.c +0 -2
@@ -31,8 +31,6 @@#include <xsm/xsm.h> #include <asm/psr.h> -#define get_xen_guest_handle (val, hnd) do { val = (hnd).p; } while (0) -struct l3_cache_info {int ret;unsigned long size;
xen/arch/x86/x86_64/cpu_idle.c +0 -3
@@ -21,9 +21,6 @@* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#define __XEN_TOOLS__/* for using get_xen_guest_handle macro */ - -#include <xen/config.h> #include <xen/types.h> #include <xen/xmalloc.h> #include <xen/guest_access.h>
xen/include/public/arch-arm.h +0 -3
@@ -195,9 +195,6 @@ _sxghr_tmp->q =0 ; \ _sxghr_tmp->p = val; \ } while ( 0 ) -#ifdef __XEN_TOOLS__ -#define get_xen_guest_handle (val, hnd) do { val = (hnd).p; } while (0) -#endif #define set_xen_guest_handle (hnd, val) set_xen_guest_handle_raw(hnd, val)#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
xen/include/public/arch-x86/xen.h +0 -3
@@ -54,9 +54,6 @@#define XEN_GUEST_HANDLE (name) __XEN_GUEST_HANDLE(name)#define XEN_GUEST_HANDLE_PARAM (name) XEN_GUEST_HANDLE(name)#define set_xen_guest_handle_raw (hnd, val) do { (hnd).p = val; } while (0) -#ifdef __XEN_TOOLS__ -#define get_xen_guest_handle (val, hnd) do { val = (hnd).p; } while (0) -#endif #define set_xen_guest_handle (hnd, val) set_xen_guest_handle_raw(hnd, val)#if defined(__i386__)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines · Jan Beulich
Its use in the tools (and its apparent abuse in the hypervisor) are long gone.
Signed-off-by Jan Beulich <[email protected]>
Hi Jan,
Quoted 4 lines · Jan Beulich
Its use in the tools (and its apparent abuse in the hypervisor) are long gone.
Signed-off-by Jan Beulich <[email protected]>
FWIW:
Regards,
Signature · 1 line
Julien Grall
xen/arch/x86/x86_64/cpu_idle.c line 26
Quoted 9 lines · Jan Beulich
xen/arch/x86/x86_64/cpu_idle.c +0
-3@@ -21,9 +21,6 @@* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#define __XEN_TOOLS__/* for using get_xen_guest_handle macro */ - -#include <xen/config.h>
Hmmm... Is this line drop intentional?
Sorry I reviewed too quickly this patch.
Regards,
Signature · 1 line
Julien Grall
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 29.10.15 at 13:18, <[email protected]> wrote:
xen/arch/x86/x86_64/cpu_idle.c line 21
Quoted 4 lines · Jan Beulich
xen/arch/x86/x86_64/cpu_idle.c +0
-0@@ -21,9 +21,6 @@* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines
xen/arch/x86/x86_64/cpu_idle.c line 26
Quoted 5 lines
xen/arch/x86/x86_64/cpu_idle.c +0
-3*/ -#define __XEN_TOOLS__/* for using get_xen_guest_handle macro */ - -#include <xen/config.h> Hmmm... Is this line drop intentional?
Yes, it is. We're trying to get rid of all the explicit xen/config.h inclusions, but rather as a side effect than by a special patch series.
Jan
Quoted 4 lines · Jan Beulich
Its use in the tools (and its apparent abuse in the hypervisor) are long gone.
Signed-off-by Jan Beulich <[email protected]>