Re: [PATCH] vfio/igd: Fix incorrect error propagation in vfio_pci_igd_opregion_detect()

2025-05-22 Thread edmund.raile
Hi Moeko, >I did some further debugging, and found it was caused by a mistake in >error handling. In vfio_pci_igd_opregion_detect(), `errp` is set when >OpRegion is not found. However, in pci_qdev_realize(), the caller of >vfio_realize(), it checks if the errp is set for failure, rather than >the

Re: [PATCH v2] vfio/igd: Respect x-igd-opregion=off in IGD quirk handling

2025-05-20 Thread edmund.raile
Hi Moeko, >On 5/19/25 16:03, edmund.raile wrote: >> Restore SR-IOV Intel iGPU VF passthrough capability: >> Check x-igd-opregion=off parameter in vfio_pci_igd_config_quirk and >> vfio_pci_kvmgt_config_quirk to ensure x-igd-opregion=off is >> respected despite subsequent

[PATCH] vfio/igd: OpRegion not found fix error typo

2025-05-19 Thread edmund.raile
Signed-off-by: Edmund Raile --- hw/vfio/igd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c index e54a2a2f00..36ceb85212 100644 --- a/hw/vfio/igd.c +++ b/hw/vfio/igd.c @@ -203,7 +203,7 @@ static bool vfio_pci_igd_opregion_detect(VFIOPCIDevice *

[PATCH v2] vfio/igd: Respect x-igd-opregion=off in IGD quirk handling

2025-05-19 Thread edmund.raile
Restore SR-IOV Intel iGPU VF passthrough capability: Check x-igd-opregion=off parameter in vfio_pci_igd_config_quirk and vfio_pci_kvmgt_config_quirk to ensure x-igd-opregion=off is respected despite subsequent attempt of automatic IGD opregion detection. Fixes: c0273e77f2d7 ("vfio/igd: Detect IGD

Re: [PATCH] vfio/igd: Respect x-igd-opregion=off in IGD quirk handling

2025-05-19 Thread edmund.raile
>On 5/19/25 08:59, edmund.raile wrote: >>> Hello, >>> >>> On 5/19/25 02:01, edmund.raile wrote: >>>>>> Restore SR-IOV Intel iGPU VF passthrough capability: >>>>>> Check x-igd-opregion=off parameter in vfio_pci_igd_config_quirk and

Re: [PATCH] vfio/igd: Respect x-igd-opregion=off in IGD quirk handling

2025-05-19 Thread edmund.raile
>Hello, > >On 5/19/25 02:01, edmund.raile wrote: >>>> Restore SR-IOV Intel iGPU VF passthrough capability: >>>> Check x-igd-opregion=off parameter in vfio_pci_igd_config_quirk and >>>> vfio_pci_kvmgt_config_quirk to ensure x-igd-opregion=off is

[PATCH] vfio/igd: Respect x-igd-opregion=off in IGD quirk handling

2025-05-18 Thread edmund.raile
> > Restore SR-IOV Intel iGPU VF passthrough capability: > > Check x-igd-opregion=off parameter in vfio_pci_igd_config_quirk and > > vfio_pci_kvmgt_config_quirk to ensure x-igd-opregion=off is > > respected despite subsequent attempt of automatic > > IGD opregion detection. > > > > Fixes: 7be29f2f1

[PATCH] vfio/igd: Respect x-igd-opregion=off in IGD quirk handling

2025-05-18 Thread edmund.raile
Restore SR-IOV Intel iGPU VF passthrough capability: Check x-igd-opregion=off parameter in vfio_pci_igd_config_quirk and vfio_pci_kvmgt_config_quirk to ensure x-igd-opregion=off is respected despite subsequent attempt of automatic IGD opregion detection. Fixes: 7be29f2f1a3f ("Merge tag 'pull-vfio-

qemu-gtk clipboard crash fixes

2023-09-25 Thread edmund.raile
In response to [gemu-gtk-clipboard freezing and crashing guests](https://gitlab.com/qemu-project/qemu/-/issues/1150). I think I might have a solution for the gtk clipboard sometimes crashing guests. @kolAflash I couldn't have done it without you, figuring out `gtk_clipboard_wait_is_text_availab