Skip to content
Commits on Source (4)
......@@ -177,6 +177,7 @@ Dan Zheng <dzheng@redhat.com>
Daniel Berteaud <daniel@firewall-services.com>
Daniel Gollub <gollub@b1-systems.de>
Daniel Hansel <daniel.hansel@linux.vnet.ibm.com>
Daniel Henrique Barboza <danielhb413@gmail.com>
Daniel J Walsh <dwalsh@redhat.com>
Daniel Liu <srwx4096@gmail.com>
Daniel Nicoletti <dantti12@gmail.com>
......@@ -369,6 +370,7 @@ Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Marek Marczykowski <marmarek@invisiblethingslab.com>
Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Marian Neagul <marian@info.uvt.ro>
Mark Asselstine <mark.asselstine@windriver.com>
Mark Wu <dwu@redhat.com>
Marko Myllynen <myllynen@redhat.com>
Markus Groß <gross@univention.de>
......@@ -443,6 +445,7 @@ Pavel Raiskup <praiskup@redhat.com>
Pavel Timofeev <timp87@gmail.com>
Paweł Krześniak <pawel.krzesniak@gmail.com>
Peng Zhou <ailvpeng25@gmail.com>
Peter Chubb <Peter.Chubb@data61.csiro.au>
Peter Feiner <peter@gridcentric.ca>
Peter Kieser <peter@kieser.ca>
Peter Robinson <pbrobinson@gmail.com>
......@@ -506,6 +509,7 @@ Shanzhi Yu <shyu@redhat.com>
ShaoHe Feng <shaohe.feng@intel.com>
Shaohe Feng <shaohe.feng@intel.com>
Sharadha Prabhakar <sharadha.prabhakar@citrix.com>
Shi Lei <shi_lei@massclouds.com>
Shi Lei <shilei.massclouds@gmx.com>
Shichangkuo <shi.changkuo@h3c.com>
Shivangi Dhir <shivangi.dhir.02@gmail.com>
......@@ -567,8 +571,10 @@ Vitaly Kuznetsov <vkuznets@redhat.com>
Vitor de Lima <vitor.lima@eldorado.org.br>
Vladislav Bogdanov <bubble@hoster-ok.com>
Václav Pavlín <vpavlin@redhat.com>
Wang Huaqiang <huaqiang.wang@intel.com>
Wang King <king.wang@huawei.com>
Wang Rui <moon.wangrui@huawei.com>
Wang Yechao <wang.yechao255@zte.com.cn>
Wang Yufei (James) <james.wangyufei@huawei.com>
Wangjing (King, Euler) <king.wang@huawei.com>
Wangrui (K) <moon.wangrui@huawei.com>
......@@ -586,6 +592,7 @@ Wojciech Macek <wma@semihalf.com>
Wolfgang Mauerer <wolfgang.mauerer@siemens.com>
Wout Mertens <Wout.Mertens@gmail.com>
Wout Mertens <wout.mertens@gmail.com>
Wu Zongyong <cordius.wu@huawei.com>
Xian Han Yu <xhyubj@linux.vnet.ibm.com>
Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
Xing Lin <xinglin@cs.utah.edu>
......@@ -596,6 +603,7 @@ Yanbing Du <ydu@redhat.com>
Yanbing Du <ydu@ydu-0.nay.redhat.com>
Yaniv Kaul <ykaul@redhat.com>
Yanqiu Zhang <yanqzhan@redhat.com>
Yi Min Zhao <zyimin@linux.ibm.com>
Yi Wang <wang.yi59@zte.com.cn>
Yogesh Tillu <tillu.yogesh@gmail.com>
Yohan BELLEGUIC <yohan.belleguic@diateam.net>
......@@ -615,6 +623,7 @@ Zhang Bo <oscar.zhangbo@huawei.com>
Zhang Xiaohe <zhangxh@cn.fujitsu.com>
Zhangzijian <zhang.zijian@h3c.com>
ZhiPeng Lu <lu.zhipeng@zte.com.cn>
ZhiPeng Lu <luzhipeng@uniudc.com>
Zhou Yimin <zhouyimin@huawei.com>
Zhou yimin <zhouyimin@huawei.com>
Zhuang Yanying <ann.zhuangyanying@huawei.com>
......
This diff is collapsed.
libvirt releases
================
# v4.10.0 (2018-12-03)
* New features
- qemu: Add Hyper-V PV IPI and Enlightened VMCS support
The QEMU driver now has support for Hyper-V PV IPI and Enlightened VMCS
for Windows and Hyper-V guests.
- qemu: Added support for PCI devices on S390
PCI addresses can now include the new zpci element which contains uid
(user-defined identifier) and fid (PCI function identifier) attributes
and makes the corresponding devices usable by S390 guests.
- Support changing IOThread polling parameters for a live guest
Introduced virDomainSetIOThreadParams which allows dynamically setting
the IOThread polling parameters used by QEMU to manage the thread
polling interval and the algorithm for growth or shrink of the polling
time. The values only affect a running guest with IOThreads. The
guest's IOThread polling values can be viewed via the domain
statistics.
- Xen: Add support for PVH
The libxl driver now supports Xen's PVH virtual machine type. PVH
machines are enabled with the new "xenpvh" OS type, e.g.
<os><type>xenpvh</type></os>
- qemu: Added support for CMT (Cache Monitoring Technology)
Introduced cache monitoring using the monitor element in cachetune for
vCPU threads. Added interfaces to get and display the cache utilization
statistics through the command 'virsh domstats' via the
virConnectGetAllDomainStats API.
- qemu: Add support for nested HV for pSeries guests
Nested HV support makes it possible to run nested (L2) guests with
minimal performance penalty when compared to regular (L1) guests on
ppc64 hardware.
* Improvements
* Bug fixes
- Xen: Handle soft reset shutdown event
The pvops Linux kernel uses soft reset to handle the crash machine
operation. The libxl driver now supports the soft reset shutdown event,
allowing proper crash handling of pvops-based HVM domains.
# v4.9.0 (2018-11-04)
* New features
- util: Add cgroup v2 support
cgroup v2 support has been implemented in libvirt, with both "unified"
(v2 only) and "hybrid" (v2 + v1) setups being usable; existing "legacy"
(v1 only) setups will keep working.
- qemu: Add vfio AP support
The QEMU driver now has support to passthrough adjunct processors into
QEMU guests on S390.
* Improvements
- rpc: Make 'genprotocol' output reproducible
This is another step towards making libvirt builds fully reproducible.
* Bug fixes
- security: Fix permissions for UNIX sockets
Since 4.5.0, libvirt is using FD passing to hand sockets over to QEMU,
which in theory removes the need for them to be accessible by the user
under which the QEMU process is running; however, other processes such
as vdsm need to access the sockets as well, which means adjusting
permissions is still necessary.
- cpu_map: Add Icelake model definitions
These CPU models will be available in the upcoming 3.1.0 QEMU release.
- util: Properly parse URIs with missing trailing slash
Some storage URIs were not parsed correctly, in which case libvirt
ended up emitting XML that it would then refuse to parse back.
# v4.8.0 (2018-10-01)
* New features
- Xen: Support PM Suspend and Wakeup
The libxl driver now supports the virDomainPMSuspendForDuration and
virDomainPMWakeup APIs.
* Removed features
- Xen: Drop support for Xen 4.4 and 4.5
Xen 4.4 and 4.5 are no longer supported by the Xen community. Drop
support for these older versions and require Xen >= 4.6.
- nwfilter: Disallow binding creation in session mode
Ensure that a filter binding creation is not attempted in session mode
and generates a proper error message.
* Improvements
- qemu: Retrieve guest hostname through QEMU Guest Agent command
QEMU is now able to retrieve the guest hostname using a new QEMU-GA
command called 'guest-get-host-name'. Virsh users can execute
'domhostname' for QEMU driver for domains configured to use the Guest
Agent.
- virsh: Implement vsh-table in virsh and virsh-admin
The new API fixes problems with table-alignment, making the tables more
readable and deals with unicode.
* Bug fixes
- storage: Allow inputvol to be encrypted
When creating a storage volume based on another volume, the base input
volume is allowed to be encrypted.
- virsh: Require explicit --domain for domxml-to-native
The --domain option for domxml-to-native virsh command has always been
documented as required, but commit v4.3.0-127-gd86531daf2 accidentally
made it optional.
- lxc_monitor: Avoid AB / BA lock race
A deadlock situation could occur when autostarting a LXC domain 'guest'
due to two threads attempting to take opposing locks while holding
opposing locks (AB BA problem).
# v4.7.0 (2018-09-03)
* New features
......
......@@ -472,6 +472,7 @@ sc_prohibit_canonicalize_file_name:
# Insist on correct types for [pug]id.
sc_correct_id_types:
@prohibit='\<(int|long) *[pug]id\>' \
exclude='exempt from syntax-check' \
halt='use pid_t for pid, uid_t for uid, gid_t for gid' \
$(_sc_search_regexp)
......@@ -1063,7 +1064,7 @@ sc_prohibit_backslash_alignment:
# Rule to ensure that varibales declared using a cleanup macro are
# always initialized.
sc_require_attribute_cleanup_initialization:
@prohibit='VIR_AUTO(FREE|PTR)\(.+\) *[^=]+;' \
@prohibit='VIR_AUTO((FREE|PTR)\(.+\)|CLOSE) *[^=]+;' \
in_vc_files='\.[chx]$$' \
halt='variable declared with a cleanup macro must be initialized' \
$(_sc_search_regexp)
......@@ -1227,7 +1228,7 @@ exclude_file_name_regexp--sc_prohibit_select = \
^cfg\.mk$$
exclude_file_name_regexp--sc_prohibit_canonicalize_file_name = \
^cfg\.mk$$
^(cfg\.mk|tests/virfilemock\.c)$$
exclude_file_name_regexp--sc_prohibit_raw_allocation = \
^(docs/hacking\.html\.in|src/util/viralloc\.[ch]|examples/.*|tests/(securityselinuxhelper|(vircgroup|nss)mock|commandhelper)\.c|tools/wireshark/src/packet-libvirt\.c)$$
......
......@@ -1204,9 +1204,6 @@
/* Define to 1 if you have the 'getgid' function. */
#undef HAVE_GETGID
/* Define to 1 if you have the 'getgrnam_r' function. */
#undef HAVE_GETGRNAM_R
/* Define to 1 if you have the 'getgrouplist' function. */
#undef HAVE_GETGROUPLIST
......@@ -1316,9 +1313,6 @@
/* Define to 1 if you have the 'iswctype' function. */
#undef HAVE_ISWCTYPE
/* Define to 1 if you have the 'kill' function. */
#undef HAVE_KILL
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
......@@ -1397,9 +1391,6 @@
/* Define to 1 if you have the <libxlutil.h> header file. */
#undef HAVE_LIBXLUTIL_H
/* Define to 1 if you have the `libxl_domain_config_from_json' function. */
#undef HAVE_LIBXL_DOMAIN_CONFIG_FROM_JSON
/* Define to 1 if you have the `yajl' library (-lyajl). */
#undef HAVE_LIBYAJL
......@@ -1655,12 +1646,6 @@
/* Define to 1 if you have the 'recvmsg' function. */
#undef HAVE_RECVMSG
/* Define to 1 if you have the 'regexec' function. */
#undef HAVE_REGEXEC
/* Define to 1 if you have the <regex.h> header file. */
#undef HAVE_REGEX_H
/* Define to 1 if you have the `revoke' function. */
#undef HAVE_REVOKE
......@@ -1961,9 +1946,6 @@
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define to 1 if you have the <sys/poll.h> header file. */
#undef HAVE_SYS_POLL_H
/* Define to 1 if you have the <sys/pstat.h> header file. */
#undef HAVE_SYS_PSTAT_H
......@@ -2155,6 +2137,9 @@
/* Define to 1 if you have the `xdr_u_int64_t' function. */
#undef HAVE_XDR_U_INT64_T
/* Define to 1 if Xen has PVH support. */
#undef HAVE_XEN_PVH
/* Define to 1 if you have the <xfs/xfs.h> header file. */
#undef HAVE_XFS_XFS_H
......
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for libvirt 4.7.0.
# Generated by GNU Autoconf 2.69 for libvirt 4.10.0.
#
# Report bugs to <libvir-list@redhat.com>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libvirt'
PACKAGE_TARNAME='libvirt'
PACKAGE_VERSION='4.7.0'
PACKAGE_STRING='libvirt 4.7.0'
PACKAGE_VERSION='4.10.0'
PACKAGE_STRING='libvirt 4.10.0'
PACKAGE_BUGREPORT='libvir-list@redhat.com'
PACKAGE_URL='https://libvirt.org'
 
