Re: [PATCH 2/5] rust: pci: convert IrqVectorRegistration to a lifetime-managed owning type

From: Danilo Krummrich

Date: Tue Aug 11 2026 - 12:49:44 EST


On Tue Aug 11, 2026 at 1:44 PM CEST, Gary Guo wrote:
> Why is this anchoring thing needed instead apart from the lifetime that already
> exists on `IrqRequest`?

The idea was to preserve the source of the IRQ via this anchor type. But at a
second glance this morning I wasn't overly happy with that; ultimately I think
it doesn't really add a lot of value.

I took a different approach now with keeping IrqVector as a new type over
IrqRequest; I will send out a v2 soon.

Thanks,
Danilo