]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
6 years agovirjsontest: reword error messages in testJSONFromString
Ján Tomko [Tue, 2 Apr 2019 14:07:01 +0000 (16:07 +0200)]
virjsontest: reword error messages in testJSONFromString

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agotestJSONFromString: regroup if blocks
Ján Tomko [Tue, 2 Apr 2019 14:06:52 +0000 (16:06 +0200)]
testJSONFromString: regroup if blocks

Handle failure to parse the JSON in an else branch for readability.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirjsontest: switch AddAndRemove tests to work with files
Ján Tomko [Fri, 1 Jun 2018 07:05:23 +0000 (09:05 +0200)]
virjsontest: switch AddAndRemove tests to work with files

Instead of using JSON in C strings, put it in separate files
for easier manipulation.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
6 years agorbd: fix build with LIBRBD_VERSION_CODE <= 265
Ján Tomko [Wed, 3 Apr 2019 11:14:55 +0000 (13:14 +0200)]
rbd: fix build with LIBRBD_VERSION_CODE <= 265

Add ATTRIBUTE_UNUSED to the volStorageBackendRBDGetFlags stub.

Fixes: 21deeaf02fdf216b08210fc899579736973ca81d
Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agoconfigure.ac: add foreign to AM_INIT_AUTOMAKE
Ján Tomko [Wed, 3 Apr 2019 00:29:03 +0000 (02:29 +0200)]
configure.ac: add foreign to AM_INIT_AUTOMAKE

We do not care about the portability warnings implied by the implicit
'gnu' option. Switch to 'foreign' to opt out of checking the files
present in the top directory to let us drop ChangeLog completely.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoconfigure.ac: drop -Wno-obsolete from AM_INIT_AUTOMAKE
Ján Tomko [Wed, 3 Apr 2019 00:21:28 +0000 (02:21 +0200)]
configure.ac: drop -Wno-obsolete from AM_INIT_AUTOMAKE

Even Ubuntu 16.04 has automake 1.11.
Now that we no longer cater to automake 1.9, drop the comment
as well as the -Wno-obsolete option, since it does not seem to generate
any warnings anymore.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoconfigure: split AM_INIT_AUTOMAKE into multiple lines
Ján Tomko [Wed, 3 Apr 2019 00:01:30 +0000 (02:01 +0200)]
configure: split AM_INIT_AUTOMAKE into multiple lines

Make it work better with git history.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agovirJSONValueToString: bail out early on error
Ján Tomko [Tue, 2 Apr 2019 21:59:38 +0000 (23:59 +0200)]
virJSONValueToString: bail out early on error

Now that we do not need to cater to YAJL 1, move the check for the
return value of yajl_gen_alloc earlier, so that we can assume it
was successful in later code.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agobuild: remove WITH_YAJL2
Ján Tomko [Tue, 2 Apr 2019 22:04:13 +0000 (00:04 +0200)]
build: remove WITH_YAJL2

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agojson: assume WITH_YAJL2
Ján Tomko [Tue, 2 Apr 2019 21:57:04 +0000 (23:57 +0200)]
json: assume WITH_YAJL2

Now that we require YAJL2, drop the code dealing with YAJL 1.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agobuild: require yajl >= 2.0.3
Ján Tomko [Tue, 2 Apr 2019 21:50:37 +0000 (23:50 +0200)]
build: require yajl >= 2.0.3

The pkg-config file was introduced by commit b729ded which was released
in yajl 2.0.3.

Since all our supported platforms include at least yajl 2.0.4,
use pkg-config to detect the library and set the minimum to 2.0.3.

https://repology.org/project/yajl/versions

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agobuild: drop check for SASL1
Ján Tomko [Wed, 3 Apr 2019 00:44:17 +0000 (02:44 +0200)]
build: drop check for SASL1

Even Debian 8 which we no longer support has 2.1.26.

https://repology.org/project/cyrus-sasl/versions

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agotests: fix typo in mock filename added to EXTRA_DIST
Daniel P. Berrangé [Wed, 3 Apr 2019 11:01:27 +0000 (12:01 +0100)]
tests: fix typo in mock filename added to EXTRA_DIST

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoqemu: fix domain unlock/unref in qemuMigrationSrcPerform
Nikolay Shirokovskiy [Mon, 1 Apr 2019 13:09:41 +0000 (16:09 +0300)]
qemu: fix domain unlock/unref in qemuMigrationSrcPerform

qemuMigrationSrcPerform callers expect it to call virDomainObjEndAPI
in any case so on error paths we miss the virDomainObjEndAPI call.
To fix this let's make qemuMigrationSrcPerform callers responsible
for the virDomainObjEndAPI call.

ACKed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
6 years agoexamples: fix 64-bit integer formatting on Windows
Daniel P. Berrangé [Tue, 2 Apr 2019 08:45:47 +0000 (09:45 +0100)]
examples: fix 64-bit integer formatting on Windows