......@@ -3204,7 +3204,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures libvirt 4.7.0 to adapt to many kinds of systems.
\`configure' configures libvirt 4.10.0 to adapt to many kinds of systems.
 
Usage: $0 [OPTION]... [VAR=VALUE]...
 
......@@ -3274,7 +3274,7 @@ fi
 
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libvirt 4.7.0:";;
short | recursive ) echo "Configuration of libvirt 4.10.0:";;
esac
cat <<\_ACEOF
 
......@@ -3616,7 +3616,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libvirt configure 4.7.0
libvirt configure 4.10.0
generated by GNU Autoconf 2.69
 
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -4325,7 +4325,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by libvirt $as_me 4.7.0, which was
It was created by libvirt $as_me 4.10.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
$ $0 $@
......@@ -4719,24 +4719,21 @@ gl_func_list="$gl_func_list shutdown"
gl_func_list="$gl_func_list wctob"
gl_func_list="$gl_func_list cfmakeraw"
gl_func_list="$gl_func_list fallocate"
gl_func_list="$gl_func_list getgrnam_r"
gl_func_list="$gl_func_list getifaddrs"
gl_func_list="$gl_func_list getmntent_r"
gl_func_list="$gl_func_list getpwuid_r"
gl_func_list="$gl_func_list getrlimit"
gl_func_list="$gl_func_list if_indextoname"
gl_func_list="$gl_func_list kill"
gl_func_list="$gl_func_list mmap"
gl_func_list="$gl_func_list posix_fallocate"
gl_func_list="$gl_func_list posix_memalign"
gl_func_list="$gl_func_list prlimit"
gl_func_list="$gl_func_list regexec"
gl_func_list="$gl_func_list sched_getaffinity"
gl_func_list="$gl_func_list sched_setscheduler"
gl_func_list="$gl_func_list setgroups"
gl_func_list="$gl_func_list setns"
gl_func_list="$gl_func_list setrlimit"
gl_func_list="$gl_func_list sysctlbyname"
gl_func_list="$gl_func_list getifaddrs"
gl_func_list="$gl_func_list sched_setscheduler"
gl_func_list="$gl_func_list unshare"
# Check that the precious variables saved in the cache have kept the same
# value.
......@@ -5326,7 +5323,7 @@ fi
 
# Define the identity of the package.
PACKAGE='libvirt'
VERSION='4.7.0'
VERSION='4.10.0'
 
 
cat >>confdefs.h <<_ACEOF
......@@ -68270,21 +68267,6 @@ _ACEOF
 
 
 
 
 
 
......@@ -68374,19 +68356,22 @@ _ACEOF
 
 
 
for ac_header in \
ifaddrs.h \
libtasn1.h \
linux/magic.h \
mntent.h \
net/ethernet.h \
netinet/tcp.h \
pwd.h \
stdarg.h \
syslog.h \
sys/mount.h \
sys/syscall.h \
sys/sysctl.h \
sys/ucred.h \
sys/un.h \
 
for ac_header in pwd.h regex.h sys/un.h \
sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h \
sys/un.h sys/syscall.h sys/sysctl.h netinet/tcp.h ifaddrs.h \
libtasn1.h sys/ucred.h sys/mount.h stdarg.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
......@@ -70762,9 +70747,9 @@ fi
LIBXL_CFLAGS=""
LIBXL_FIRMWARE_DIR=""
LIBXL_EXECBIN_DIR=""
LIBXL_API_VERSION="-DLIBXL_API_VERSION=0x040400"
LIBXL_API_VERSION="-DLIBXL_API_VERSION=0x040500"
 
old_with_libxl="$with_libxl"
old_with_libxl="$with_libxl"
 
 
 
......@@ -70790,12 +70775,12 @@ if test -n "$LIBXL_CFLAGS"; then
pkg_cv_LIBXL_CFLAGS="$LIBXL_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xenlight >= 4.4.0\""; } >&5
($PKG_CONFIG --exists --print-errors "xenlight >= 4.4.0") 2>&5
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xenlight >= 4.6.0\""; } >&5
($PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_LIBXL_CFLAGS=`$PKG_CONFIG --cflags "xenlight >= 4.4.0" 2>/dev/null`
pkg_cv_LIBXL_CFLAGS=`$PKG_CONFIG --cflags "xenlight >= 4.6.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
......@@ -70807,12 +70792,12 @@ if test -n "$LIBXL_LIBS"; then
pkg_cv_LIBXL_LIBS="$LIBXL_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xenlight >= 4.4.0\""; } >&5
($PKG_CONFIG --exists --print-errors "xenlight >= 4.4.0") 2>&5
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xenlight >= 4.6.0\""; } >&5
($PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_LIBXL_LIBS=`$PKG_CONFIG --libs "xenlight >= 4.4.0" 2>/dev/null`
pkg_cv_LIBXL_LIBS=`$PKG_CONFIG --libs "xenlight >= 4.6.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
......@@ -70833,9 +70818,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
LIBXL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xenlight >= 4.4.0" 2>&1`
LIBXL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xenlight >= 4.6.0" 2>&1`
else
LIBXL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xenlight >= 4.4.0" 2>&1`
LIBXL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xenlight >= 4.6.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$LIBXL_PKG_ERRORS" >&5
......@@ -70905,10 +70890,10 @@ fi
LIBXL_EXECBIN_DIR=$($PKG_CONFIG --variable libexec_bin xenlight)
fi
 
if test "x$with_libxl" = "xno" ; then
if test "x$with_libxl" = "xno" ; then
with_libxl="$old_with_libxl"
 
libxlold_CFLAGS="$CFLAGS"
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $LIBXL_API_VERSION"
 
 
......@@ -70938,9 +70923,9 @@ fi
fi
CFLAGS="$CFLAGS $LIBXL_CFLAGS"
LIBS="$LIBS $LIBXL_LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxl_ctx_alloc in -lxenlight" >&5
$as_echo_n "checking for libxl_ctx_alloc in -lxenlight... " >&6; }
if ${ac_cv_lib_xenlight_libxl_ctx_alloc+:} false; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxl_cpupool_cpuadd_cpumap in -lxenlight" >&5
$as_echo_n "checking for libxl_cpupool_cpuadd_cpumap in -lxenlight... " >&6; }
if ${ac_cv_lib_xenlight_libxl_cpupool_cpuadd_cpumap+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
......@@ -70954,27 +70939,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
char libxl_ctx_alloc ();
char libxl_cpupool_cpuadd_cpumap ();
int
main ()
{
return libxl_ctx_alloc ();
return libxl_cpupool_cpuadd_cpumap ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_xenlight_libxl_ctx_alloc=yes
ac_cv_lib_xenlight_libxl_cpupool_cpuadd_cpumap=yes
else
ac_cv_lib_xenlight_libxl_ctx_alloc=no
ac_cv_lib_xenlight_libxl_cpupool_cpuadd_cpumap=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xenlight_libxl_ctx_alloc" >&5
$as_echo "$ac_cv_lib_xenlight_libxl_ctx_alloc" >&6; }
if test "x$ac_cv_lib_xenlight_libxl_ctx_alloc" = xyes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xenlight_libxl_cpupool_cpuadd_cpumap" >&5
$as_echo "$ac_cv_lib_xenlight_libxl_cpupool_cpuadd_cpumap" >&6; }
if test "x$ac_cv_lib_xenlight_libxl_cpupool_cpuadd_cpumap" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBXENLIGHT 1
_ACEOF
......@@ -71055,17 +71040,14 @@ fi
 
 
 
