From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3okk-0008Oc-KI for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3okf-0002GK-Sn for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:48:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3okf-0002GF-Ll for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:48:45 -0400 From: Igor Mammedov Date: Mon, 29 Jul 2013 16:47:50 +0200 Message-Id: <1375109277-25561-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH for-1.6 v3 0/7] pc: limit 64 bit hole to 2G by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: afaerber@suse.de, mst@redhat.com 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(-)