[libvirt] [PATCH 0/3] Remove website search, just use google
by Cole Robinson
Andrea's ChangeLog patches reminder me that I attempted something
similarish once, and also tried to drop our custom website search:
http://www.redhat.com/archives/libvir-list/2016-May/msg01616.html
danpb recommended I just make our search bar use google instead but
I never made the attempt. 3 years later here it is.
Patch #1 makes the switch but doesn't remove anything
Patch #2 drops index.py, the search indexer
Patch #3 drops search.php and all the references to it.
libvirt.org/search.php is still a valid URL so this may break some
links, even though at the moment the page prints virtually nothing
except some boilerplate text. Maybe we can redirect it to the
homepage or something, ideas welcome
Cole Robinson (3):
docs: Use google sitesearch for website search
docs: Remove index.py
docs: Remove search.php and all references
.gitignore | 1 -
docs/Makefile.am | 22 +-
docs/devhelp/html.xsl | 4 -
docs/index.py | 1266 ---------------------------------------
docs/page.xsl | 9 +-
docs/search.php.code.in | 225 -------
docs/search.php.in | 16 -
7 files changed, 6 insertions(+), 1537 deletions(-)
delete mode 100755 docs/index.py
delete mode 100644 docs/search.php.code.in
delete mode 100644 docs/search.php.in
--
2.21.0
5 years, 7 months
[libvirt] [PATCH v2 00/29] conf: refactor virStorageSource parsing and formatting (blockdev-add saga)
by Peter Krempa
Most patches were changed too substantially to warrant keeping the Rb's.
Peter Krempa (29):
conf: Format seclabels for <backingStore>
conf: Remove @seclabels from virDomainStorageSourceFormat
conf: Merge virDomainDiskSourceFormatInternal into
virDomainDiskSourceFormat
conf: Export virDomainDiskSourceFormat
tests: qemuxml2xml: Use virdeterministichashmock.so
tests: qemustatusxml2xml: Add another disk to migration-out-nbd-tls
case
tests: qemustatusxml2xml: Add separate output for
migration-out-nbd-tls
qemu: domain: Modify <migrationSource> to look like <disk>
conf: Unexport virDomainStorageSourceFormat
conf: Simplify control flow in virDomainDiskSourceFormat
conf: Avoid temporary variable in virDomainDiskBackingStoreFormat
conf: Use virXMLFormatElement in virDomainDiskBackingStoreFormat
conf: Merge virDomainStorageSourceFormat into
virDomainDiskSourceFormat
conf: Document virDomainDiskSourceFormat
conf: Replace virDomainDiskSourceParse by virDomainStorageSourceParse
conf: introduce virDomainStorageSourceParseBase
conf: Use virDomainStorageSourceParseBase in
virDomainDiskBackingStoreParse
conf: Document virDomainStorageSourceParse
conf: Modify arguments passed to virDomainDiskBackingStoreFormat
conf: Allow convenient lookup of <source> in
virDomainStorageSourceParse
qemu: Use VIR_AUTOFREE in qemuDomainObjPrivateXMLParseJobNBDSource
qemu: Remove cleanup in qemuDomainObjPrivateXMLParseJobNBDSource
qemu: Use virDomainStorageSourceParseBase in
qemuDomainObjPrivateXMLParseJobNBDSource
qemu: Parse NBD storage source private data by
virDomainStorageSourceParse
conf: use virXMLFormatElement in virDomainDiskDefFormatMirror
conf: Pass 'flags' to virDomainDiskSourceFormat in
virDomainDiskDefFormatMirror
conf: Refactor virDomainDiskDefMirrorParse
conf: Parse and format 'backingStore' for disk <mirror>
conf: Add 'index' attribute for <disk><mirror><source>
docs/schemas/domaincommon.rng | 1 +
src/conf/domain_conf.c | 345 ++++++-------
src/conf/domain_conf.h | 19 +-
src/conf/snapshot_conf.c | 4 +-
src/libvirt_private.syms | 3 +-
src/qemu/qemu_domain.c | 82 +--
tests/qemublocktest.c | 4 +-
.../blockjob-mirror-in.xml | 13 +
.../migration-out-nbd-tls-in.xml | 27 +-
.../migration-out-nbd-tls-out.xml | 488 +++++++++++++++++-
.../qemuxml2argvdata/disk-backing-chains.xml | 6 +-
tests/qemuxml2argvdata/disk-mirror.xml | 8 +-
.../disk-backing-chains-active.xml | 6 +-
.../disk-backing-chains-inactive.xml | 6 +-
.../qemuxml2xmloutdata/disk-mirror-active.xml | 8 +-
tests/qemuxml2xmltest.c | 3 +-
tests/virstoragetest.c | 2 +-
17 files changed, 769 insertions(+), 256 deletions(-)
mode change 120000 => 100644 tests/qemustatusxml2xmldata/migration-out-nbd-tls-out.xml
--
2.20.1
5 years, 7 months
[libvirt] [PATCH 0/6] Some '#pragma once' conversions
by Cole Robinson
danpb added a BiteSizedTask for '#pragma once' conversions
https://wiki.libvirt.org/page/BiteSizedTasks#Switch_headers_to_use_.23pra...
We don't currently have any usage in the code. Turns out we need
some syntax check tweaks to make things happy. This series fixes those,
and adds a few conversion examples.
Tested on Fedora30 and freebsd12.0 with nodedev hal driver build
Cole Robinson (6):
build-aux: header-ifdef: Fix typos
build-aux: header-ifdef: Handle #pragma once
node_device_driver.h: Use #pragma once
node_device_udev.h: Use #pragma once
node_device_hal.h: Use #pragma once
vircgrouppriv.h: Use #pragma once
build-aux/header-ifdef.pl | 11 ++++++++---
src/node_device/node_device_driver.h | 21 +++++++++------------
src/node_device/node_device_hal.h | 5 +----
src/node_device/node_device_udev.h | 13 +++++--------
src/util/vircgrouppriv.h | 9 +++------
5 files changed, 26 insertions(+), 33 deletions(-)
--
2.21.0
5 years, 7 months
[libvirt] [PATCH v2] tests: Avoid writing into $HOME during virsh-snapshot
by Eric Blake
In a constrained CI environment, where it is intentional that attempts
to write outside the current directory will fail, virsh-snapshot was
failing:
@@ -1,2 +1,3 @@
error: invalid argument: parent s3 for snapshot s2 not found
error: marker
+error: Failed to create '/home/travis/.cache/libvirt/virsh': Permission denied
FAIL virsh-snapshot (exit status: 1)
But we've already solved the problem in virsh-uriprecedence: tell
virsh to use XDG locations pointing to somewhere we can write rather
than its default of falling back to $HOME with the test being at risk
of breaking due to the user's environment and/or unacceptably altering
the user's normal cache. Hoist that solution into test-lib.sh, so
that all scripts can use it as needed. While at it, fix a latent typo
where XDG_RUNTIME_HOME was set to a literal relative directory name
"XDG_CACHE_HOME" (the typo did not affect virsh-uriprecedence, but
could matter to other clients).
Fixes: 280a2b41
Fixes: 398de147
Reported-by: Daniel P. Berrangé <berrange(a)redhat.com>
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
in v2:
- fix typo in XDG_RUNTIME_HOME [Andrea]
- fix 'make distcheck' by using actual per-test tempdir (tests/lv-TEST.XXX/)
rather than tests/ as the XDG root [Andrea]
tests/test-lib.sh | 13 +++++++++++++
tests/virsh-snapshot | 2 ++
tests/virsh-uriprecedence | 12 +-----------
3 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index 49e8d22095..ef5a47b565 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -222,6 +222,19 @@ mkfifo_or_skip_()
fi
}
+# Create mock XDG files/directories to avoid permission problems.
+# As it points inside $test_dir_, it is automatically cleaned.
+mock_xdg_()
+{
+ export XDG_CONFIG_HOME="$t_/.config"
+ export XDG_CACHE_HOME="$t_/.cache"
+ export XDG_RUNTIME_HOME="$XDG_CACHE_HOME"
+
+ mkdir -p "$XDG_CONFIG_HOME/libvirt" "$XDG_CONFIG_HOME/virsh"
+ mkdir -p "$XDG_CACHE_HOME/libvirt" "$XDG_CACHE_HOME/virsh"
+ mkdir -p "$XDG_RUNTIME_HOME/libvirt" "$XDG_RUNTIME_HOME/virsh"
+}
+
test_dir_=$(pwd)
this_test_() { echo "./$0" | sed 's,.*/,,'; }
diff --git a/tests/virsh-snapshot b/tests/virsh-snapshot
index fb8a99dd43..cb498cf54e 100755
--- a/tests/virsh-snapshot
+++ b/tests/virsh-snapshot
@@ -26,6 +26,8 @@ fi
fail=0
+mock_xdg_ || framework_failure
+
# The test driver loses states between restarts, so we perform a script
# with some convenient markers for later post-processing of output.
$abs_top_builddir/tools/virsh --connect test:///default >out 2>err '
diff --git a/tests/virsh-uriprecedence b/tests/virsh-uriprecedence
index 564e3dc42c..fd6ce108c0 100755
--- a/tests/virsh-uriprecedence
+++ b/tests/virsh-uriprecedence
@@ -11,17 +11,7 @@ virsh_cmd="$virsh_bin"
counter=0
ret=0
-cleanup_() { rm -rf "$tmphome"; }
-
-# Create all mock files/directories to avoid permission problems
-tmphome="$PWD/tmp_home"
-export XDG_CONFIG_HOME="$tmphome/.config"
-export XDG_CACHE_HOME="$tmphome/.cache"
-export XDG_RUNTIME_HOME="XDG_CACHE_HOME"
-
-mkdir -p "$XDG_CONFIG_HOME/libvirt" "$XDG_CONFIG_HOME/virsh"
-mkdir -p "$XDG_CACHE_HOME/libvirt" "$XDG_CACHE_HOME/virsh"
-mkdir -p "$XDG_RUNTIME_HOME/libvirt" "$XDG_RUNTIME_HOME/virsh"
+mock_xdg_ || framework_failure
is_uri_good()
{
--
2.20.1
5 years, 7 months
[libvirt] [PATCH] network: drop back compat code loading actual bridge name
by Daniel P. Berrangé
The actual network def was updated to save the bridge name back
in 1.2.11:
commit a3609121799d44898a3e0d0bf92b755e55e7b418
Author: Laine Stump <laine(a)laine.org>
Date: Fri Nov 21 12:20:37 2014 -0500
network: save bridge name in ActualNetDef when actualType==network too
The chance that someone is running libvirt < 1.2.11 and wants
todo a live upgrade to 5.3.0 without a host reboot is essentially
zero. We can thus reasonably drop the back compat code now.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/network/bridge_driver.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 6f88adf3b7..0c65c48b1a 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -4812,17 +4812,6 @@ networkNotifyActualDevice(virNetworkPtr net,
goto error;
}
- /* if we're restarting libvirtd after an upgrade from a version
- * that didn't save bridge name in actualNetDef for
- * actualType==network, we need to copy it in so that it will be
- * available in all cases
- */
- if (actualType == VIR_DOMAIN_NET_TYPE_NETWORK &&
- !iface->data.network.actual->data.bridge.brname &&
- (VIR_STRDUP(iface->data.network.actual->data.bridge.brname,
- netdef->bridge) < 0))
- goto error;
-
/* see if we're connected to the correct bridge */
if (netdef->bridge) {
bool useOVS = false;
--
2.20.1
5 years, 7 months
[libvirt] Reproducible VM start bug which affects libvirt 5.1.0 and 5.2.0
by Frank Schreuder
Hello,
I am currently running into a reproducible libvirt bug which affects libvirt 5.1.0 and 5.2.0.
There seem to be a racecondition in the nwfilter-define and virsh start commands. Several times a day I'm not able to start a VM anymore with the following error message:
error: Failed to start domain test
error: internal error: Failed to apply firewall rules /sbin/iptables -w -I FORWARD 1 -j libvirt-in: iptables v1.6.0: Couldn't load target `libvirt-in':No such file or directory
To fix this issue I have to restart libvirt. Some iptable chains are missing, which is probably caused by a nwfilter-define operation.
I'm able to reproduce this bug within 2 hours by running 2 loops. One loop is defining nwfilters and the second loop is destroying and starting multiple VMs.
I found an entry in the changelog of libvirt 5.1.0, which seems related to this bug:
Create private chains for virtual network firewall rules
Historically firewall rules for virtual networks were added straight into the base chains. This works but has a number of bugs and design limitations. To address them, libvirt now puts firewall rules into its own chains. Note that with this change the filter, nat and mangle tables are required for both IPv4 and IPv6.
So far I am not able to reproduce this bug on libvirt 5.0.0.
Is there any information I can provide to the mailinglist to help debug and/or fix this bug? I am also willing to test patches.
With kind regards,
Frank Schreuder
5 years, 7 months
[libvirt] [PATCH v3 00/36] network: refactor to decouple virt drivers from network driver
by Daniel P. Berrangé
An update to
v1: https://www.redhat.com/archives/libvir-list/2018-December/msg00681.html
v2: https://www.redhat.com/archives/libvir-list/2019-February/msg01581.html
Currently the network driver registers a set of callbacks with the virt
driver in order to handle allocating/releasing network ports associated
with guest NICs.
This series introduces a virNetworkPortPtr object and associated XML
that describes a network port. The virt drivers now call public APIs
associated with this new object to create/delete ports for guest NICs.
Changed in v3:
- Remove unused API symbol
- Fix dist of test data files
Changed in v2:
- Fix many bugs related to upgrades with running VMs
- Convert over bandwidth controls to the new APIs
- Handle reconnecting VIFs to bridges during startup
- Much much more that I can't remember
Daniel P. Berrangé (36):
network: restrict usage of port management APIs
network: pass a virNetworkPtr to port management APIs
conf: simplify link from hostdev back to network device
network: add missing bandwidth limits for bridge forward type
network: use 'bridge' as actual type instead of 'network'
util: add helper method for re-attaching a tap device to a bridge
network: use virNetDevTapReattachBridge API
virt drivers: don't handle type=network after resolving actual network
type
network: move re-attach of bridge device out of network driver
network: move fixup for domain actual net def out of network driver
network: unconditionally merge port profiles
conf: don't pass interface type into virNetDevBandwidthParse
conf: introduce virNetworkPortDefPtr struct and XML support
network: stop passing virDomainNetDefPtr into bandwidth functions
network: make networkLogAllocation independent of domain conf
util: add API for copying virtual port profile data
conf: add APIs to convert virDomainNetDef to virNetworkPortDef
network: convert networkAllocateActualDevice to virNetworkPortDef
network: convert networkNotifyActualDevice to virNetworkPortDef
network: convert networkReleaseActualDevice to virNetworkPortDef
network: convert hook script to take a network port XML
network: remove the virDomainNetBandwidthChangeAllowed callback
network: introduce networkAllocatePort
network: introduce networkNotifyPort
network: introduce networkReleasePort
network: introduce networkUpdatePortBandwidth
network: add public APIs for network port object
access: add permissions for network port objects
remote: add support for new network port APIs
virsh: add support for network port APIs
conf: support recording ports against virNetworkObjPtr
network: add implementation of network port APIs
lxc, libxl: notify network driver of NICs during reconnect
lxc, libxl: save domain status after reconnect
conf: record a portid against the domain conf
conf: switch over to use network port APIs for virt drivers
docs/formatdomain.html.in | 8 +
docs/hooks.html.in | 24 +-
docs/schemas/domaincommon.rng | 5 +
include/libvirt/libvirt-network.h | 122 ++
include/libvirt/virterror.h | 3 +
src/access/genpolkit.pl | 2 +-
src/access/viraccessdriver.h | 6 +
src/access/viraccessdrivernop.c | 11 +
src/access/viraccessdriverpolkit.c | 26 +
src/access/viraccessdriverstack.c | 25 +
src/access/viraccessmanager.c | 16 +
src/access/viraccessmanager.h | 6 +
src/access/viraccessperm.c | 6 +
src/access/viraccessperm.h | 44 +
src/conf/Makefile.inc.am | 2 +
src/conf/domain_conf.c | 557 ++++++-
src/conf/domain_conf.h | 63 +-
src/conf/netdev_bandwidth_conf.c | 22 +-
src/conf/netdev_bandwidth_conf.h | 2 +-
src/conf/network_conf.c | 4 +-
src/conf/virnetworkobj.c | 303 ++++
src/conf/virnetworkobj.h | 34 +
src/conf/virnetworkportdef.c | 514 +++++++
src/conf/virnetworkportdef.h | 112 ++
src/datatypes.c | 60 +
src/datatypes.h | 41 +
src/driver-network.h | 41 +
src/libvirt-network.c | 444 ++++++
src/libvirt_private.syms | 25 +-
src/libvirt_public.syms | 12 +
src/libxl/libxl_conf.c | 21 +-
src/libxl/libxl_domain.c | 28 +-
src/libxl/libxl_driver.c | 60 +-
src/lxc/lxc_driver.c | 37 +-
src/lxc/lxc_process.c | 56 +-
src/network/bridge_driver.c | 1364 +++++++++--------
src/qemu/qemu_command.c | 11 +-
src/qemu/qemu_domain_address.c | 4 +-
src/qemu/qemu_driver.c | 10 +-
src/qemu/qemu_hotplug.c | 84 +-
src/qemu/qemu_hotplug.h | 2 +-
src/qemu/qemu_interface.c | 12 +-
src/qemu/qemu_process.c | 32 +-
src/remote/remote_daemon_dispatch.c | 73 +
src/remote/remote_driver.c | 69 +
src/remote/remote_protocol.x | 124 +-
src/remote_protocol-structs | 69 +
src/rpc/gendispatch.pl | 18 +-
src/util/virerror.c | 9 +
src/util/virhook.c | 4 +-
src/util/virhook.h | 4 +-
src/util/virhostdev.c | 17 +-
src/util/virnetdevtap.c | 69 +
src/util/virnetdevtap.h | 12 +
src/util/virnetdevvportprofile.c | 16 +
src/util/virnetdevvportprofile.h | 2 +
tests/Makefile.am | 7 +
.../net-virtio-network-portgroup.xml | 6 +-
tests/virnetdevbandwidthtest.c | 2 +-
.../plug-bridge-mactbl.xml | 9 +
.../virnetworkportxml2xmldata/plug-bridge.xml | 12 +
.../virnetworkportxml2xmldata/plug-direct.xml | 12 +
.../plug-hostdev-pci.xml | 12 +
tests/virnetworkportxml2xmldata/plug-none.xml | 8 +
tests/virnetworkportxml2xmltest.c | 104 ++
tools/virsh-completer.c | 50 +
tools/virsh-completer.h | 4 +
tools/virsh-network.c | 399 ++++-
tools/virsh-network.h | 5 +
69 files changed, 4526 insertions(+), 851 deletions(-)
create mode 100644 src/conf/virnetworkportdef.c
create mode 100644 src/conf/virnetworkportdef.h
create mode 100644 tests/virnetworkportxml2xmldata/plug-bridge-mactbl.xml
create mode 100644 tests/virnetworkportxml2xmldata/plug-bridge.xml
create mode 100644 tests/virnetworkportxml2xmldata/plug-direct.xml
create mode 100644 tests/virnetworkportxml2xmldata/plug-hostdev-pci.xml
create mode 100644 tests/virnetworkportxml2xmldata/plug-none.xml
create mode 100644 tests/virnetworkportxml2xmltest.c
--
2.20.1
5 years, 7 months
[libvirt] [PATCH] docs: stop advertizing FTP or HTTP for downloads of libvirt
by Daniel P. Berrangé
On the modern internet it is not credible to continue to advertize
software downloads over unencrypted connections. Even if users could
theoretically use GPG to verify the signatures, not all our downloads
and signed and few people know how to correctly verify signatures.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
docs/downloads.html.in | 61 ++++++++++++++----------------------------
1 file changed, 20 insertions(+), 41 deletions(-)
diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index 657cd6a6f8..0722469eb9 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -27,8 +27,7 @@
<tr>
<td>libvirt</td>
<td>
- <a href="ftp://libvirt.org/libvirt/">ftp</a>
- <a href="https://libvirt.org/sources/">https</a>
+ <a href="https://libvirt.org/sources/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt.git;a=summary">libvirt</a>
@@ -48,8 +47,7 @@
<tr>
<td>C#</td>
<td>
- <a href="ftp://libvirt.org/libvirt/csharp/">ftp</a>
- <a href="https://libvirt.org/sources/csharp/">https</a>
+ <a href="https://libvirt.org/sources/csharp/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-csharp.git;a=summary">libvirt</a>
@@ -63,8 +61,7 @@
<tr>
<td>Go</td>
<td>
- <a href="ftp://libvirt.org/libvirt/go/">ftp</a>
- <a href="https://libvirt.org/sources/go/">https</a>
+ <a href="https://libvirt.org/sources/go/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-go.git;a=summary">libvirt</a>
@@ -80,8 +77,7 @@
<tr>
<td>Java</td>
<td>
- <a href="ftp://libvirt.org/libvirt/java/">ftp</a>
- <a href="https://libvirt.org/sources/java/">https</a>
+ <a href="https://libvirt.org/sources/java/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-java.git;a=summary">libvirt</a>
@@ -95,8 +91,7 @@
<tr>
<td>OCaml</td>
<td>
- <a href="ftp://libvirt.org/libvirt/ocaml/">ftp</a>
- <a href="https://libvirt.org/sources/ocaml/">https</a>
+ <a href="https://libvirt.org/sources/ocaml/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-ocaml.git;a=summary">libvirt</a>
@@ -127,8 +122,7 @@
<tr>
<td>PHP</td>
<td>
- <a href="ftp://libvirt.org/libvirt/php/">ftp</a>
- <a href="https://libvirt.org/sources/php/">https</a>
+ <a href="https://libvirt.org/sources/php/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-php.git;a=summary">libvirt</a>
@@ -142,8 +136,7 @@
<tr>
<td>Python</td>
<td>
- <a href="ftp://libvirt.org/libvirt/python/">ftp</a>
- <a href="https://libvirt.org/sources/python/">https</a>
+ <a href="https://libvirt.org/sources/python/">libvirt</a>
<a href="https://pypi.python.org/pypi/libvirt-python">pypi</a>
</td>
<td>
@@ -158,8 +151,7 @@
<tr>
<td>Ruby</td>
<td>
- <a href="ftp://libvirt.org/libvirt/ruby/">ftp</a>
- <a href="https://libvirt.org/sources/ruby/">https</a>
+ <a href="https://libvirt.org/sources/ruby/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=ruby-libvirt.git;a=summary">libvirt</a>
@@ -173,8 +165,7 @@
<tr>
<td>Rust</td>
<td>
- <a href="ftp://libvirt.org/libvirt/rust/">ftp</a>
- <a href="https://libvirt.org/sources/rust/">https</a>
+ <a href="https://libvirt.org/sources/rust/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-rust.git;a=summary">libvirt</a>
@@ -191,8 +182,7 @@
<tr>
<td>GLib / GConfig / GObject</td>
<td>
- <a href="ftp://libvirt.org/libvirt/glib/">ftp</a>
- <a href="https://libvirt.org/sources/glib/">https</a>
+ <a href="https://libvirt.org/sources/glib/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-glib.git;a=summary">libvirt</a>
@@ -206,8 +196,7 @@
<tr>
<td>Go XML</td>
<td>
- <a href="ftp://libvirt.org/libvirt/go/">ftp</a>
- <a href="https://libvirt.org/sources/go/">https</a>
+ <a href="https://libvirt.org/sources/go/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-go-xml.git;a=summary">libvirt</a>
@@ -223,8 +212,7 @@
<tr>
<td>D-Bus</td>
<td>
- <a href="ftp://libvirt.org/libvirt/dbus/">ftp</a>
- <a href="https://libvirt.org/sources/dbus/">https</a>
+ <a href="https://libvirt.org/sources/dbus/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-dbus.git;a=summary">libvirt</a>
@@ -238,8 +226,7 @@
<tr>
<td>Console Proxy</td>
<td>
- <a href="ftp://libvirt.org/libvirt/consoleproxy/">ftp</a>
- <a href="https://libvirt.org/sources/consoleproxy/">https</a>
+ <a href="https://libvirt.org/sources/consoleproxy/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-console-proxy.git;a=summary">libvirt</a>
@@ -253,8 +240,7 @@
<tr>
<td>CIM provider</td>
<td>
- <a href="ftp://libvirt.org/libvirt/CIM/">ftp</a>
- <a href="https://libvirt.org/sources/CIM/">https</a>
+ <a href="https://libvirt.org/sources/CIM/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-cim.git;a=summary">libvirt</a>
@@ -268,8 +254,7 @@
<tr>
<td>CIM utils</td>
<td>
- <a href="ftp://libvirt.org/libvirt/CIM/">ftp</a>
- <a href="https://libvirt.org/sources/CIM/">https</a>
+ <a href="https://libvirt.org/sources/CIM/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libcmpiutil.git;a=summary">libvirt</a>
@@ -283,8 +268,7 @@
<tr>
<td>SNMP</td>
<td>
- <a href="ftp://libvirt.org/libvirt/snmp/">ftp</a>
- <a href="https://libvirt.org/sources/snmp/">https</a>
+ <a href="https://libvirt.org/sources/snmp/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-snmp.git;a=summary">libvirt</a>
@@ -298,8 +282,7 @@
<tr>
<td>Application Sandbox</td>
<td>
- <a href="ftp://libvirt.org/libvirt/sandbox/">ftp</a>
- <a href="https://libvirt.org/sources/sandbox/">https</a>
+ <a href="https://libvirt.org/sources/sandbox/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-sandbox.git;a=summary">libvirt</a>
@@ -316,8 +299,7 @@
<tr>
<td>TCK</td>
<td>
- <a href="ftp://libvirt.org/libvirt/tck/">ftp</a>
- <a href="https://libvirt.org/sources/tck/">https</a>
+ <a href="https://libvirt.org/sources/tck/">libvirt</a>
</td>
<td>
<a href="https://libvirt.org/git/?p=libvirt-tck.git;a=summary">libvirt</a>
@@ -422,14 +404,11 @@
<p>
Most modules have releases made available for download on the project
- site, via FTP, HTTP or HTTPS. Some modules are instead made available
- at alternative locations, for example, the Perl binding is made
- available only on CPAN.
+ site via HTTPS. Some modules are instead made available at alternative
+ locations, for example, the Perl binding is made available only on CPAN.
</p>
<ul>
- <li><a href="ftp://libvirt.org/libvirt/">libvirt.org FTP server</a></li>
- <li><a href="https://libvirt.org/sources/">libvirt.org HTTP server</a></li>
<li><a href="https://libvirt.org/sources/">libvirt.org HTTPS server</a></li>
</ul>
--
2.20.1
5 years, 7 months
[libvirt] [jenkins-ci PATCH] lcitool: include gdb, strace, lsof & netstat by default
by Daniel P. Berrangé
When debugging why tests fail it is important to have commonly
used tools like gdb, strace, lsof and netstat available.
Note that although the entry for FreeBSD is blank for strace
and net-tools, the truss (strace equiv) and netstat tools will
be present as they are part of the FreeBSD base install.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
guests/vars/mappings.yml | 14 ++++++++++++++
guests/vars/projects/base.yml | 4 ++++
2 files changed, 18 insertions(+)
diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 92681c2..50f07fa 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -164,6 +164,9 @@ mappings:
default: gcc
FreeBSD:
+ gdb:
+ default: gdb
+
gettext:
default: gettext
@@ -425,6 +428,9 @@ mappings:
rpm: libxslt-devel
cross-policy-deb: foreign
+ lsof:
+ default: lsof
+
lvm2:
default: lvm2
FreeBSD:
@@ -601,6 +607,10 @@ mappings:
rpm: netcf-devel
cross-policy-deb: skip
+ net-tools:
+ default: net-tools
+ FreeBSD:
+
numad:
default: numad
FreeBSD:
@@ -868,6 +878,10 @@ mappings:
rpm: spice-gtk3-devel
cross-policy-deb: foreign
+ strace:
+ default: strace
+ FreeBSD:
+
sudo:
default: sudo
diff --git a/guests/vars/projects/base.yml b/guests/vars/projects/base.yml
index 49d4d2e..b3d1d47 100644
--- a/guests/vars/projects/base.yml
+++ b/guests/vars/projects/base.yml
@@ -9,16 +9,20 @@ packages:
- chrony
- cppi
- gcc
+ - gdb
- gettext
- git
- glibc
- libtool
- libtoolize
+ - lsof
+ - net-tools
- make
- patch
- perl
- pkg-config
- rpmbuild
- screen
+ - strace
- sudo
- vim
--
2.19.2
5 years, 7 months