The Windows printf functions don't support %llu/%lld for printing 64-bit
integers. For most of libvirt this doesn't matter as we rely on gnulib
which provides a replacement printf that is sane.

The example code is designed to compile against the normal OS headers,
with no use of gnulib and thus has to use the platform specific printf.
To deal with this we must use the macros PRI* macros from inttypes.h
to get the platform specific format string.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agocfg.mk: block use of d_type from dirent by default
Daniel P. Berrangé [Tue, 2 Apr 2019 12:33:06 +0000 (13:33 +0100)]
cfg.mk: block use of d_type from dirent by default

The use of d_type is non-portable and leads to surprises when the OS
does not fill in any value except DT_UNKNOWN. Blacklist its usage
except in files which inherantly don't require portability (cgroups).

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agosecurity: avoid use of dirent d_type field
Daniel P. Berrangé [Tue, 2 Apr 2019 12:35:43 +0000 (13:35 +0100)]
security: avoid use of dirent d_type field

The d_type field cannot be assumed to be filled. Some filesystems, such
as older XFS, will simply report DT_UNKNOWN.

Even if the d_type is filled in, the use of it in the SELinux functions
is dubious. If labelling all files in a directory there's no reason to
skip things which are not regular files. We merely need to skip "." and
"..", which is done by virDirRead() already.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoqemu: don't rely on the non-portable d_type field in dirent
Daniel P. Berrangé [Tue, 2 Apr 2019 12:27:44 +0000 (13:27 +0100)]
qemu: don't rely on the non-portable d_type field in dirent

d_type is a non-portable extension to the struct dirent and even if it
exists, its value may be DT_UNKNOWN if the filesystem doesn't support
it. This is common with older versions of XFS which have ftype=0
feature.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agotests: fix mocking of stat() / lstat() functions
Daniel P. Berrangé [Mon, 1 Apr 2019 16:47:25 +0000 (17:47 +0100)]
tests: fix mocking of stat() / lstat() functions

Quite a few of the tests have a need to mock the stat() / lstat()
functions and they are taking somewhat different & inconsistent
approaches none of which are actually fully correct. This is shown
by fact that 'make check' fails on 32-bit hosts. Investigation
revealed that the code was calling into the native C library impl,
not getting intercepted by our mocks.

The POSIX stat() function might resolve to any number of different
symbols in the C library.

The may be an additional stat64() function exposed by the headers
too.

On 64-bit hosts the stat & stat64 functions are identical, always
refering to the 64-bit ABI.

On 32-bit hosts they refer to the 32-bit & 64-bit ABIs respectively.

Libvirt uses _FILE_OFFSET_BITS=64 on 32-bit hosts, which causes the
C library to transparently rewrite stat() calls to be stat64() calls.
Libvirt will never see the 32-bit ABI from the traditional stat()
call. We cannot assume this rewriting is done using a macro. It might
be, but on GLibC it is done with a magic __asm__ statement to apply
the rewrite at link time instead of at preprocessing.

In GLibC there may be two additional functions exposed by the headers,
__xstat() and __xstat64(). When these exist, stat() and stat64() are
transparently rewritten to call __xstat() and __xstat64() respectively.
The former symbols will not actally exist in the library at all, only
the header. The leading "__" indicates the symbols are a private impl
detail of the C library that applications should not care about.
Unfortunately, because we are trying to mock replace the C library,
we need to know about this internal impl detail.

With all this in mind the list of functions we have to mock will depend
on several factors

 - If _FILE_OFFSET_BITS is set, then we are on a 32-bit host, and we
   only need to mock stat64 and __xstat64. The other stat / __xstat
   functions exist, but we'll never call them so they can be ignored
   for mocking.

 - If _FILE_OFFSET_BITS is not set, then we are on a 64-bit host and
   we should mock stat, stat64, __xstat & __xstat64. Either may be
   called by app code.

 - If __xstat & __xstat64 exist, then stat & stat64 will not exist
   as symbols in the library, so the latter should not be mocked.

The same all applies to lstat()

These rules are complex enough that we don't want to duplicate them
across every mock file, so this centralizes all the logic in a helper
file virmockstathelper.c that should be #included when needed. The
code merely need to provide a filename rewriting callback called
virMockStatRedirect(). Optionally VIR_MOCK_STAT_HOOK can be defined
as a macro if further processing is needed inline.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoqemu: monitor: Avoid unnecessary copies of command string
Peter Krempa [Tue, 26 Mar 2019 17:33:01 +0000 (18:33 +0100)]
qemu: monitor: Avoid unnecessary copies of command string

Use virJSONValueToBuffer so that we can append the command terminator
string without copying of the string again. Also avoid a 'strlen' as we
can query the buffer use size.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agoqemu: monitor: Remove few debug statements
Peter Krempa [Tue, 26 Mar 2019 17:36:30 +0000 (18:36 +0100)]
qemu: monitor: Remove few debug statements