CFLAGS="$libxlold_CFLAGS"
CFLAGS="$save_CFLAGS"
 
if test $fail = 1; then
as_fn_error $? "You must install the libxl Library from Xen >= 4.4 to compile libxenlight driver with -lxl" "$LINENO" 5
as_fn_error $? "You must install the libxl Library from Xen >= 4.6 to compile libxenlight driver with -lxl" "$LINENO" 5
fi
fi
 
if test "$with_libxl" = "yes"; then
old_LIBS="$LIBS"
old_CFLAGS="$CFLAGS"
LIBXL_CFLAGS="$LIBXL_CFLAGS $LIBXL_API_VERSION"
 
for ac_header in libxlutil.h
......@@ -71141,22 +71123,16 @@ else
 
fi
 
fi
 
LIBS="$LIBS -lxenlight -lxenctrl"
for ac_func in libxl_domain_config_from_json
do :
ac_fn_c_check_func "$LINENO" "libxl_domain_config_from_json" "ac_cv_func_libxl_domain_config_from_json"
if test "x$ac_cv_func_libxl_domain_config_from_json" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBXL_DOMAIN_CONFIG_FROM_JSON 1
_ACEOF
ac_fn_c_check_decl "$LINENO" "LIBXL_DOMAIN_TYPE_PVH" "ac_cv_have_decl_LIBXL_DOMAIN_TYPE_PVH" "#include <libxl.h>
"
if test "x$ac_cv_have_decl_LIBXL_DOMAIN_TYPE_PVH" = xyes; then :
$as_echo "#define HAVE_XEN_PVH 1" >>confdefs.h
 
