Re: [PATCH 7/8] bus: remove per bus scan mode

David Marchand
2026-03-26T08:55:18Z

On Tue, 24 Mar 2026 at 17:02, Kevin Traynor <ktraynor@redhat.com> wrote:
>
> On 3/23/26 10:53 AM, David Marchand wrote:
> > Following the refactoring of device selection, it becomes more apparent
> > that there is no need for a per bus scan mode.
> > -a / -b options are mutually exclusive.
> > --vdev option works in parallel of allow/block list scan mode.
> >
>
> -a/-b are mutually exclusive but does it mean "-a 0000:01:00.0" stops
> default probe for all devices on other buses ? Is it a change in behavior ?
>
> (I could probably test but I guess you thought about this case given the
> nature of patch.)

Hum, yeah, it is a change in behavior, I was too focused on the next
patch (where the new mode can't be used with -b option).

This patch was an attempt at simplifying.
Since there is a risk some user may have relied on this combination
(iow some user setting -a busA:XXX yet relying on block mode for other
buses), I'll just drop it and return to how it was in RFC v3.

--
David Marchand