The internal qemu machinery already logs the sent message via the PROBE
point in qemuMonitorSend and the monitor receive function. Those are way
better as they are easy grepable. Remove the additional ones from the
monitor code which just duplicate the sent data.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agoutil: json: Export virJSONValueToBuffer
Peter Krempa [Tue, 26 Mar 2019 16:56:14 +0000 (17:56 +0100)]
util: json: Export virJSONValueToBuffer

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agoutil: json: Don't bother logging output string in virJSONValueToString
Peter Krempa [Fri, 29 Mar 2019 12:48:22 +0000 (13:48 +0100)]
util: json: Don't bother logging output string in virJSONValueToString

We have tests that validate the XML formatter. Additionally almost every
guide tells users to disable JSON logging. Drop logging of output string
in virJSONValueToString.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agoutil: json: Use virBuffer in JSON->string conversion
Peter Krempa [Tue, 26 Mar 2019 13:56:22 +0000 (14:56 +0100)]
util: json: Use virBuffer in JSON->string conversion

The last step of the conversion involves copying of the generated JSON
into a separate string. We can use a virBuffer to do this as this will
also allow to subsequently use the buffer when we actually need to do
some other formatting of the string.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agoutil: buffer: Use 'size_t' for buffer size variables
Peter Krempa [Tue, 26 Mar 2019 17:02:06 +0000 (18:02 +0100)]
util: buffer: Use 'size_t' for buffer size variables

Use size_t for all sizes. The '*' modifier unfortunately does require an
int so a temporary variable is necessary in the tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agoutil: buffer: Remove struct member munging
Peter Krempa [Mon, 25 Mar 2019 15:54:28 +0000 (16:54 +0100)]
util: buffer: Remove struct member munging

This was meant to stop abusing the members directly, but we don't do
this for other internal structs. Additionally this did not stop the
test from touching the members. Remove the header obscurization.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoUse VIR_AUTODISPOSE_STR instead of VIR_DISPOSE_STRING where possible
Peter Krempa [Mon, 1 Apr 2019 13:04:54 +0000 (15:04 +0200)]
Use VIR_AUTODISPOSE_STR instead of VIR_DISPOSE_STRING where possible

Refactor code paths which clear strings on cleanup paths to use the
automatic helper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoutil: alloc: Add automatic cleanup/disposal of strings
Peter Krempa [Mon, 1 Apr 2019 13:04:53 +0000 (15:04 +0200)]
util: alloc: Add automatic cleanup/disposal of strings

VIR_AUTODISPOSE_STR is similar to VIR_AUTOFREE(char *) but uses
virDispose for clearing of the stored string.

This patch also refactors VIR_DISPOSE to use the new helper which is
used for the new macro.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: capabilities: Always assume disk snapshot caps
Peter Krempa [Tue, 5 Jun 2018 11:42:44 +0000 (13:42 +0200)]
qemu: capabilities: Always assume disk snapshot caps

'blockdev-snapshot-sync' is present in QEMU since v0.14.0-rc0 and
'transaction' since v1.1.0 (52e7c241ac766406f05fa)

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: capabilities: Always assume QEMU_CAPS_DRIVE_MIRROR
Peter Krempa [Tue, 5 Jun 2018 11:42:44 +0000 (13:42 +0200)]
qemu: capabilities: Always assume QEMU_CAPS_DRIVE_MIRROR

qemu added the 'drive-mirror' command in v1.3.0 (d9b902db3fb71fdc)

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: capabilities: Always assume QEMU_CAPS_BLOCK_COMMIT
Peter Krempa [Tue, 5 Jun 2018 11:42:44 +0000 (13:42 +0200)]
qemu: capabilities: Always assume QEMU_CAPS_BLOCK_COMMIT

qemu added the 'block-commit' command in v1.3.0 (ed61fc10e8c8d2)

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: domain: drop qemuDomainSupportsBlockJobs
Peter Krempa [Tue, 5 Jun 2018 11:53:46 +0000 (13:53 +0200)]
qemu: domain: drop qemuDomainSupportsBlockJobs

It always returns true.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: capabilities: Always assume QEMU_CAPS_BLOCKJOB_ASYNC
Peter Krempa [Tue, 5 Jun 2018 11:42:44 +0000 (13:42 +0200)]
qemu: capabilities: Always assume QEMU_CAPS_BLOCKJOB_ASYNC

This was detected by the presence of 'block-stream' which is present in
qemu since v1.1 (db58f9c0605fa151b8c4)

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Add 'index' attribute for <disk><mirror><source>
Peter Krempa [Wed, 13 Mar 2019 16:42:37 +0000 (17:42 +0100)]
conf: Add 'index' attribute for <disk><mirror><source>

