From: Tomita Moeko <tomitamoeko@gmail.com>
To: "Alex Williamson" <alex.williamson@redhat.com>,
"Cédric Le Goater" <clg@redhat.com>
Cc: qemu-devel@nongnu.org, Tomita Moeko <tomitamoeko@gmail.com>
Subject: [PATCH 0/2] vfio/igd: Legacy mode fixes after introduction of
Date: Thu, 24 Jul 2025 00:09:04 +0800 [thread overview]
Message-ID: <20250723160906.44941-1-tomitamoeko@gmail.com> (raw)
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(-)
--
2.47.2
next reply other threads:[~2025-07-23 16:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-23 16:09 Tomita Moeko [this message]
2025-07-23 16:09 ` [PATCH 1/2] vfio/igd: Require host VGA decode for legacy mode Tomita Moeko
2025-07-23 16:09 ` [PATCH 2/2] vfio/igd: Fix VGA regions are not exposed in " Tomita Moeko
2025-07-28 15:46 ` [PATCH 0/2] vfio/igd: Legacy mode fixes after introduction of Alex Williamson
2025-07-28 17:24 ` Cédric Le Goater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250723160906.44941-1-tomitamoeko@gmail.com \
--to=tomitamoeko@gmail.com \
--cc=alex.williamson@redhat.com \
--cc=clg@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).