From: Alex Williamson <alex.williamson@redhat.com>
To: alex.williamson@redhat.com, kvm@vger.kernel.org
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/3] Towards vfio-base VGA device assignment
Date: Mon, 07 Jan 2013 15:21:55 -0700 [thread overview]
Message-ID: <20130107221001.9460.85677.stgit@bling.home> (raw)
This is the companion series to the vfio-pci kernel series for VGA
support. Combined, these don't do as much as you'd hope. Patch 1
is simpy a header update for the matching vfio kernel changes.
Patch 2 is the meat of the changes, enabling vfio-pci to claim access
to VGA ranges and pass them through to the kernel. The last patch
is a hard coded hack specific to my system and only known to be
needed on a Radeon HD5450 where there seems to be a backdoor for the
VGA BIOS to find the physical address of the device (physical devices
is at 0x4000, virtual device is at 0xc000).
With this and the kernel patch, some devices are able to get through
VGA bios execution. The HD5450 can even sync the monitor and show the
correct thing on the screen if you run something that uses VGA graphic
mode. Seabios seems to think VBE works, but for some reason VGA text
mode doesn't work, the monitor turns off. So, like the kernel side,
I'm posting these for archival purposes and with hopes that someone
may have some ideas on what's still missing. Thanks,
Alex
---
Alex Williamson (3):
qemu: [NOT FOR COMMIT] Update linux headers for vfio VGA
vfio-pci: [NOT FOR COMMIT] Add support for VGA MMIO and I/O port access
vfio-pci: [NOT FOR COMMIT] Hack around HD5450 I/O port backdoor
hw/vfio_pci.c | 182 ++++++++++++++++++++++++++++++++++
linux-headers/asm-powerpc/kvm.h | 86 ++++++++++++++++
linux-headers/asm-powerpc/kvm_para.h | 13 +-
linux-headers/linux/kvm.h | 21 +++-
linux-headers/linux/kvm_para.h | 6 +
linux-headers/linux/vfio.h | 9 +-
linux-headers/linux/virtio_config.h | 6 +
linux-headers/linux/virtio_ring.h | 6 +
8 files changed, 305 insertions(+), 24 deletions(-)
next reply other threads:[~2013-01-07 22:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 22:21 Alex Williamson [this message]
2013-01-07 22:22 ` [Qemu-devel] [PATCH 1/3] qemu: [NOT FOR COMMIT] Update linux headers for vfio VGA Alex Williamson
2013-01-07 22:22 ` [Qemu-devel] [PATCH 2/3] vfio-pci: [NOT FOR COMMIT] Add support for VGA MMIO and I/O port access Alex Williamson
2013-01-07 22:22 ` [Qemu-devel] [PATCH 3/3] vfio-pci: [NOT FOR COMMIT] Hack around HD5450 I/O port backdoor Alex Williamson
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=20130107221001.9460.85677.stgit@bling.home \
--to=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--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).