Similarly to the disk source we need to keep the disk index (which is in
the qemu driver used for identification of the source for block jobs)
for the <mirror> element so that when it's replaced as a disk source
after pivoting all the allocated data is present.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Parse and format 'backingStore' for disk <mirror>
Peter Krempa [Wed, 13 Mar 2019 15:08:13 +0000 (16:08 +0100)]
conf: Parse and format 'backingStore' for disk <mirror>

When the block copy operation is started with a reused external file in
incremental mode libvirt will need to open and insert the backing chain
for that file into qemu (in -blockdev mode). This means that we'll need
to track the backing chain and metadata such as node names for the full
chain of <mirror>.

This patch invokes the full backing chain formatter and parser for
<mirror> so that the chain can be kept with <mirror>.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Refactor virDomainDiskDefMirrorParse
Peter Krempa [Wed, 20 Mar 2019 16:33:29 +0000 (17:33 +0100)]
conf: Refactor virDomainDiskDefMirrorParse

Use virDomainStorageSourceParseBase and other tricks.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Pass 'flags' to virDomainDiskSourceFormat in virDomainDiskDefFormatMirror
Peter Krempa [Thu, 21 Mar 2019 07:29:44 +0000 (08:29 +0100)]
conf: Pass 'flags' to virDomainDiskSourceFormat in virDomainDiskDefFormatMirror

We have the proper flags available so we can pass them to the fomatter.
The added bonus is that private data may be formatted into the status
XML.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: use virXMLFormatElement in virDomainDiskDefFormatMirror
Peter Krempa [Thu, 21 Mar 2019 07:28:35 +0000 (08:28 +0100)]
conf: use virXMLFormatElement in virDomainDiskDefFormatMirror

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: Parse NBD storage source private data by virDomainStorageSourceParse
Peter Krempa [Wed, 20 Mar 2019 16:18:23 +0000 (17:18 +0100)]
qemu: Parse NBD storage source private data by virDomainStorageSourceParse

Drop the local call in favor of passing in xmlopt.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: Use virDomainStorageSourceParseBase in qemuDomainObjPrivateXMLParseJobNBDSource
Peter Krempa [Wed, 20 Mar 2019 16:16:21 +0000 (17:16 +0100)]
qemu: Use virDomainStorageSourceParseBase in qemuDomainObjPrivateXMLParseJobNBDSource

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: Remove cleanup in qemuDomainObjPrivateXMLParseJobNBDSource
Peter Krempa [Wed, 20 Mar 2019 16:10:11 +0000 (17:10 +0100)]
qemu: Remove cleanup in qemuDomainObjPrivateXMLParseJobNBDSource

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: Use VIR_AUTOFREE in qemuDomainObjPrivateXMLParseJobNBDSource
Peter Krempa [Wed, 20 Mar 2019 16:08:42 +0000 (17:08 +0100)]
qemu: Use VIR_AUTOFREE in qemuDomainObjPrivateXMLParseJobNBDSource

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Modify arguments passed to virDomainDiskBackingStoreFormat
Peter Krempa [Thu, 21 Mar 2019 07:34:10 +0000 (08:34 +0100)]
conf: Modify arguments passed to virDomainDiskBackingStoreFormat

Pass in 'src' rather than the backing store of it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Document virDomainStorageSourceParse
Peter Krempa [Wed, 20 Mar 2019 15:58:20 +0000 (16:58 +0100)]
conf: Document virDomainStorageSourceParse

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Use virDomainStorageSourceParseBase in virDomainDiskBackingStoreParse
Peter Krempa [Wed, 20 Mar 2019 15:31:09 +0000 (16:31 +0100)]
conf: Use virDomainStorageSourceParseBase in virDomainDiskBackingStoreParse

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: introduce virDomainStorageSourceParseBase
Peter Krempa [Wed, 20 Mar 2019 15:12:45 +0000 (16:12 +0100)]
conf: introduce virDomainStorageSourceParseBase

The helper converts the 'type', 'format' and index values to enum
values/numbers and does validation.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Replace virDomainDiskSourceParse by virDomainStorageSourceParse
Peter Krempa [Mon, 11 Mar 2019 09:47:53 +0000 (10:47 +0100)]
conf: Replace virDomainDiskSourceParse by virDomainStorageSourceParse

virDomainDiskSourceParse was now just a thin wrapper without any extra
value. Replace all usage of it by the function it calls and remove the
function.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Document virDomainDiskSourceFormat
Peter Krempa [Wed, 20 Mar 2019 13:13:42 +0000 (14:13 +0100)]
conf: Document virDomainDiskSourceFormat

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Merge virDomainStorageSourceFormat into virDomainDiskSourceFormat
Peter Krempa [Wed, 20 Mar 2019 12:51:07 +0000 (13:51 +0100)]
conf: Merge virDomainStorageSourceFormat into virDomainDiskSourceFormat

