Re: [PATCH v7 3/8] vpci: Hide legacy capability when it fails to initialize

2025-07-23 Thread Roger Pau Monné
On Wed, Jul 23, 2025 at 07:33:04AM +, Chen, Jiqian wrote: > On 2025/7/21 23:48, Roger Pau Monné wrote: > > On Fri, Jul 04, 2025 at 03:07:58PM +0800, Jiqian Chen wrote: > >> + pdev->domain, &pdev->sbdf, type, cap, rc); > >> + > >> +if ( capability->cleanup ) > >> +

Re: [PATCH v7 3/8] vpci: Hide legacy capability when it fails to initialize

2025-07-23 Thread Chen, Jiqian
On 2025/7/21 23:48, Roger Pau Monné wrote: > On Fri, Jul 04, 2025 at 03:07:58PM +0800, Jiqian Chen wrote: >> When vpci fails to initialize a legacy capability of device, it just >> returns an error and vPCI gets disabled for the whole device. That >> most likely renders the device unusable, plus p

Re: [PATCH v7 3/8] vpci: Hide legacy capability when it fails to initialize

2025-07-21 Thread Roger Pau Monné
On Fri, Jul 04, 2025 at 03:07:58PM +0800, Jiqian Chen wrote: > When vpci fails to initialize a legacy capability of device, it just > returns an error and vPCI gets disabled for the whole device. That > most likely renders the device unusable, plus possibly causing issues > to Xen itself if guest

[PATCH v7 3/8] vpci: Hide legacy capability when it fails to initialize

2025-07-04 Thread Jiqian Chen
When vpci fails to initialize a legacy capability of device, it just returns an error and vPCI gets disabled for the whole device. That most likely renders the device unusable, plus possibly causing issues to Xen itself if guest attempts to program the native MSI or MSI-X capabilities if present.