fi
done
 
CFLAGS="$old_CFLAGS"
LIBS="$old_LIBS"
fi
 
 
 
......@@ -77443,7 +77419,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libvirt $as_me 4.7.0, which was
This file was extended by libvirt $as_me 4.10.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
CONFIG_FILES = $CONFIG_FILES
......@@ -77514,7 +77490,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
libvirt config.status 4.7.0
libvirt config.status 4.10.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
 
......@@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU Lesser General Public
dnl License along with this library. If not, see
dnl <http://www.gnu.org/licenses/>.
AC_INIT([libvirt], [4.7.0], [libvir-list@redhat.com], [], [https://libvirt.org])
AC_INIT([libvirt], [4.10.0], [libvir-list@redhat.com], [], [https://libvirt.org])
AC_CONFIG_SRCDIR([src/libvirt.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
......@@ -322,17 +322,49 @@ AC_CHECK_SIZEOF([long])
dnl Availability of various common functions (non-fatal if missing),
dnl and various less common threadsafe functions
AC_CHECK_FUNCS_ONCE([cfmakeraw fallocate geteuid getgid getgrnam_r \
getmntent_r getpwuid_r getrlimit getuid if_indextoname kill mmap \
newlocale posix_fallocate posix_memalign prlimit regexec \
sched_getaffinity setgroups setns setrlimit symlink sysctlbyname \
getifaddrs sched_setscheduler unshare])
AC_CHECK_FUNCS_ONCE([\
cfmakeraw \
fallocate \
geteuid \
getgid \
getifaddrs \
getmntent_r \
getpwuid_r \
getrlimit \
getuid \
if_indextoname \
mmap \
newlocale \
posix_fallocate \
posix_memalign \
prlimit \
sched_getaffinity \
sched_setscheduler \
setgroups \
setns \
setrlimit \
symlink \
sysctlbyname \
unshare \
])
dnl Availability of various common headers (non-fatal if missing).
AC_CHECK_HEADERS([pwd.h regex.h sys/un.h \
sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h \
sys/un.h sys/syscall.h sys/sysctl.h netinet/tcp.h ifaddrs.h \
libtasn1.h sys/ucred.h sys/mount.h stdarg.h])
AC_CHECK_HEADERS([\
ifaddrs.h \
libtasn1.h \
linux/magic.h \
mntent.h \
net/ethernet.h \
netinet/tcp.h \
pwd.h \
stdarg.h \
syslog.h \
sys/mount.h \
sys/syscall.h \
sys/sysctl.h \
sys/ucred.h \
sys/un.h \
])
dnl Check whether endian provides handy macros.
AC_CHECK_DECLS([htole64], [], [], [[#include <endian.h>]])
AC_CHECK_FUNCS([stat stat64 __xstat __xstat64 lstat lstat64 __lxstat __lxstat64])
......
libvirt (4.10.0-1~1.gbp16a413) UNRELEASED; urgency=medium
** SNAPSHOT build @16a4137554d00d7f65ec7e8531961fe1070a96d2 **
* [0cde44d] Remove bridge-utils from recommends.
We don't use brctl since ages.
Thanks to Andreas Henriksson
* [3c22e06] Drop debian/remove-RHism.diff.patch.
Debian has /usr/bin/service since quiete some time now.
Thanks to Andrea Bolognani
* [54a5cdb] New upstream version 4.10.0
-- Guido Günther <agx@sigxcpu.org> Tue, 11 Dec 2018 16:27:51 +0100
libvirt (4.7.0-1) unstable; urgency=medium
* [8ff38ac] New upstream version 4.7.0
......
......@@ -116,7 +116,8 @@ libvirt.so.0 libvirt0 #MINVER#
*@LIBVIRT_4.5.0 4.5.0
*@LIBVIRT_4.6.0 4.6.0
*@LIBVIRT_4.7.0 4.7.0
*@LIBVIRT_PRIVATE_4.7.0 4.7.0
*@LIBVIRT_4.10.0 4.10.0
*@LIBVIRT_PRIVATE_4.10.0 4.10.0
libvirt-qemu.so.0 libvirt0 #MINVER#
*@LIBVIRT_QEMU_0.8.3 0.8.3
......@@ -138,4 +139,4 @@ libvirt-admin.so.0 libvirt0 #MINVER#
*@LIBVIRT_ADMIN_1.3.0 1.2.18
*@LIBVIRT_ADMIN_2.0.0 2.0.0~rc1
*@LIBVIRT_ADMIN_3.0.0 3.0.0
*@LIBVIRT_ADMIN_PRIVATE_4.7.0 4.7.0
*@LIBVIRT_ADMIN_PRIVATE_4.10.0 4.10.0
......@@ -10,10 +10,10 @@ Closes: #663931
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/virutil.c b/src/util/virutil.c
index a908422..935869f 100644
index 974cffc..c1dd2e9 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -1598,7 +1598,7 @@ virSetUIDGIDWithCaps(uid_t uid, gid_t gid, gid_t *groups, int ngroups,
@@ -1629,7 +1629,7 @@ virSetUIDGIDWithCaps(uid_t uid, gid_t gid, gid_t *groups, int ngroups,
void virWaitForDevices(void)
{
# ifdef UDEVADM
......
......@@ -9,7 +9,7 @@ without sysfs mounted.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vircgrouptest.c b/tests/vircgrouptest.c
index be50f3e..88363ba 100644
index ea352c1..9240460 100644
--- a/tests/vircgrouptest.c
+++ b/tests/vircgrouptest.c
@@ -22,7 +22,7 @@
......@@ -19,5 +19,5 @@ index be50f3e..88363ba 100644
-#ifdef __linux__
+#if defined HAVE_SYSFS_MOCK
# include <stdlib.h>
# define __VIR_CGROUP_ALLOW_INCLUDE_PRIV_H__
......@@ -9,10 +9,10 @@ to not interfere with existing network configurations
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/Makefile.in b/src/Makefile.in
index 0372d58..126e072 100644
index 001798e..42606ef 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -13214,8 +13214,7 @@ lxc/lxc_controller_dispatch.h: $(srcdir)/rpc/gendispatch.pl \
@@ -13301,8 +13301,7 @@ lxc/lxc_controller_dispatch.h: $(srcdir)/rpc/gendispatch.pl \
@WITH_NETWORK_TRUE@ $(DESTDIR)$(confdir)/qemu/networks/default.xml && \
@WITH_NETWORK_TRUE@ rm $(DESTDIR)$(confdir)/qemu/networks/default.xml.t; }
@WITH_NETWORK_TRUE@ ( cd $(DESTDIR)$(confdir)/qemu/networks/autostart && \
......
......@@ -11,7 +11,7 @@ Closes: #895145
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index da940e3..a676b86 100644
index d793431..dc5b687 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,7 +110,7 @@ then
......
......@@ -10,10 +10,10 @@ As of 1.2.16 upstream ships a Polkit rule like Debian does.
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 2a3ed0d..562c91c 100644
index 33ff280..075a990 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -807,7 +807,6 @@ else ! WITH_LIBVIRTD
@@ -810,7 +810,6 @@ else ! WITH_LIBVIRTD
install-logrotate:
uninstall-logrotate:
endif ! WITH_LIBVIRTD
......@@ -22,10 +22,10 @@ index 2a3ed0d..562c91c 100644
install-init:: $(SYSVINIT_FILES) install-sysconfig
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
diff --git a/src/Makefile.in b/src/Makefile.in
index 126e072..42e92bc 100644
index 42606ef..cdc372b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -13263,12 +13263,12 @@ lxc/lxc_controller_dispatch.h: $(srcdir)/rpc/gendispatch.pl \
@@ -13350,12 +13350,12 @@ lxc/lxc_controller_dispatch.h: $(srcdir)/rpc/gendispatch.pl \
@WITH_LIBVIRTD_TRUE@@WITH_POLKIT_TRUE@ $(DESTDIR)$(policydir)/org.libvirt.unix.policy
@WITH_LIBVIRTD_TRUE@@WITH_POLKIT_TRUE@ $(MKDIR_P) $(DESTDIR)$(datadir)/polkit-1/rules.d
@WITH_LIBVIRTD_TRUE@@WITH_POLKIT_TRUE@ $(INSTALL_DATA) $(srcdir)/remote/libvirtd.rules \
......
......@@ -6,7 +6,7 @@
Do not edit this file. Changes will be lost.
-->
<!--
This page was generated at Tue Aug 28 09:04:24 UTC 2018.
This page was generated at Tue Nov 27 18:28:28 UTC 2018.
-->
<head>
<meta charset="UTF-8"/>
......@@ -102,6 +102,14 @@
</li>
</ul>
</li>
<li>
<a href="#connect_driver">Hypervisor Driver connect_driver</a>
<ul>
<li>
<a href="#object_connect_driver">Connection Driver Name</a>
</li>
</ul>
</li>
<li>
<a href="#user">User identity attributes</a>
</li>
......@@ -408,6 +416,126 @@
</tr>
</tbody>
</table>
<h2>
<a id="connect_driver">Hypervisor Driver connect_driver</a>
<a class="headerlink" href="#connect_driver" title="Permalink to this headline"></a>
</h2>
<p>
The <code>connect_driver</code> parameter describes the
client's <a href="remote.html">remote Connection Driver</a>
name based on the <a href="uri.html">URI</a> used for the
connection.
</p>
<p><span class="since">Since 4.1.0</span>, when calling an API
outside the scope of the primary connection driver, the
primary driver will attempt to open a secondary connection
to the specific API driver in order to process the API. For
example, when hypervisor domain processing needs to make an
API call within the storage driver or the network filter driver
an attempt to open a connection to the "storage" or "nwfilter"
driver will be made. Similarly, a "storage" primary connection
may need to create a connection to the "secret" driver in order
to process secrets for the API. If successful, then calls to
those API's will occur in the <code>connect_driver</code> context
of the secondary connection driver rather than in the context of
the primary driver. This affects the <code>connect_driver</code>
returned from rule generation from the <code>action.loookup</code>
function. The following table provides a list of the various
connection drivers and the <code>connect_driver</code> name
used by each regardless of primary or secondary connection.
The access denied error message from libvirt will list the
connection driver by name that denied the access.
</p>
<h3>
<a id="object_connect_driver">Connection Driver Name</a>
<a class="headerlink" href="#object_connect_driver" title="Permalink to this headline"></a>
</h3>
<table class="acl">
<thead>
<tr>
<th>Connection Driver</th>
<th><code>connect_driver</code> name</th>
</tr>
</thead>
<tbody>
<tr>
<td>bhyve</td>
<td>bhyve</td>
</tr>
<tr>
<td>esx</td>
<td>ESX</td>
</tr>
<tr>
<td>hyperv</td>
<td>Hyper-V</td>
</tr>
<tr>
<td>interface</td>
<td>interface</td>
</tr>
<tr>
<td>libxl</td>
<td>xenlight</td>
</tr>
<tr>
<td>lxc</td>
<td>LXC</td>
</tr>
<tr>
<td>network</td>
<td>network</td>
</tr>
<tr>
<td>nodedev</td>
<td>nodedev</td>
</tr>
<tr>
<td>nwfilter</td>
<td>NWFilter</td>
</tr>
<tr>
<td>openvz</td>
<td>OPENVZ</td>
</tr>
<tr>
<td>phyp</td>
<td>PHYP</td>
</tr>
<tr>
<td>qemu</td>
<td>QEMU</td>
</tr>
<tr>
<td>secret</td>
<td>secret</td>
</tr>
<tr>
<td>storage</td>
<td>storage</td>
</tr>
<tr>
<td>uml</td>
<td>UML</td>
</tr>
<tr>
<td>vbox</td>
<td>VBOX</td>
</tr>
<tr>
<td>vmware</td>
<td>VMWARE</td>
</tr>
<tr>
<td>vz</td>
<td>vz</td>
</tr>
<tr>
<td>xenapi</td>
<td>XenAPI</td>
</tr>
</tbody>
</table>
<h2>
<a id="user">User identity attributes</a>
<a class="headerlink" href="#user" title="Permalink to this headline"></a>
......
......@@ -287,6 +287,123 @@
</tbody>
</table>
<h2><a id="connect_driver">Hypervisor Driver connect_driver</a></h2>
<p>
The <code>connect_driver</code> parameter describes the
client's <a href="remote.html">remote Connection Driver</a>
name based on the <a href="uri.html">URI</a> used for the
connection.
</p>
<p>
<span class="since">Since 4.1.0</span>, when calling an API
outside the scope of the primary connection driver, the
primary driver will attempt to open a secondary connection
to the specific API driver in order to process the API. For
example, when hypervisor domain processing needs to make an
API call within the storage driver or the network filter driver
an attempt to open a connection to the "storage" or "nwfilter"
driver will be made. Similarly, a "storage" primary connection
may need to create a connection to the "secret" driver in order
to process secrets for the API. If successful, then calls to
those API's will occur in the <code>connect_driver</code> context
of the secondary connection driver rather than in the context of
the primary driver. This affects the <code>connect_driver</code>
returned from rule generation from the <code>action.loookup</code>
function. The following table provides a list of the various
connection drivers and the <code>connect_driver</code> name
used by each regardless of primary or secondary connection.
The access denied error message from libvirt will list the
connection driver by name that denied the access.
</p>
<h3><a id="object_connect_driver">Connection Driver Name</a></h3>
<table class="acl">
<thead>
<tr>
<th>Connection Driver</th>
<th><code>connect_driver</code> name</th>
</tr>
</thead>
<tbody>
<tr>
<td>bhyve</td>
<td>bhyve</td>
</tr>
<tr>
<td>esx</td>
<td>ESX</td>
</tr>
<tr>
<td>hyperv</td>
<td>Hyper-V</td>
</tr>
<tr>
<td>interface</td>
<td>interface</td>
</tr>
<tr>
<td>libxl</td>
<td>xenlight</td>
</tr>
<tr>
<td>lxc</td>
<td>LXC</td>
</tr>
<tr>
<td>network</td>
<td>network</td>
</tr>
<tr>
<td>nodedev</td>
<td>nodedev</td>
</tr>
<tr>
<td>nwfilter</td>
<td>NWFilter</td>
</tr>
<tr>
<td>openvz</td>
<td>OPENVZ</td>
</tr>
<tr>
<td>phyp</td>
<td>PHYP</td>
</tr>
<tr>
<td>qemu</td>
<td>QEMU</td>
</tr>
<tr>
<td>secret</td>
<td>secret</td>
</tr>
<tr>
<td>storage</td>
<td>storage</td>
</tr>
<tr>
<td>uml</td>
<td>UML</td>
</tr>
<tr>
<td>vbox</td>
<td>VBOX</td>
</tr>
<tr>
<td>vmware</td>
<td>VMWARE</td>
</tr>
<tr>
<td>vz</td>
<td>vz</td>
</tr>
<tr>
<td>xenapi</td>
<td>XenAPI</td>
</tr>
</tbody>
</table>
<h2><a id="user">User identity attributes</a></h2>
......
......@@ -76,6 +76,9 @@
<function name="VIR_DOMAIN_CPU_STATS_USERTIME" link="libvirt-libvirt-domain.html#VIR_DOMAIN_CPU_STATS_USERTIME"/>
<function name="VIR_DOMAIN_CPU_STATS_VCPUTIME" link="libvirt-libvirt-domain.html#VIR_DOMAIN_CPU_STATS_VCPUTIME"/>
<function name="VIR_DOMAIN_EVENT_CALLBACK" link="libvirt-libvirt-domain.html#VIR_DOMAIN_EVENT_CALLBACK"/>
<function name="VIR_DOMAIN_IOTHREAD_POLL_GROW" link="libvirt-libvirt-domain.html#VIR_DOMAIN_IOTHREAD_POLL_GROW"/>
<function name="VIR_DOMAIN_IOTHREAD_POLL_MAX_NS" link="libvirt-libvirt-domain.html#VIR_DOMAIN_IOTHREAD_POLL_MAX_NS"/>
<function name="VIR_DOMAIN_IOTHREAD_POLL_SHRINK" link="libvirt-libvirt-domain.html#VIR_DOMAIN_IOTHREAD_POLL_SHRINK"/>
<function name="VIR_DOMAIN_JOB_AUTO_CONVERGE_THROTTLE" link="libvirt-libvirt-domain.html#VIR_DOMAIN_JOB_AUTO_CONVERGE_THROTTLE"/>
<function name="VIR_DOMAIN_JOB_COMPRESSION_BYTES" link="libvirt-libvirt-domain.html#VIR_DOMAIN_JOB_COMPRESSION_BYTES"/>
<function name="VIR_DOMAIN_JOB_COMPRESSION_CACHE" link="libvirt-libvirt-domain.html#VIR_DOMAIN_JOB_COMPRESSION_CACHE"/>
......@@ -731,6 +734,7 @@
<function name="VIR_DOMAIN_SHUTDOWN_USER" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTDOWN_USER"/>
<function name="VIR_DOMAIN_SHUTOFF" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTOFF"/>
<function name="VIR_DOMAIN_SHUTOFF_CRASHED" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTOFF_CRASHED"/>
<function name="VIR_DOMAIN_SHUTOFF_DAEMON" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTOFF_DAEMON"/>
<function name="VIR_DOMAIN_SHUTOFF_DESTROYED" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTOFF_DESTROYED"/>
<function name="VIR_DOMAIN_SHUTOFF_FAILED" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTOFF_FAILED"/>
<function name="VIR_DOMAIN_SHUTOFF_FROM_SNAPSHOT" link="libvirt-libvirt-domain.html#VIR_DOMAIN_SHUTOFF_FROM_SNAPSHOT"/>
......@@ -774,6 +778,7 @@
<function name="VIR_DOMAIN_STATS_BLOCK" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_BLOCK"/>
<function name="VIR_DOMAIN_STATS_CPU_TOTAL" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_CPU_TOTAL"/>
<function name="VIR_DOMAIN_STATS_INTERFACE" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_INTERFACE"/>
<function name="VIR_DOMAIN_STATS_IOTHREAD" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_IOTHREAD"/>
<function name="VIR_DOMAIN_STATS_PERF" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_PERF"/>
<function name="VIR_DOMAIN_STATS_STATE" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_STATE"/>
<function name="VIR_DOMAIN_STATS_VCPU" link="libvirt-libvirt-domain.html#VIR_DOMAIN_STATS_VCPU"/>
......@@ -1637,6 +1642,7 @@
<function name="virDomainSetBlockIoTune ()" link="libvirt-libvirt-domain.html#virDomainSetBlockIoTune"/>
<function name="virDomainSetBlockThreshold ()" link="libvirt-libvirt-domain.html#virDomainSetBlockThreshold"/>
<function name="virDomainSetGuestVcpus ()" link="libvirt-libvirt-domain.html#virDomainSetGuestVcpus"/>
<function name="virDomainSetIOThreadParams ()" link="libvirt-libvirt-domain.html#virDomainSetIOThreadParams"/>
<function name="virDomainSetInterfaceParameters ()" link="libvirt-libvirt-domain.html#virDomainSetInterfaceParameters"/>
<function name="virDomainSetLifecycleAction ()" link="libvirt-libvirt-domain.html#virDomainSetLifecycleAction"/>
<function name="virDomainSetMaxMemory ()" link="libvirt-libvirt-domain.html#virDomainSetMaxMemory"/>
......
......@@ -6,7 +6,7 @@
Do not edit this file. Changes will be lost.
-->
<!--
This page was generated at Tue Aug 28 09:04:25 UTC 2018.
This page was generated at Tue Oct 30 19:00:06 UTC 2018.
-->
<head>
<meta charset="UTF-8"/>
......@@ -113,7 +113,7 @@
</ul>
<p>
The libvirt KVM/QEMU driver can manage any QEMU emulator from
version 0.12.0 or later.
version 1.5.0 or later.
</p>
<h2>
<a id="project">Project Links</a>
......
......@@ -8,7 +8,7 @@
<p>
The libvirt KVM/QEMU driver can manage any QEMU emulator from
version 0.12.0 or later.
version 1.5.0 or later.
</p>
<h2><a id="project">Project Links</a></h2>
......
......@@ -6,7 +6,7 @@
Do not edit this file. Changes will be lost.
-->
<!--
This page was generated at Tue Aug 28 09:04:25 UTC 2018.
This page was generated at Wed Sep 26 11:29:31 UTC 2018.
-->
<head>
<meta charset="UTF-8"/>
......@@ -83,7 +83,7 @@
</ul>
<p>
The libvirt libxl driver provides the ability to manage virtual
machines on any Xen release from 4.4.0 onwards.
machines on any Xen release from 4.6.0 onwards.
</p>
<h2>
<a id="project">Project Links</a>
......