There was only one caller, remove the unnecessary wrapper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Use virXMLFormatElement in virDomainDiskBackingStoreFormat
Peter Krempa [Thu, 7 Mar 2019 17:00:03 +0000 (18:00 +0100)]
conf: Use virXMLFormatElement in virDomainDiskBackingStoreFormat

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Avoid temporary variable in virDomainDiskBackingStoreFormat
Peter Krempa [Thu, 7 Mar 2019 16:48:08 +0000 (17:48 +0100)]
conf: Avoid temporary variable in virDomainDiskBackingStoreFormat

Modify the check that the format is in range to be standalone and use
the convertor function directly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Simplify control flow in virDomainDiskSourceFormat
Peter Krempa [Thu, 7 Mar 2019 16:35:04 +0000 (17:35 +0100)]
conf: Simplify control flow in virDomainDiskSourceFormat

Now that the cleanup is handled automatically it can be removed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Unexport virDomainStorageSourceFormat
Peter Krempa [Thu, 7 Mar 2019 16:14:18 +0000 (17:14 +0100)]
conf: Unexport virDomainStorageSourceFormat

It's not used outside of src/conf/domain_conf.c

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: domain: Modify <migrationSource> to look like <disk>
Peter Krempa [Fri, 22 Mar 2019 15:48:54 +0000 (16:48 +0100)]
qemu: domain: Modify <migrationSource> to look like <disk>

When adding <migrationSource> I've used a slightly unusual approach. To
allow using the disk source XML parser and formatter convert
<migrationSource> to look like <disk>. This means that <source> will be
added as a subelement of <migrationSource> rather than being formatted
inline.

Conversion from the old format in the parser is very simple as it
involves only moving the XPath context current node slightly if the new
format is found.

The status XML to XML test shows that the upgrade is done correctly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agotests: qemustatusxml2xml: Add separate output for migration-out-nbd-tls
Peter Krempa [Fri, 22 Mar 2019 15:45:06 +0000 (16:45 +0100)]
tests: qemustatusxml2xml: Add separate output for migration-out-nbd-tls

Upcomming change will modify some aspects. To allow testing upgrade path
add a separate output file so that we can see the conversion from old to
new config.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agotests: qemustatusxml2xml: Add another disk to migration-out-nbd-tls case
Peter Krempa [Fri, 22 Mar 2019 15:45:06 +0000 (16:45 +0100)]
tests: qemustatusxml2xml: Add another disk to migration-out-nbd-tls case

Upcomming change will modify some aspects. To allow testing upgrade path
add another disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agotests: qemuxml2xml: Use virdeterministichashmock.so
Peter Krempa [Thu, 21 Mar 2019 13:12:54 +0000 (14:12 +0100)]
tests: qemuxml2xml: Use virdeterministichashmock.so

Block job related data will be stored in a has table and formatted into
the status XML. Use the mock to guarantee stable tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Export virDomainDiskSourceFormat
Peter Krempa [Fri, 22 Mar 2019 15:35:03 +0000 (16:35 +0100)]
conf: Export virDomainDiskSourceFormat

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Merge virDomainDiskSourceFormatInternal into virDomainDiskSourceFormat
Peter Krempa [Wed, 20 Mar 2019 10:46:54 +0000 (11:46 +0100)]
conf: Merge virDomainDiskSourceFormatInternal into virDomainDiskSourceFormat

Remove the wrapper and fix callers.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Remove @seclabels from virDomainStorageSourceFormat
Peter Krempa [Wed, 20 Mar 2019 10:18:44 +0000 (11:18 +0100)]
conf: Remove @seclabels from virDomainStorageSourceFormat

All callers including transitive callers through
virDomainDiskSourceFormatInternal always pass true. Remove the argument.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoconf: Format seclabels for <backingStore>
Peter Krempa [Mon, 18 Mar 2019 14:31:28 +0000 (15:31 +0100)]
conf: Format seclabels for <backingStore>

We parse the seclabels and use them internally so omitting them when
formatting would be misleading. Additionally our schema actually allows
them.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: domain: Forbid copy_on_read option also for floppies
Peter Krempa [Thu, 28 Mar 2019 16:06:20 +0000 (17:06 +0100)]
qemu: domain: Forbid copy_on_read option also for floppies

Using copy_on_read for removable disks is a hassle. It also does not
work for CDROMs at all as the image is supposed to be read-only and we
might ignore it for floppies when they are started as empty. Forbid it
for floppies completely rather than trying to support what probably
nobody is using.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: hotplug: Disallow media change while blockjob is active
Peter Krempa [Thu, 28 Mar 2019 11:23:43 +0000 (12:23 +0100)]
qemu: hotplug: Disallow media change while blockjob is active

Until the block job completes we can't change the disk chain. Removal
would fail as the block job still has reference to the chain.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: hotplug: Use VIR_AUTOUNREF for virQEMUDriverConfigPtr
Peter Krempa [Thu, 28 Mar 2019 11:51:13 +0000 (12:51 +0100)]
qemu: hotplug: Use VIR_AUTOUNREF for virQEMUDriverConfigPtr

