Compare commits
96 Commits
master
...
f38-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 026f0fbb71 | |
Cole Robinson | 9d434902d2 | |
David Abdurachmanov | 8a2bc988cc | |
Fedora Release Engineering | 619904f37a | |
Cole Robinson | 044c5b0665 | |
Daniel P. Berrangé | 50aba9b5a0 | |
Richard W.M. Jones | c98b586e70 | |
Cole Robinson | 987430ba8b | |
Cole Robinson | 58043b20fb | |
Cole Robinson | f1888958a6 | |
Cole Robinson | 6c3d79e65d | |
Cole Robinson | dc9be9b9a7 | |
Cole Robinson | 5e0d67787a | |
Jens Petersen | 662f0e2ba4 | |
Cole Robinson | 66060fa395 | |
Daniel P. Berrangé | 83def04a25 | |
Cole Robinson | 535bbcdd91 | |
Cole Robinson | 417e4c9cf7 | |
Cole Robinson | 24d349fa37 | |
Cole Robinson | 9f3b22fec4 | |
Cole Robinson | 7285a57f5c | |
Cole Robinson | 9944fa190c | |
Cole Robinson | 1a44dca7d4 | |
Cole Robinson | 0c2262d602 | |
Daniel P. Berrangé | da598118cf | |
Cole Robinson | da34e517db | |
Richard W.M. Jones | 7b17ccd035 | |
Richard W.M. Jones | 908a2f2a46 | |
Fedora Release Engineering | acf19787de | |
Cole Robinson | c269619b9a | |
Richard W.M. Jones | 3f6336f446 | |
Daniel P. Berrangé | a552a10ec8 | |
Daniel P. Berrangé | bfb8157052 | |
Richard W.M. Jones | edb5200d83 | |
Daniel P. Berrangé | fe3f90dedd | |
Daniel P. Berrangé | 437df85540 | |
Daniel P. Berrangé | 2d6cbe6672 | |
Daniel P. Berrangé | 97a323d7c2 | |
Daniel P. Berrangé | cb839d3dfc | |
Daniel P. Berrangé | dc6b512f3c | |
Daniel P. Berrangé | ac122f4525 | |
Richard W.M. Jones | 7744acbb6b | |
Richard W.M. Jones | 3807f07c15 | |
Fedora Release Engineering | e484fdc92b | |
Cole Robinson | 6752fe8c9e | |
Cole Robinson | 15f52369ae | |
Cole Robinson | 65a0e26138 | |
Daniel P. Berrangé | 497e096592 | |
Cole Robinson | 03a98aaf59 | |
Richard W.M. Jones | 5845f1efec | |
Richard W.M. Jones | a8d01eb9d7 | |
Cole Robinson | 6d76ba5956 | |
Cole Robinson | a11202d9e2 | |
Cole Robinson | bbfa59c8da | |
Laine Stump | b97ad8956c | |
Fedora Release Engineering | f9639a0012 | |
Daniel P. Berrangé | c71e60c76c | |
Daniel P. Berrangé | 9764121247 | |
Cole Robinson | a18ed3c492 | |
Richard W.M. Jones | 9e2eeb32e3 | |
Cole Robinson | 8bf91f5d22 | |
Daniel P. Berrangé | 91d8eff569 | |
Cole Robinson | a761ea338f | |
Daniel P. Berrangé | 7eef88add4 | |
Daniel P. Berrangé | 0c88a64234 | |
Daniel P. Berrangé | c2f3be1f4d | |
Daniel P. Berrangé | 18b1c9d77e | |
Cole Robinson | 4528832026 | |
Cole Robinson | 037cd36ba2 | |
Daniel P. Berrangé | b94fb6a393 | |
Cole Robinson | b0c05ac2ae | |
Merlin Mathesius | 15c305caf3 | |
Daniel P. Berrangé | bc1b3e59a7 | |
Daniel P. Berrangé | 3c4492c415 | |
Cole Robinson | fecc0295a2 | |
Daniel P. Berrangé | 325dc837c6 | |
Fedora Release Engineering | 5a45cb7f0d | |
Cole Robinson | 21269530e8 | |
Cole Robinson | fc18e983e7 | |
Cole Robinson | 4a7cc743a9 | |
Cole Robinson | 4398397311 | |
Felipe Borges | 401f9087bc | |
Cole Robinson | dd3698988e | |
Cole Robinson | 3df49002c2 | |
Fedora Release Engineering | 1bf0aedb9f | |
Cole Robinson | 79accd5a6e | |
Adam Williamson | 422d548fce | |
Daniel P. Berrangé | 20ec6e955c | |
Cole Robinson | 406a235cbc | |
Cole Robinson | 4d15e56a38 | |
Cole Robinson | 8693111790 | |
Cole Robinson | 8461a521f2 | |
Cole Robinson | 511e2c5124 | |
Daniel P. Berrangé | 749dc3d3cb | |
Cole Robinson | 73c9e38f2c | |
Cole Robinson | afe8184d3f |
|
@ -0,0 +1,31 @@
|
|||
[suppress_function]
|
||||
symbol_version_regexp = LIBVIRT_PRIVATE.*
|
||||
soname_regexp = libvirt\\.so.*
|
||||
|
||||
[suppress_function]
|
||||
symbol_version_regexp = LIBVIRT_ADMIN_PRIVATE.*
|
||||
soname_regexp = libvirt-admin\\.so.*
|
||||
|
||||
[suppress_variable]
|
||||
symbol_version_regexp = LIBVIRT_PRIVATE.*
|
||||
soname_regexp = libvirt\\.so.*
|
||||
|
||||
[suppress_variable]
|
||||
symbol_version_regexp = LIBVIRT_ADMIN_PRIVATE.*
|
||||
soname_regexp = libvirt-admin\\.so.*
|
||||
|
||||
[suppress_function]
|
||||
symbol_version_regexp = .*
|
||||
soname_regexp = libvirt_storage_.*\\.so.*
|
||||
|
||||
[suppress_variable]
|
||||
symbol_version_regexp = .*
|
||||
soname_regexp = libvirt_storage_.*\\.so.*
|
||||
|
||||
[suppress_function]
|
||||
symbol_version_regexp = .*
|
||||
soname_regexp = libvirt_driver_.*\\.so.*
|
||||
|
||||
[suppress_variable]
|
||||
symbol_version_regexp = .*
|
||||
soname_regexp = libvirt_driver_.*\\.so.*
|
|
@ -0,0 +1,58 @@
|
|||
From: Peter Krempa <pkrempa@redhat.com>
|
||||
Date: Thu, 9 Feb 2023 09:40:32 +0100
|
||||
Subject: [PATCH] qemuProcessRefreshDisks: Don't skip filling of disk
|
||||
information if tray state didn't change
|
||||
Content-type: text/plain
|
||||
|
||||
Commit 5ef2582646eb98 added emitting of even when refreshign disk state,
|
||||
where it wanted to avoid sending the event if disk state didn't change.
|
||||
This was achieved by using 'continue' in the loop filling the
|
||||
information. Unfortunately this skips extraction of whether the device
|
||||
has a tray which is propagated into internal structures, which in turn
|
||||
broke cdrom media change as the code thought there's no tray for the
|
||||
device.
|
||||
|
||||
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2166411
|
||||
Fixes: 5ef2582646eb98af208ce37355f82bdef39931fa
|
||||
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
||||
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
|
||||
(cherry picked from commit 86cfe93ef7fdc2d665a2fc88b79af89e7978ba78)
|
||||
---
|
||||
src/qemu/qemu_process.c | 11 +++++------
|
||||
1 file changed, 5 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
|
||||
index ee9f0784d3..0c408ee547 100644
|
||||
--- a/src/qemu/qemu_process.c
|
||||
+++ b/src/qemu/qemu_process.c
|
||||
@@ -8724,16 +8724,13 @@ qemuProcessRefreshDisks(virDomainObj *vm,
|
||||
continue;
|
||||
|
||||
if (info->removable) {
|
||||
- virObjectEvent *event = NULL;
|
||||
+ bool emitEvent = info->tray_open != disk->tray_status;
|
||||
int reason;
|
||||
|
||||
if (info->empty)
|
||||
virDomainDiskEmptySource(disk);
|
||||
|
||||
if (info->tray) {
|
||||
- if (info->tray_open == disk->tray_status)
|
||||
- continue;
|
||||
-
|
||||
if (info->tray_open) {
|
||||
reason = VIR_DOMAIN_EVENT_TRAY_CHANGE_OPEN;
|
||||
disk->tray_status = VIR_DOMAIN_DISK_TRAY_OPEN;
|
||||
@@ -8742,8 +8739,10 @@ qemuProcessRefreshDisks(virDomainObj *vm,
|
||||
disk->tray_status = VIR_DOMAIN_DISK_TRAY_CLOSED;
|
||||
}
|
||||
|
||||
- event = virDomainEventTrayChangeNewFromObj(vm, disk->info.alias, reason);
|
||||
- virObjectEventStateQueue(driver->domainEventState, event);
|
||||
+ if (emitEvent) {
|
||||
+ virObjectEvent *event = virDomainEventTrayChangeNewFromObj(vm, disk->info.alias, reason);
|
||||
+ virObjectEventStateQueue(driver->domainEventState, event);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
|
||||
Date: Wed, 18 Jan 2023 09:45:52 +0000
|
||||
Subject: [PATCH] ch: use CURLOPT_UPLOAD instead of CURLOPT_PUT
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-type: text/plain
|
||||
|
||||
The CURLOPT_PUT constant causes a deprecation warning when compiling on
|
||||
Alpine Edge. The docs indicate it is deprecated since 7.2.1
|
||||
|
||||
https://curl.se/libcurl/c/CURLOPT_PUT.html
|
||||
|
||||
Since 7.87 the deprecation is now exposed at build time via a compiler
|
||||
warning.
|
||||
|
||||
We already use CURLOPT_UPLOAD in the ESX driver, so this brings the CH
|
||||
driver into line.
|
||||
|
||||
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
||||
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
||||
(cherry picked from commit 9cd70fb25cad171e415fb05a4e01f244304c602e)
|
||||
---
|
||||
src/ch/ch_monitor.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c
|
||||
index 8d8654332f..7b8f0a8077 100644
|
||||
--- a/src/ch/ch_monitor.c
|
||||
+++ b/src/ch/ch_monitor.c
|
||||
@@ -660,7 +660,7 @@ virCHMonitorPutNoContent(virCHMonitor *mon, const char *endpoint)
|
||||
|
||||
curl_easy_setopt(mon->handle, CURLOPT_UNIX_SOCKET_PATH, mon->socketpath);
|
||||
curl_easy_setopt(mon->handle, CURLOPT_URL, url);
|
||||
- curl_easy_setopt(mon->handle, CURLOPT_PUT, true);
|
||||
+ curl_easy_setopt(mon->handle, CURLOPT_UPLOAD, 1L);
|
||||
curl_easy_setopt(mon->handle, CURLOPT_HTTPHEADER, NULL);
|
||||
|
||||
responseCode = virCHMonitorCurlPerform(mon->handle);
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: libvirt
|
||||
# $Id$
|
||||
NAME := libvirt
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
1883
libvirt.spec
1883
libvirt.spec
File diff suppressed because it is too large
Load Diff
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (libvirt-5.6.0.tar.xz) = 95fe931394fb31288faf73349bb298f08f63cf062f851b9935303145f8166f69128be9360757f0e1845256c14f4d7672843dba0dc6c086b1c3c8bfc035cc8986
|
||||
SHA512 (libvirt-9.0.0.tar.xz) = 135f690f9fe722161c22579166f10a54d52941a371439165fd0e3d391ca7835049a3bcbff33fc81c50153046230db8a5a318d707383bad3141d489d2faa09ecb
|
||||
|
|
Loading…
Reference in New Issue