[libvirt PATCH 1/2] nodedev: refactor mdevctl thread functions

2023-07-06 Thread Jonathon Jongsma
Factor out a new scheduleMdevctlUpdate() function so that we can re-use it from other places. Now that other events can make it necessary to re-query mdevctl for mdev updates, this function will be useful for coalescing multiple updates in quick succession into a single mdevctl query. Also rename

[libvirt PATCH 0/2] nodedev: update transient mdev attributes

2023-07-06 Thread Jonathon Jongsma
move mdevctl updates to the mdevctl thread. These two patches apply on top of Boris's patch: "[PATCH v2] nodedev: transient mdev update on nodeDeviceCreateXML" Jonathon Jongsma (2): nodedev: refactor mdevctl thread functions nodedev: update mdevs from the mdevctl thread

[libvirt PATCH 2/2] nodedev: update mdevs from the mdevctl thread

2023-07-06 Thread Jonathon Jongsma
Rather than directly executing mdevctl from the udev event thread when we determine that we need to re-query, schedule the mdevctl thread to run. This also helps to coalesce multiple back-to-back updates into a single one when there are multiple updates in a row or at startup when a host has a

Re: [PATCH v2] nodedev: transient mdev update on nodeDeviceCreateXML

2023-07-06 Thread Jonathon Jongsma
On 6/30/23 6:34 AM, Boris Fiuczynski wrote: Update the optional mdev attributes by running an mdevctl update on a new created nodedev object representing an mdev. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2143158 Signed-off-by: Boris Fiuczynski ---

Re: [PATCH v1] ci: disable usage of libattr in Leap

2023-07-06 Thread Jim Fehlig
On 7/3/23 08:30, Andrea Bolognani wrote: On Mon, Jul 03, 2023 at 04:00:00PM +0200, Olaf Hering wrote: Mon, 3 Jul 2023 15:10:41 +0200 Peter Krempa : Could you explain why this is needed in the first place? Just to make it clear that attr can not be used in this environment because it is

[PATCH] Revert "meson: attr_dep switch to dependency()"

2023-07-06 Thread Jim Fehlig
openSUSE Leap 15.{4,5} are supported under libvirt's distro support statement, but they only contain attr version 2.4.47. Reverts: dffeef89efc2ed1668cb485d6c3e67ef27b824e8 Signed-off-by: Jim Fehlig --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build

Re: [RFC PATCH-for-8.1] accel: Remove HAX accelerator

2023-07-06 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > HAX is deprecated since commits 73741fda6c ("MAINTAINERS: Abort > HAXM maintenance") and 90c167a1da ("docs/about/deprecated: Mark > HAXM in QEMU as deprecated"), released in v8.0.0. > > Per the QEMU deprecation policy, we shouldn't remove it before > QEMU release

Re: [PATCH v2 3/5] migration: migrate 'blk' command option is deprecated.

2023-07-06 Thread Thomas Huth
On 22/06/2023 21.50, Juan Quintela wrote: Set the 'block' migration capability to 'true' instead. Signed-off-by: Juan Quintela --- docs/about/deprecated.rst | 7 +++ qapi/migration.json | 10 +++--- migration/migration.c | 5 + 3 files changed, 19 insertions(+), 3

Re: [PATCH v2 2/5] migration: migrate 'inc' command option is deprecated.

2023-07-06 Thread Thomas Huth
On 22/06/2023 21.50, Juan Quintela wrote: Set the 'block_incremental' migration parameter to 'true' instead. Signed-off-by: Juan Quintela --- docs/about/deprecated.rst | 7 +++ qapi/migration.json | 12 ++-- migration/migration.c | 6 ++ 3 files changed, 23