]> git.proxmox.com Git - mirror_qemu.git/blobdiff - accel/xen/xen-all.c
accel/xen: Fix xen_enabled() behavior on target-agnostic objects
[mirror_qemu.git] / accel / xen / xen-all.c
index 0c24d4b191a4f270c06aa23991d4ae8517b7702c..60b971d0a82f7458c7bc7a97c91ec43ad7c29ecd 100644 (file)
     do { } while (0)
 #endif
 
-static bool xen_allowed;
-
-bool xen_enabled(void)
-{
-    return xen_allowed;
-}
+bool xen_allowed;
 
 xc_interface *xen_xc;
 xenforeignmemory_handle *xen_fmem;