Unref the config pointer automatically in code paths which get a local
copy.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: hotplug: Remove unused copies of virQEMUDriverConfigPtr
Peter Krempa [Thu, 28 Mar 2019 14:14:39 +0000 (15:14 +0100)]
qemu: hotplug: Remove unused copies of virQEMUDriverConfigPtr

qemuDomainChangeGraphicsPasswords and qemuDomainRemoveHostDevice
don't use 'cfg' any more since commits 4327df7eee75c5 and 802c59d4b9dcd
respectively.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: domain: Use VIR_AUTOFREE in qemuDomainObjPrivateXMLParseBlockjobs
Peter Krempa [Mon, 4 Mar 2019 15:34:54 +0000 (16:34 +0100)]
qemu: domain: Use VIR_AUTOFREE in qemuDomainObjPrivateXMLParseBlockjobs

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemu: Remove cleanup section of virQEMUCapsInitQMPMonitorTCG
Peter Krempa [Tue, 2 Apr 2019 11:31:52 +0000 (13:31 +0200)]
qemu: Remove cleanup section of virQEMUCapsInitQMPMonitorTCG

There's nothing to clean up.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
6 years agoqemu: Remove ATTRIBUTE_UNUSED from 'qemuCaps' of virQEMUCapsInitQMPMonitorTCG
Peter Krempa [Tue, 2 Apr 2019 11:29:18 +0000 (13:29 +0200)]
qemu: Remove ATTRIBUTE_UNUSED from 'qemuCaps' of virQEMUCapsInitQMPMonitorTCG

It's actually used.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
6 years agoqemu: caps: Remove pointless debug message in virQEMUCapsInitQMPMonitor
Peter Krempa [Fri, 29 Mar 2019 08:28:56 +0000 (09:28 +0100)]
qemu: caps: Remove pointless debug message in virQEMUCapsInitQMPMonitor

Failure of qemuMonitorGetVersion is fatal now that we only support QMP
based qemus. Remove the debug message since we report an error already.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: caps: Remove cleanup section in virQEMUCapsInitQMPMonitor
Peter Krempa [Fri, 29 Mar 2019 08:25:21 +0000 (09:25 +0100)]
qemu: caps: Remove cleanup section in virQEMUCapsInitQMPMonitor

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: caps: Don't leak package name string in virQEMUCapsInitQMPMonitor
Peter Krempa [Fri, 29 Mar 2019 08:32:14 +0000 (09:32 +0100)]
qemu: caps: Don't leak package name string in virQEMUCapsInitQMPMonitor

If the detected qemu version is below our required version 'package'
would be leaked.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: Decide whether to query schema in virQEMUCapsProbeQMPSchemaCapabilities
Peter Krempa [Tue, 2 Apr 2019 10:31:31 +0000 (12:31 +0200)]
qemu: Decide whether to query schema in virQEMUCapsProbeQMPSchemaCapabilities

Move the check out of virQEMUCapsInitQMPMonitor similarly to other
functions.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: Move SEV capability handling into virQEMUCapsProbeQMPSEVCapabilities
Peter Krempa [Tue, 2 Apr 2019 10:31:31 +0000 (12:31 +0200)]
qemu: Move SEV capability handling into virQEMUCapsProbeQMPSEVCapabilities

Move the code out of virQEMUCapsInitQMPMonitor similarly to other
functions.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: Decide whether check GIC caps in virQEMUCapsProbeQMPGICCapabilities
Peter Krempa [Tue, 2 Apr 2019 10:31:31 +0000 (12:31 +0200)]
qemu: Decide whether check GIC caps in virQEMUCapsProbeQMPGICCapabilities

Move the check out of virQEMUCapsInitQMPMonitor similarly to other
functions.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: caps: Aggregate all caps post-processing into a function
Peter Krempa [Fri, 29 Mar 2019 08:12:09 +0000 (09:12 +0100)]
qemu: caps: Aggregate all caps post-processing into a function

Some caps are cleared according to some more advanced logic after
detection. Split all that logic out into virQEMUCapsInitProcessCaps.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agoqemu: caps: Separate capabilities based on qemu version
Peter Krempa [Fri, 29 Mar 2019 08:05:45 +0000 (09:05 +0100)]
qemu: caps: Separate capabilities based on qemu version

virQEMUCapsInitQMPMonitor is massive now since it collects calls to the
various probing functions and also version based capabilities. Split
out the version based caps into a separate function.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
6 years agovirsh-completer: introduce virshPagesizeNodeToString
Ján Tomko [Fri, 29 Mar 2019 17:31:01 +0000 (18:31 +0100)]
virsh-completer: introduce virshPagesizeNodeToString

A helper function that takes a XML node with a "size"
and "unit" attributes and converts it into a human-readable string.

