qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [SeaBIOS] [RFC PATCH v2] fw/pci: Add support for mappin


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [SeaBIOS] [RFC PATCH v2] fw/pci: Add support for mapping Intel IGD OpRegion via QEMU
Date: Fri, 05 Feb 2016 08:58:11 +0100

  Hi,

> > +    if (file->copy(file, opregion, file->size) < 0) {
> Is opregion content on host immutable?
> if not then copying it probably wrong and it should be passed-through.

The OpRegion is used for communication between bios and driver, it is
*not* something going directly to the hardware.  There is also the VBT
(video bios table) with some configuration information (most notably
laptop panel info).  The latter will be used by the guest driver.

To make stuff like brightness control work is is not enough to
pass-through the opregion, we would also have to somehow forward acpi
notifications and acpi calls between host and guest, so the guest driver
can talk to the host bios.  That is seriously non-trivial, for little
(if any) gain.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]