Skip to content

pc: limit 64 bit hole to 2G by default

Igor Mammedov qemu-devel 2 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 4 repliesApplied
  2. v26 patches 22 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.hhw/i386/pc.c include/hw/i386/ioapic.h+1 -20 replies
2/7pc: add I440FX QOM cast macrohw/pci-host/piix.c+6 -20 replies
3/7pc: replace i440fx_common_init() with i440fx_init()hw/pci-host/piix.c+13 -370 replies
4/7pc: add Q35 to QOM composition tree under /machinehw/i386/pc_q35.c+1 -00 replies
5/7qapi: make visit_type_size fallback to type_intqapi/qapi-visit-core.c+10 -10 replies
6/7qdev: Add SIZE type to qdev propertieshw/core/qdev-properties.c include/hw/qdev-properties.h include/qemu/option.h +1 more+62 -20 replies
7/7pc: limit 64 bit hole to 2G by defaulthw/i386/pc.c hw/i386/pc_piix.c hw/pci-host/piix.c +3 more+211 -582 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndreas FärberMichael S. Tsirkin
SeriesR-b
1/7R-b
2/7
3/7R-b
4/7R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH for-1.6 v3 0/7] pc: limit 64 bit hole to 2G by default

It turns out that some 32 bit windows guests crash if 64 bit PCI hole size is >2G.
Limit it to 2G for piix and q35 by default.

v1-v2:
* redone using QOM properties to pass value around
v2-v3:
* make pci_hole[64]-(start|end) properties read-only
* add pci-hole64-size property to manage hole size

git-tree for testing:
https://github.com/imammedo/qemu/commits/pcihole64_fix_v3

Igor Mammedov (4):
pc: add I440FX QOM cast macro
pc: replace i440fx_common_init() with i440fx_init()
pc: add Q35 to QOM composition tree under /machine
pc: limit 64 bit hole to 2G by default

Michael S. Tsirkin (1):
pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h

Vasilis Liaskovitis (2):
qapi: make visit_type_size fallback to type_int
qdev: Add SIZE type to qdev properties

 hw/core/qdev-properties.c    |   55 +++++++++++++++
 hw/i386/pc.c                 |   58 ++++++++++-------
 hw/i386/pc_piix.c            |   14 +----
 hw/i386/pc_q35.c             |    1 +
 hw/pci-host/piix.c           |  149 ++++++++++++++++++++++++++++++------------
 hw/pci-host/q35.c            |   88 ++++++++++++++++++++----
 include/hw/i386/ioapic.h     |    1 +
 include/hw/i386/pc.h         |   14 +++-
 include/hw/pci-host/q35.h    |    2 +
 include/hw/qdev-properties.h |    3 +
 include/qemu/option.h        |    2 +
 qapi/qapi-visit-core.c       |   11 +++-
 util/qemu-option.c           |    4 +-
 13 files changed, 302 insertions(+), 100 deletions(-)