[PATCH 0/2] fix use-after-free in network IO
by Oleg Vasilev
Found by repeatedly created and destroyed channels with guest agent. More
details in the patch.
Oleg Vasilev (2):
net: add debug logs
remote: fix stream use-after-free
src/remote/remote_daemon_stream.c | 13 +++++++------
src/rpc/virnetmessage.c | 5 +++++
2 files changed, 12 insertions(+), 6 deletions(-)
--
2.41.0
1 year, 4 months
[PATCH v2 0/2] qemu: generate shorter channel target paths
by Michal Privoznik
v2 of:
https://listman.redhat.com/archives/libvir-list/2023-July/240680.html
diff to v1:
- Squashed some patches together
- Updated comment in qemuDomainChrDefDropDefaultPath()
- fixed more XMLs
Michal Prívozník (2):
qemu: Generate shorter channel target paths
qemu: Move channelTargetDir into stateDir
libvirt.spec.in | 2 -
src/qemu/qemu_conf.c | 9 +--
src/qemu/qemu_domain.c | 65 ++++++++++++++++---
.../qemuhotplug-qemu-agent-detach.xml | 2 +-
.../qemuhotplug-base+qemu-agent-detach.xml | 2 +-
.../qemuhotplug-base+qemu-agent.xml | 2 +-
...emuhotplug-base-live+qemu-agent-detach.xml | 2 +-
.../qemuhotplug-base-live+qemu-agent.xml | 2 +-
.../channel-unix-source-path.xml | 8 +++
.../channel-unix-source-path-active.xml | 10 +++
.../channel-unix-source-path-inactive.xml | 8 +++
tests/testutilsqemu.c | 2 +-
12 files changed, 90 insertions(+), 24 deletions(-)
--
2.41.0
1 year, 4 months
[PATCH 0/4] qemu: generate shorter channel target paths
by Michal Privoznik
*** BLURB HERE ***
Michal Prívozník (4):
qemu: Generate shorter channel target paths
tests: Reflect changed channelTargetDir
qemu: Move channelTargetDir into stateDir
tests: Reflect changed channelTargetDir
libvirt.spec.in | 2 -
src/qemu/qemu_conf.c | 9 +--
src/qemu/qemu_domain.c | 59 ++++++++++++++++---
.../qemuhotplug-qemu-agent-detach.xml | 2 +-
...emuhotplug-base-live+qemu-agent-detach.xml | 2 +-
.../qemuhotplug-base-live+qemu-agent.xml | 2 +-
.../channel-unix-source-path.xml | 8 +++
.../channel-unix-source-path-active.xml | 10 ++++
.../channel-unix-source-path-inactive.xml | 8 +++
tests/testutilsqemu.c | 2 +-
10 files changed, 85 insertions(+), 19 deletions(-)
--
2.41.0
1 year, 4 months
[libvirt] [PATCH RESEND 0/4] Introduce Notification VM exit feature (kvm x86 only)
by Lin Ma
Kernel supports Notification VM exit feature since v6.0 under commit 2f4073e0.
QEMU supports it as well since v7.2 under commit e2e69f6b.
Lin Ma (4):
conf: Introduce notify VM exit feature
qemu: Validate notify VM exit feature is available only on x86
qemu: Generate command line for notify VM exit feature
NEWS: Document notify VM exit feature
NEWS.rst | 8 ++++++
docs/formatdomain.rst | 4 +++
src/conf/domain_conf.c | 32 +++++++++++++++++++++
src/conf/domain_conf.h | 7 +++++
src/conf/schemas/domaincommon.rng | 17 +++++++++++
src/qemu/qemu_command.c | 23 +++++++++++++--
src/qemu/qemu_validate.c | 12 +++++++-
tests/qemuxml2argvdata/kvm-features-off.xml | 1 +
tests/qemuxml2argvdata/kvm-features.args | 2 +-
tests/qemuxml2argvdata/kvm-features.xml | 1 +
10 files changed, 102 insertions(+), 5 deletions(-)
--
2.41.0
1 year, 4 months
[PATCH] docs: Mention vhostuser for queues and queue_size
by Han Han
These two attributes are supported for vhost-user-blk as well.
Signed-off-by: Han Han <hhan(a)redhat.com>
---
docs/formatdomain.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 4af0b82569..447ab32c01 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -3275,9 +3275,9 @@ paravirtualized driver is specified via the ``disk`` element.
"virtio" ``bus`` and "pci" or "ccw" ``address`` types. :since:`Since 1.2.8
(QEMU 2.1)`
- The optional ``queues`` attribute specifies the number of virt queues for
- virtio-blk. ( :since:`Since 3.9.0` )
+ virtio-blk or vhost-user-blk. ( :since:`Since 3.9.0` )
- The optional ``queue_size`` attribute specifies the size of each virt
- queue for virtio-blk. ( :since:`Since 7.8.0` )
+ queue for virtio-blk or vhost-user-blk. ( :since:`Since 7.8.0` )
- For virtio disks, `Virtio-related options`_ can also
be set. ( :since:`Since 3.5.0` )
- The optional ``metadata_cache`` subelement controls aspects related to the
--
2.41.0
1 year, 4 months
Plans for 9.6.0 release (freeze on Wednesday 26 Jul)
by Jiri Denemark
We are getting close to 9.6.0 release of libvirt. To aim for the
release on Tuesday 01 Aug I suggest entering the freeze on Wednesday
26 Jul and tagging RC2 on Friday 28 Jul.
I hope this works for everyone.
Jirka
1 year, 4 months
[PATCH 0/2] qemu_tpm: Try harder to create emulator state
by Michal Privoznik
*** BLURB HERE ***
Michal Prívozník (2):
virfile: Introduce virDirIsEmpty()
qemu_tpm: Try harder to create emulator state
src/libvirt_private.syms | 1 +
src/qemu/qemu_tpm.c | 3 ++-
src/util/virfile.c | 39 +++++++++++++++++++++++++++++++++++++++
src/util/virfile.h | 3 +++
4 files changed, 45 insertions(+), 1 deletion(-)
--
2.41.0
1 year, 4 months
Plans for the next release
by Jiri Denemark
We are getting close to the next release of libvirt. To aim for the
release on Aug 01 I suggest entering the freeze on Wednesday Jul 26 and
tagging RC2 on Friday Jul 28.
I hope this works for everyone.
Jirka
1 year, 4 months
[PATCH RFC 0/4] rely on QEMU provided macros for some QEMU feature selection
by Daniel P. Berrangé
We currently have various features in the RPMs selected based on what
the QEMU RPM has built. If the QEMU RPM changes, then libvirt needs to
change to match which is an undesirable situation.
Forthcoming upstream QEMU changes will involve corresponding Fedora
downstream changes. eg removal of i386 host support for system
emulators.
I would like to make it so that we don't change libvirt RPM spec
when these changes happen, merely rebuild libvirt and it "does the
right thing".
To that end I've proposed some QEMU macros for Fedora:
https://src.fedoraproject.org/rpms/qemu/pull-request/43
with intention they would also go into future RHEL-10.
This series illustrates what libvirt RPM spec changes would be to
adapt to this.
I'm not proposing to merge this libvirt series. Rather looking for
whether I've missed anything in the design from te QEMU side that
could be done better for libvirt.
Daniel P. Berrangé (4):
rpm: boilerplate to pull in qemu-srpm-macros
rpm: use %{qemu_sysemu_host_arches}
rpm: use %{qemu_sysemu_kvm_arches}
rpm: use %{qemu_sysemu_tcg_non_native}
libvirt.spec.in | 49 ++++++++++++++++++++++++++++++++-----------------
1 file changed, 32 insertions(+), 17 deletions(-)
--
2.41.0
1 year, 4 months