Reduce the size and number of variables in the parent function.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: remove excessive labels
Ján Tomko [Fri, 29 Mar 2019 15:46:54 +0000 (16:46 +0100)]
virsh-completer: remove excessive labels

Now that we have a shared cleanup section everywhere,
delete all the 'error' labels which all contain just 'goto cleanup'
anyway.

Also remove all the 'cleanup' labels that only 'return ret' - we
can simply return NULL instead of jumping to that label.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: use VIR_AUTOFREE for char* variables
Ján Tomko [Fri, 29 Mar 2019 14:22:46 +0000 (15:22 +0100)]
virsh-completer: use VIR_AUTOFREE for char* variables

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: use VIR_AUTOPTR for xml* variables
Ján Tomko [Fri, 29 Mar 2019 17:18:57 +0000 (18:18 +0100)]
virsh-completer: use VIR_AUTOPTR for xml* variables

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: use VIR_AUTOFREE for xmlNodePtr* variables
Ján Tomko [Fri, 29 Mar 2019 14:04:43 +0000 (15:04 +0100)]
virsh-completer: use VIR_AUTOFREE for xmlNodePtr* variables

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: use VIR_AUTOSTRINGLIST for tmp
Ján Tomko [Fri, 29 Mar 2019 13:36:57 +0000 (14:36 +0100)]
virsh-completer: use VIR_AUTOSTRINGLIST for tmp

We've been open-coding virStringListFreeCount for cleaning up
the completion list we're building. This had the advantage of
zeoring the pointer afterwards, which is no longer needed
now that we compile the list in 'tmp' instead of 'ret'.

Since all our lists are NULL-terminated anyway, switch to using
virStringListFree via the VIR_AUTOSTRINGLIST macro.

Fixes nearly impossible NULL dereferences in
  virshNWFilterBindingNameCompleter
  virshNWFilterNameCompleter
  virshNodeDeviceNameCompleter
  virshNetworkNameCompleter
  virshInterfaceNameCompleter
  virshStoragePoolNameCompleter
  virshDomainNameCompleter
which jumped on the error label after a failed allocation
and a possible one in
  virshStorageVolNameCompleter
which jumped there when we fail to fetch the list of volumes.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: unify cleanup of items in name completers
Ján Tomko [Thu, 28 Mar 2019 17:32:36 +0000 (18:32 +0100)]
virsh-completer: unify cleanup of items in name completers

Merge the cleanup of fetched items for the success and the error
paths.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: add a cleanup label everywhere
Ján Tomko [Thu, 28 Mar 2019 17:26:44 +0000 (18:26 +0100)]
virsh-completer: add a cleanup label everywhere

Unify the cleanup paths for error and success.
Now that 'ret' is only set (from tmp) on the success path,
it is safe to jump right before 'return ret' after processing
the error block.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: switch to using tmp instead of ret
Ján Tomko [Thu, 28 Mar 2019 17:03:30 +0000 (18:03 +0100)]
virsh-completer: switch to using tmp instead of ret

Construct the potential return value in an array called 'tmp'
and only assign it to 'ret' if we're going to return it.

This will allow us to unify the error and success paths.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh-completer: fix typo
Ján Tomko [Thu, 28 Mar 2019 16:42:23 +0000 (17:42 +0100)]
virsh-completer: fix typo

Use the posessive determiner instead of a contracted auxiliary.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agovirsh: fix indentation of info_managed_save_edit
Ján Tomko [Sun, 31 Mar 2019 18:16:29 +0000 (20:16 +0200)]
virsh: fix indentation of info_managed_save_edit

Use four spaces instead of three.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
6 years agoqemuDomainDiskChangeSupported: use CHECK_STREQ_NULLABLE more
Ján Tomko [Thu, 28 Mar 2019 14:21:25 +0000 (15:21 +0100)]
qemuDomainDiskChangeSupported: use CHECK_STREQ_NULLABLE more

Convert the other string comparisons to use the macro.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
6 years agotests: Don't use canonical paths in virstoragetest
Andrea Bolognani [Tue, 12 Mar 2019 16:21:37 +0000 (17:21 +0100)]
tests: Don't use canonical paths in virstoragetest

The layout of my home directory is somewhat peculiar: I store
all git repositories in ~/src/upstream, but since I spend
almost all of my time hacking on libvirt, I also have a
convenience symlink ~/src/libvirt -> ~/src/upstream/libvirt
that I use to access that specific git repository.

The above setup has served me well for years; however, ever
since commit ca1471622dd9 dropped our own custom definitions
for abs_{,top_}{src,build}dir and started using the ones
provided by autotools, virstoragetest has started reliably
failing with errors such as

   2) Storage backing chain 2 ...
  Offset 0
  Expect [chain member: 0
  path:/home/abologna/src/upstream/libvirt/tests/virstoragedata/raw
  backingStoreRaw: <null>
  capacity: 0
  encryption: 0
  relPath:<null>
  type:1
  format:1
  protocol:none
  hostname:<null>
  ]
  Actual [chain member: 0
  path:/home/abologna/src/libvirt/tests/virstoragedata/raw
  backingStoreRaw: <null>
  capacity: 0
  encryption: 0
  relPath:<null>
  type:1
  format:1
  protocol:none
  hostname:<null>
  ]
                              ... FAILED

