xen: xenguest is not used so is not needed

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>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20200727140048.19779-1-mjt@msgid.tls.msk.ru>
[perard: rebased]
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
This commit is contained in:
Michael Tokarev 2020-07-27 17:00:48 +03:00 committed by Anthony PERARD
parent d76f4f97eb
commit 5b6a8f4392
2 changed files with 2 additions and 4 deletions

4
configure vendored
View File

@ -2532,7 +2532,7 @@ if test "$xen" != "disabled" ; then
xen_ctrl_version="$(printf '%d%02d%02d' \ xen_ctrl_version="$(printf '%d%02d%02d' \
$($pkg_config --modversion xencontrol | sed 's/\./ /g') )" $($pkg_config --modversion xencontrol | sed 's/\./ /g') )"
xen=enabled xen=enabled
xen_pc="xencontrol xenstore xenguest xenforeignmemory xengnttab" xen_pc="xencontrol xenstore xenforeignmemory xengnttab"
xen_pc="$xen_pc xenevtchn xendevicemodel" xen_pc="$xen_pc xenevtchn xendevicemodel"
if $pkg_config --exists xentoolcore; then if $pkg_config --exists xentoolcore; then
xen_pc="$xen_pc xentoolcore" xen_pc="$xen_pc xentoolcore"
@ -2541,7 +2541,7 @@ if test "$xen" != "disabled" ; then
xen_libs="$($pkg_config --libs $xen_pc)" xen_libs="$($pkg_config --libs $xen_pc)"
else else
xen_libs="-lxenstore -lxenctrl -lxenguest" xen_libs="-lxenstore -lxenctrl"
xen_stable_libs="-lxenforeignmemory -lxengnttab -lxenevtchn" xen_stable_libs="-lxenforeignmemory -lxengnttab -lxenevtchn"
# First we test whether Xen headers and libraries are available. # First we test whether Xen headers and libraries are available.

View File

@ -37,8 +37,6 @@
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/module.h" #include "qemu/module.h"
#include <xenguest.h>
#include "qom/object.h" #include "qom/object.h"
//#define DEBUG_PLATFORM //#define DEBUG_PLATFORM