[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] xen: xenguest is not used so is not needed
From: |
Michael Tokarev |
Subject: |
[PATCH] xen: xenguest is not used so is not needed |
Date: |
Mon, 27 Jul 2020 17:00:48 +0300 |
There's no references in only file which includes xenguest.h
to any xen definitions. And there's no references to -lxenguest
in qemu, either. Drop it.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
configure | 4 ++--
hw/i386/xen/xen_platform.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index 2acc4d1465..09da2637a4 100755
--- a/configure
+++ b/configure
@@ -2646,7 +2646,7 @@ if test "$xen" != "no" ; then
xen_ctrl_version="$(printf '%d%02d%02d' \
$($pkg_config --modversion xencontrol | sed 's/\./ /g') )"
xen=yes
- xen_pc="xencontrol xenstore xenguest xenforeignmemory xengnttab"
+ xen_pc="xencontrol xenstore xenforeignmemory xengnttab"
xen_pc="$xen_pc xenevtchn xendevicemodel"
if $pkg_config --exists xentoolcore; then
xen_pc="$xen_pc xentoolcore"
@@ -2655,7 +2655,7 @@ if test "$xen" != "no" ; then
libs_softmmu="$($pkg_config --libs $xen_pc) $libs_softmmu"
else
- xen_libs="-lxenstore -lxenctrl -lxenguest"
+ xen_libs="-lxenstore -lxenctrl"
xen_stable_libs="-lxenforeignmemory -lxengnttab -lxenevtchn"
# First we test whether Xen headers and libraries are available.
diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c
index a1492fdecd..6e10451178 100644
--- a/hw/i386/xen/xen_platform.c
+++ b/hw/i386/xen/xen_platform.c
@@ -38,8 +38,6 @@
#include "qemu/error-report.h"
#include "qemu/module.h"
-#include <xenguest.h>
-
//#define DEBUG_PLATFORM
#ifdef DEBUG_PLATFORM
--
2.20.1
- [PATCH] xen: xenguest is not used so is not needed,
Michael Tokarev <=