Using abolute paths instead of canonical ones in the tests makes
the problem go away.

Note that all tests that are specifically designed to test path
canonicalization via TEST_PATH_CANONICALIZE() were passing even
before this patch and are not touched by it.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
6 years agomaint: Update references to ChangeLog*
Andrea Bolognani [Mon, 1 Apr 2019 16:44:52 +0000 (18:44 +0200)]
maint: Update references to ChangeLog*

The files no longer exist, at least not in their previous form,
so references to them need to be reworked to still make sense.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agomaint: Drop ChangeLog-old
Andrea Bolognani [Mon, 1 Apr 2019 15:34:03 +0000 (17:34 +0200)]
maint: Drop ChangeLog-old

This file contains the old school ChangeLog, which was manually
updated for every set of changes before the switch to git.

When libvirt was imported into git, however, *all* history was
preserved, including the changes documented in this file, and
can still be inspected using 'git log' just like more recent
changes: the format might be slightly different, but that's not
quite reason enough to treat this file any differently than the
git-generated ChangeLog we just dropped.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agomaint: Stop generating ChangeLog from git
Andrea Bolognani [Mon, 1 Apr 2019 15:33:03 +0000 (17:33 +0200)]
maint: Stop generating ChangeLog from git

Our ChangeLog is generated by basically redirecting the output
of 'git log' into it so, as can be expected, it has only gotten
bigger as development has progressed. As of today, its size has
reached pretty much comical levels:

  $ du -sk ChangeLog
  11328 ChangeLog

All of that for information *literally nobody* cares about: end
users and distro maintainers have proper release notes lovingly
compiled for them, while developers peruse the history either by
calling 'git log' directly or through their favorite $EDITOR's
git integration.

Replacing the generated ChangeLog with a short message pointing
interested parties to the git repository does not only reduce
the size of the unpacked sources from 259904 KiB to 248576 KiB
(~4% saving): from a quick test on my laptop, doing so reduces
the size of the *compressed* release archive from 15140 KiB to
12364 KiB (~18% saving) and also takes the time needed to run
'make distcheck' down from 4:44 to 4:21 (~8% saving).

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
6 years agomaint: Post-release version bump to 5.3.0
Andrea Bolognani [Wed, 3 Apr 2019 07:44:33 +0000 (09:44 +0200)]
maint: Post-release version bump to 5.3.0

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
6 years agoRelease of libvirt-5.2.0
Daniel Veillard [Wed, 3 Apr 2019 07:35:40 +0000 (09:35 +0200)]
Release of libvirt-5.2.0

* docs/news.xml: updated for release date

Signed-off-by: Daniel Veillard <veillard@redhat.com>
6 years agoapparmor: support more QEMU architectures
intrigeri [Mon, 1 Apr 2019 07:41:02 +0000 (07:41 +0000)]
apparmor: support more QEMU architectures

Add hppa, nios2, or1k, riscv32 and riscv64 to the profile.

Fixes: https://bugs.debian.org/914940
Signed-off-by: intrigeri <intrigeri@boum.org>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
6 years agoapps: remove VM Manager android app
Daniel P. Berrangé [Fri, 29 Mar 2019 14:11:00 +0000 (14:11 +0000)]
apps: remove VM Manager android app

The VM Manager app is no longer present on the Play store and while
Google shows a couple of hits they look like the typical untrustworthy
3rd party download redistributors rather than an official site.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoapps: drop link for zenoss software
Daniel P. Berrangé [Fri, 29 Mar 2019 14:08:27 +0000 (14:08 +0000)]
apps: drop link for zenoss software

The page we link to is a 404 and github repo hasn't been touched since
2012 so is clearly dead.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoapps: update link for buildbot
Daniel P. Berrangé [Fri, 29 Mar 2019 14:04:38 +0000 (14:04 +0000)]
apps: update link for buildbot

The libvirt specific page linked for buildbot is a 404. This replacement
link is the closest to what was originally linked.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agoapps: remove dead archipel project
Daniel P. Berrangé [Fri, 29 Mar 2019 14:01:19 +0000 (14:01 +0000)]
apps: remove dead archipel project

The project website http://archipelproject.org/ is dead, reporting a
cloudflare error message

The git repo at https://github.com/ArchipelProject/Archipel/ hasn't
had a commit since Nov 2016, and the last release was a beta6 release
in 2013.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
6 years agonews: Update for 5.2.0 release
Andrea Bolognani [Fri, 29 Mar 2019 14:14:09 +0000 (15:14 +0100)]
news: Update for 5.2.0 release

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>