[PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Tim Wiederhake
meson's "test()" function provides a "should_fail: bool" argument that checks for a command to exit with a non-zero exit code instead of the usual zero exit code to signal success. If the program under test does so, it is recorded as "EXPECTEDFAIL" instead of "OK". While there is an argument to be

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Peter Krempa
On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > meson's "test()" function provides a "should_fail: bool" argument that > checks for a command to exit with a non-zero exit code instead of the usual > zero exit code to signal success. If the program under test does so, it is > recorde

Re: [PATCH v5 07/18] remote: New APIs for ThrottleGroup lifecycle management

2025-02-10 Thread Harikumar Rajkumar
> On Fri, Feb 07, 2025 at 04:59:49 -, Harikumar Rajkumar wrote: > It is an implementation detail how that is achieved, based on what qemu > provides: > - explicitly request qemu to revert to default > - query the default and set the same value as default > - refuse to do something t

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Peter Krempa
On Mon, Feb 10, 2025 at 12:58:06 +0100, Tim Wiederhake wrote: > On Mon, 2025-02-10 at 12:44 +0100, Peter Krempa wrote: > > On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > > > On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > > > > meson's "test()" function provides a "sh

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Daniel P . Berrangé
On Mon, Feb 10, 2025 at 01:57:51PM +0100, Peter Krempa wrote: > On Mon, Feb 10, 2025 at 12:58:06 +0100, Tim Wiederhake wrote: > > On Mon, 2025-02-10 at 12:44 +0100, Peter Krempa wrote: > > > On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > > > > On Mon, Feb 10, 2025 at 11:25:55 +0100,

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Tim Wiederhake
On Mon, 2025-02-10 at 12:44 +0100, Peter Krempa wrote: > On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > > On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > > > meson's "test()" function provides a "should_fail: bool" argument > > > that > > > checks for a command to exi

Re: [PATCH] tests: Record negative tests as pass instead of expected-fail

2025-02-10 Thread Peter Krempa
On Mon, Feb 10, 2025 at 11:30:24 +0100, Peter Krempa wrote: > On Mon, Feb 10, 2025 at 11:25:55 +0100, Tim Wiederhake wrote: > > meson's "test()" function provides a "should_fail: bool" argument that > > checks for a command to exit with a non-zero exit code instead of the usual > > zero exit code t

Re: [PATCH 2/2] nbd/server: Allow users to adjust handshake limit in QMP

2025-02-10 Thread Eric Blake
On Thu, Feb 06, 2025 at 10:20:09AM +0300, Vladimir Sementsov-Ogievskiy wrote: > > --- > > qapi/block-export.json | 10 ++ > > include/block/nbd.h| 6 +++--- > > [..] > > > @@ -52,6 +57,10 @@ > > # > > # @addr: Address on which to listen. > > # > > +# @handshak

Re: AppArmor confinement for qemu:///session VMs

2025-02-10 Thread Jim Fehlig via Devel
On 2/5/25 10:22, Andrea Bolognani wrote: An issue was recently reported[1] with running unprivileged VMs configured to use passt on Debian with AppArmor confinement enabled. A long thread that's hard to read 'flat' or 'nested' via the referenced link :-). But yes, SUSE and openSUSE distros wou

Re: AppArmor confinement for qemu:///session VMs

2025-02-10 Thread Stefano Brivio
On Mon, 10 Feb 2025 17:04:01 -0700 Jim Fehlig wrote: > On 2/5/25 10:22, Andrea Bolognani wrote: > > An issue was recently reported[1] with running unprivileged VMs > > configured to use passt on Debian with AppArmor confinement enabled. > > A long thread that's hard to read 'flat' or 'nested'