qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/6] pci: keep window properties up to date


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 0/6] pci: keep window properties up to date
Date: Wed, 4 Sep 2013 13:48:26 +0300

w32/w64 properties that we report in QOM are
currently static, but this is wrong:
guest firmware can select its own windows:
optimal placement for w64 is guest-dependent, further,
for Q35, w32 is affected by the MCFG base and size.

This detects the actual window configuration used by guest
and reports it in QOM.

Michael S. Tsirkin (6):
  q35: make pci window address/size match guest cfg
  range: add min/max operations on ranges
  pci: add helper to retrieve the 64-bit range
  range: add Range to typedefs
  q35: use 64 bit window programmed by guest
  piix: use 64 bit window programmed by guest

 include/hw/pci/pci.h    |  1 +
 include/qemu/range.h    | 19 ++++++++++++++++++-
 include/qemu/typedefs.h |  1 +
 hw/pci-host/piix.c      |  6 ++++++
 hw/pci-host/q35.c       | 16 ++++++++++++++++
 hw/pci/pci.c            | 43 +++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 85 insertions(+), 1 deletion(-)

-- 
MST




reply via email to

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