Re: [PATCH 0/2] vfio/igd: Legacy mode fixes after introduction of

2025-07-28 Thread Cédric Le Goater

On 7/23/25 18:09, Tomita Moeko wrote:

This patchset aims to fix 2 bugs on legacy mode brought by commit
a59d06305fff ("vfio/pci: Introduce x-pci-class-code option").

1. QEMU tries to enable VGA access on device emulated to VGA controller.
2. pci_register_vga() is not called after calling vfio_populate_vga().


Tomita Moeko (2):
   vfio/igd: Require host VGA decode for legacy mode
   vfio/igd: Fix VGA regions are not exposed in legacy mode

  docs/igd-assign.txt |  1 +
  hw/vfio/igd.c   | 19 ---
  hw/vfio/pci.c   | 13 ++---
  hw/vfio/pci.h   |  1 +
  4 files changed, 24 insertions(+), 10 deletions(-)




Applied to vfio-next.

Thanks,

C.





Re: [PATCH 0/2] vfio/igd: Legacy mode fixes after introduction of

2025-07-28 Thread Alex Williamson
On Thu, 24 Jul 2025 00:09:04 +0800
Tomita Moeko  wrote:

> This patchset aims to fix 2 bugs on legacy mode brought by commit
> a59d06305fff ("vfio/pci: Introduce x-pci-class-code option").
> 
> 1. QEMU tries to enable VGA access on device emulated to VGA controller.
> 2. pci_register_vga() is not called after calling vfio_populate_vga().
> 
> 
> Tomita Moeko (2):
>   vfio/igd: Require host VGA decode for legacy mode
>   vfio/igd: Fix VGA regions are not exposed in legacy mode
> 
>  docs/igd-assign.txt |  1 +
>  hw/vfio/igd.c   | 19 ---
>  hw/vfio/pci.c   | 13 ++---
>  hw/vfio/pci.h   |  1 +
>  4 files changed, 24 insertions(+), 10 deletions(-)
> 

Reviewed-by: Alex Williamson