Re: [libvirt PATCH v2] ci: Refresh information

2021-03-25 Thread Erik Skultety
On Thu, Mar 25, 2021 at 01:53:27PM +0100, Andrea Bolognani wrote: > Notable changes: > > * HAL is no longer installed on FreeBSD; > > * the native version of libwsman is no longer installed in > containers intended for cross-compilation; > > * Meson 0.55 rather than 0.54 is requested w

Re: [libvirt PATCH v5 00/30] Add support for persistent mediated devices

2021-03-25 Thread Erik Skultety
On Thu, Mar 25, 2021 at 11:49:49AM -0500, Jonathon Jongsma wrote: > Just a friendly ping ;) I'm sorry I've been neglecting this for the past 3 weeks or so, I'll dive right into it starting Monday next week, we're entering freeze today anyway. Would you mind resending a rebased version? There were

Re: [PATCH v1 01/12] libxl: add API wrapper for libxl_domain_create_restore

2021-03-25 Thread Jim Fehlig
On 3/22/21 4:28 AM, Daniel P. Berrangé wrote: On Thu, Mar 18, 2021 at 09:51:18PM -0600, Jim Fehlig wrote: On 3/18/21 5:00 PM, Olaf Hering wrote: Am Thu, 18 Mar 2021 16:26:14 -0600 schrieb Jim Fehlig : Maybe libxlDomainCreateRestoreWrap? The 'Wrap' suffix compliments the libxl_api_wrap.h name

[PATCH] serialize access pci_get_strings function with a mutex

2021-03-25 Thread wangjian
serialize access pci_get_strings function with a mutex. nodedev-init thread: nodeStateInitializeEnumerate -> udevEnumerateDevices-> udevProcessDeviceListEntry -> udevAddOneDevice -> udevGetDeviceDetails-> udevProcessPCI -> udevTranslatePCIIds ->

Re: Ways to deal with broken machine types

2021-03-25 Thread Igor Mammedov
On Tue, 23 Mar 2021 17:40:36 + Daniel P. Berrangé wrote: > On Tue, Mar 23, 2021 at 05:54:47PM +0100, Igor Mammedov wrote: > > Let me hijack this thread for beyond this case scope. > > > > I agree that for this particular bug we've done all we could, but > > there is broader issue to discuss

Re: [libvirt PATCH v5 00/30] Add support for persistent mediated devices

2021-03-25 Thread Jonathon Jongsma
Just a friendly ping ;) On Tue, 2 Mar 2021 16:30:35 -0600 Jonathon Jongsma wrote: > This patch series follows the previously-merged series which added > support for transient mediated devices. This series expands mdev > support to include persistent device definitions. Again, it relies on > mde

[PATCH v2 06/12] libxl: add API wrapper for libxl_domain_unpause

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_domain_unpause, which got a new parameter "ao_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 14 ++ sr

[PATCH v2 01/12] libxl: add API wrapper for libxl_domain_create_restore

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_domain_create_restore, which got a new parameter "send_back_fd" in Xen 4.7. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 44 ++

[PATCH v2 12/12] libxl: use API 4.13 to support domUs with more than 4TB

2021-03-25 Thread Olaf Hering
To support domUs with more than 4TB memory it is required to use LIBXL_API_VERSION >= 0x040800, which uses uint64_t for certained guest memory related quantities. Unfortunately this change is not straight forward. While most of the code in libxl.h handles the various LIBXL_API_VERSION variants cor

[PATCH v2 08/12] libxl: add API wrapper for libxl_get_free_memory

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_get_free_memory, which changed storage size of parameter "memkb" in Xen 4.8. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 19 +++ src/libxl/libxl_conf.

[PATCH v2 09/12] libxl: add API wrapper for libxl_set_vcpuonline

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_set_vcpuonline, which got a new parameter "ao_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 14 ++ sr

[PATCH v2 07/12] libxl: add API wrapper for libxl_domain_need_memory

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_domain_need_memory, which changed the storage size of "need_memkb" in Xen 4.8. With Xen 4.12 the libxl_domain_config parameter was changed No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl

[PATCH v2 04/12] libxl: add API wrapper for libxl_domain_reboot

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_domain_reboot, which got a new parameter "ao_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 14 ++ src

[PATCH v2 10/12] libxl: add API wrapper for libxl_send_trigger

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_send_trigger, which got a new parameter "ao_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 17 + s

[PATCH v2 03/12] libxl: add API wrapper for libxl_domain_shutdown

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_domain_shutdown, which got a new parameter "ao_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 14 ++ s

[PATCH v2 02/12] libxl: add API wrapper for libxl_retrieve_domain_configuration

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_retrieve_domain_configuration, which got a new parameter "libxl_asyncop_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper

[PATCH v2 11/12] libxl: add API wrapper for libxl_set_memory_target

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_set_memory_target, which changed the storage size of parameter "target_memkb" in Xen 4.8. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 27 +++

[PATCH v2 05/12] libxl: add API wrapper for libxl_domain_pause

2021-03-25 Thread Olaf Hering
Upcoming changes will use different LIBXL_API_VERSION variants. Prepare libxl_domain_pause, which got a new parameter "ao_how" in Xen 4.12. libvirt does not use this parameter. No functional change intended. Signed-off-by: Olaf Hering --- src/libxl/libxl_api_wrapper.h | 14 ++ src/

