]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
xen_backend: make the xen_feature_grant_copy flag private
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 4 May 2018 13:14:11 +0000 (14:14 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 17 May 2018 15:06:00 +0000 (16:06 +0100)
There is no longer any use of this flag outside of the xen_backend code.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony Perard <anthony.perard@citrix.com>
---
Cc: Stefano Stabellini <sstabellini@kernel.org>
v2:
 - New in v2

hw/xen/xen_backend.c
include/hw/xen/xen_backend.h

index 3c3fc2c6e60bad2b70d7cbc23203f889f53f615a..9a8e8771eca071bab3c9367a7267c35115dd6283 100644 (file)
@@ -44,9 +44,9 @@ BusState *xen_sysbus;
 /* public */
 struct xs_handle *xenstore = NULL;
 const char *xen_protocol;
-bool xen_feature_grant_copy;
 
 /* private */
+static bool xen_feature_grant_copy;
 static int debug;
 
 int xenstore_write_be_str(struct XenDevice *xendev, const char *node, const char *val)
index 29bf1c3bc3fd77d9e882e4c32645da39d7980726..9c17fdd85dbad69d45766a090b7147f29cb901e8 100644 (file)
@@ -16,7 +16,6 @@
 /* variables */
 extern struct xs_handle *xenstore;
 extern const char *xen_protocol;
-extern bool xen_feature_grant_copy;
 extern DeviceState *xen_sysdev;
 extern BusState *xen_sysbus;