pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
pc: add I440FX QOM cast macro

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
utils: add range_size() wrapper

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
pc: replace i440fx_common_init() with i440fx_init() as it isn't used by anywhere else

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
pc: add Q35 to QOM composition tree under /machine

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
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,
add properties to let management override the hole size.

Examples:
-global i440FX-pcihost.pci_hole64_size=137438953472

-global q35-pcihost.pci_hole64_size=137438953472

Reported-by: Igor Mammedov <imammedo@redhat.com>,
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>