[libvirt PATCH] nodedev: switch to udev 'bind' events

2022-09-20 Thread Jonathon Jongsma
Rather than listening to 'add' udev events, listen for 'bind' events instead. When we get an 'add' event, the sysfs tree for the device is often not ready yet. In that case we sleep in a loop until the sysfs tree appears, or give up after a timeout. udev added the 'bind' event to give userspace a

[PULL 21/30] Deprecate 32 bit big-endian MIPS

2022-09-20 Thread Alex Bennée
It's becoming harder to maintain a cross-compiler to test this host architecture as the old stable Debian 10 ("Buster") moved into LTS which supports fewer architectures. For now: - mark it's deprecation in the docs - downgrade the containers to build TCG tests only - drop the cross builds

Re: [PATCH v2] virdomainjob: virDomainObjInitJob: Avoid borrowing memory from 'virDomainXMLOption'

2022-09-20 Thread Martin Kletzander
On Tue, Sep 20, 2022 at 01:10:49PM +0200, Peter Krempa wrote: On Tue, Sep 20, 2022 at 11:44:06 +0100, Daniel P. Berrangé wrote: On Tue, Sep 20, 2022 at 12:33:15PM +0200, Martin Kletzander wrote: > On Tue, Sep 20, 2022 at 11:04:39AM +0200, Peter Krempa wrote: > > The 'cb' and 'jobDataPrivateCb'

Re: [PATCH] cpu_map: Introduce Neoverse-N1

2022-09-20 Thread Martin Kletzander
On Tue, Sep 13, 2022 at 10:10:02PM -0400, Zhenyu Zhang wrote: Add Neoverse-N1 as a supported cpu model. I would like to review this patch, but I could not find the vendor ID in any official documentation. I know I am bad at searching, but the only thing I could find was that Ampere vendor

Re: [PATCH v2] virdomainjob: virDomainObjInitJob: Avoid borrowing memory from 'virDomainXMLOption'

2022-09-20 Thread Peter Krempa
On Tue, Sep 20, 2022 at 11:44:06 +0100, Daniel P. Berrangé wrote: > On Tue, Sep 20, 2022 at 12:33:15PM +0200, Martin Kletzander wrote: > > On Tue, Sep 20, 2022 at 11:04:39AM +0200, Peter Krempa wrote: > > > The 'cb' and 'jobDataPrivateCb' pointers are stored in the job object > > > but made point

Re: [PATCH v2] virdomainjob: virDomainObjInitJob: Avoid borrowing memory from 'virDomainXMLOption'

2022-09-20 Thread Daniel P . Berrangé
On Tue, Sep 20, 2022 at 12:33:15PM +0200, Martin Kletzander wrote: > On Tue, Sep 20, 2022 at 11:04:39AM +0200, Peter Krempa wrote: > > The 'cb' and 'jobDataPrivateCb' pointers are stored in the job object > > but made point to the memory owned by the virDomainXMLOption struct in > > the callers. >

Re: [PATCH v2] virdomainjob: virDomainObjInitJob: Avoid borrowing memory from 'virDomainXMLOption'

2022-09-20 Thread Martin Kletzander
On Tue, Sep 20, 2022 at 11:04:39AM +0200, Peter Krempa wrote: The 'cb' and 'jobDataPrivateCb' pointers are stored in the job object but made point to the memory owned by the virDomainXMLOption struct in the callers. Since the 'virdomainjob' module isn't in control the lifetime of the

[PATCH v2] virdomainjob: virDomainObjInitJob: Avoid borrowing memory from 'virDomainXMLOption'

2022-09-20 Thread Peter Krempa
The 'cb' and 'jobDataPrivateCb' pointers are stored in the job object but made point to the memory owned by the virDomainXMLOption struct in the callers. Since the 'virdomainjob' module isn't in control the lifetime of the virDomainXMLOption, which in some cases is freed before the domain job