]> git.proxmox.com Git - qemu.git/commit
pc: limit 64 bit hole to 2G by default
authorIgor Mammedov <imammedo@redhat.com>
Mon, 29 Jul 2013 14:47:57 +0000 (16:47 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 30 Jul 2013 00:33:34 +0000 (19:33 -0500)
commit398489018183d613306ab022653552247d93919f
tree65bd612a22d9f0c3d9d92d00ed3f9dce2b9712a2
parente8cd45c78f53501e75bd455140da63d1b7ed3685
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.
User may override default 64-bit PCI hole size by
using "pci-hole64-size" property.

Examples:
-global i440FX-pcihost.pci-hole64-size=4G

-global q35-pcihost.pci-hole64-size=4G

Reported-by: Igor Mammedov <imammedo@redhat.com>,
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375109277-25561-8-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/pci-host/piix.c
hw/pci-host/q35.c
include/hw/i386/pc.h
include/hw/pci-host/q35.h