[PATCH v2 00/12] libxl: bump LIBXL_API_VERSION

2021-03-25 Thread Olaf Hering
Various changes to handle libxl API variants. Olaf v2: - adjust names of wrapper functions adjust indent adjust style of braces rename new header Olaf Hering (12): libxl: add API wrapper for libxl_domain_create_restore libxl: add API wrapper for libxl_retrieve_domain_configuration li

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Martin Kletzander
On Thu, Mar 25, 2021 at 02:14:47PM +, Daniel P. Berrangé wrote: On Thu, Mar 25, 2021 at 03:10:56PM +0100, Martin Kletzander wrote: On Thu, Mar 25, 2021 at 09:11:02AM +, Zhong, Luyao wrote: > > > > -Original Message- > > From: Martin Kletzander > > Sent: Thursday, March 25, 2021

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Daniel P . Berrangé
On Thu, Mar 25, 2021 at 03:10:56PM +0100, Martin Kletzander wrote: > On Thu, Mar 25, 2021 at 09:11:02AM +, Zhong, Luyao wrote: > > > > > > > -Original Message- > > > From: Martin Kletzander > > > Sent: Thursday, March 25, 2021 4:46 AM > > > To: Daniel P. Berrangé > > > Cc: Zhong, Lu

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Martin Kletzander
On Thu, Mar 25, 2021 at 09:11:02AM +, Zhong, Luyao wrote: -Original Message- From: Martin Kletzander Sent: Thursday, March 25, 2021 4:46 AM To: Daniel P. Berrangé Cc: Zhong, Luyao ; libvir-list@redhat.com Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatu

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Martin Kletzander
On Thu, Mar 25, 2021 at 08:36:17AM +, Daniel P. Berrangé wrote: On Wed, Mar 24, 2021 at 09:46:23PM +0100, Martin Kletzander wrote: On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: > On Tue, Mar 23, 2021 at 10:59:02AM +0800, Luyao Zhong wrote: > > Before this patch set, num

Re: [libvirt PATCH 2/2] build: teach run script how to temporarily stop systemd units

2021-03-25 Thread Martin Kletzander
On Wed, Mar 24, 2021 at 04:44:25PM +, Daniel P. Berrangé wrote: On Wed, Mar 24, 2021 at 05:35:06PM +0100, Martin Kletzander wrote: On Thu, Mar 18, 2021 at 06:30:27PM +, Daniel P. Berrangé wrote: > When testing locally built daemons on a systemd host there can be quite > a few systemd uni

[libvirt PATCH v2] ci: Refresh information

2021-03-25 Thread Andrea Bolognani
Notable changes: * HAL is no longer installed on FreeBSD; * the native version of libwsman is no longer installed in containers intended for cross-compilation; * Meson 0.55 rather than 0.54 is requested when installing it from PyPI; * GNU sed and GNU grep are installed explicitl

Re: [PATCH 1/1] set vm physical bits(phys_bits)

2021-03-25 Thread Michal Privoznik
On 3/25/21 2:24 AM, Paul Schlacter wrote: Set the vm phys_bits through the phys and hostphysbits in XML corresponds to "-cpu-phys-bits=42" corresponds to "host-phys-bits=on" --- docs/schemas/cputypes.rng | 20 src/conf/cpu_conf.c | 34 ++

[PATCH] vz: Add case for VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER

2021-03-25 Thread Michal Privoznik
In one of my recent patches I've introduced new connection feature VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER. However, I forgot to add corresponding case into a switch in vzConnectSupportsFeature(). Signed-off-by: Michal Privoznik --- Pushed as trivial. src/vz/vz_driver.c | 1 + 1 file

Re: [PATCH 1/1] set vm physical bits(phys_bits)

2021-03-25 Thread Tim Wiederhake
On Thu, 2021-03-25 at 14:45 +0800, Paul Schlacter wrote: > > Set the vm phys_bits through the phys and hostphysbits in XML > > corresponds to "-cpu-phys-bits=42" Is the 43 -> 42 change a typo? I do not see the "-1" in the code below. > > corresponds to "host-phys-bits=on" > > > > > > > >

RE: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Zhong, Luyao
> -Original Message- > From: Martin Kletzander > Sent: Thursday, March 25, 2021 4:46 AM > To: Daniel P. Berrangé > Cc: Zhong, Luyao ; libvir-list@redhat.com > Subject: Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune > > On Tue, Mar 23, 2021 at 09:48:02AM +, Da

[PATCH] docs: Fix broken link in migrationinternals

2021-03-25 Thread Han Han
Signed-off-by: Han Han --- docs/kbase/migrationinternals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/kbase/migrationinternals.rst b/docs/kbase/migrationinternals.rst index 2e187936a7..f7b4b5a10e 100644 --- a/docs/kbase/migrationinternals.rst +++ b/docs/kbase/migr

Re: [libvirt][PATCH v4 0/3] introduce 'restrictive' mode in numatune

2021-03-25 Thread Daniel P . Berrangé
On Wed, Mar 24, 2021 at 09:46:23PM +0100, Martin Kletzander wrote: > On Tue, Mar 23, 2021 at 09:48:02AM +, Daniel P. Berrangé wrote: > > On Tue, Mar 23, 2021 at 10:59:02AM +0800, Luyao Zhong wrote: > > > Before this patch set, numatune only has three memory modes: > > > static, interleave and p