On Mon, 29 Jul 2013 12:33:44 +0300 "Michael S. Tsirkin" mst@redhat.com wrote:
This is a refactoring of patch PATCH v2: pci: load memory window setup from host.
Please note qemu merged the required interface already. Please review, and consider for release.
Changes from v3:
- fix bug causing windows to crash
- better debug output (when enabled)
Changes from v2:
- address comments by Kevin: avoid dynamic memory allocation refactor code to avoid special-casing loaded windows
- split out to two patch series
Changes from v1: - fix bug in 64 bit range check - address Kevin's comments: move file load into pciinit.c dont reorder initialization sizeof style fix
Michael S. Tsirkin (2): pciinit: refactor mem init code pci: load memory window setup from host
src/pciinit.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 121 insertions(+), 24 deletions(-)
Install and boot tested with i440fx machine: * Windows 7 ultimate x32 * Windows server 2008 r2 x64 * Windows Vista x32 * Windows server 2012 x64
Following OSes install/boot with 64-bit PCI hole hidden using -global i440FX-pcihost.pci-hole64-size=0
* Windows server 2003 x32|x64 * Windows server 2003 R2 x32|x64 * Windows XP x32|x64