qemu-e2k/hw/xen
Anthony PERARD 794798e36e xen_pt: Fix passthrough of device with ROM.
QEMU does not need and should not allocate memory for the ROM of a
passthrough PCI device. So this patch initialize the particular region
like any other PCI BAR of a passthrough device.

When a guest will access the ROM, Xen will take care of the IO, QEMU
will not be involved in it.

Xen set a limit of memory available for each guest, allocating memory
for a ROM can hit this limit.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reported-and-Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2014-01-17 15:29:33 +00:00
..
Makefile.objs Xen PV Device 2013-07-29 11:13:44 +00:00
xen_apic.c apic: QOM'ify APIC 2013-12-24 18:02:18 +01:00
xen_backend.c qemu/xen: make use of xenstore relative paths 2013-10-10 14:25:52 +00:00
xen_devconfig.c
xen_platform.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
xen_pt_config_init.c hw/xen: Use g_free instead of free and fix potential memory leaks 2013-06-11 23:45:44 +04:00
xen_pt_msi.c hw/[u-x]*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
xen_pt.c xen_pt: Fix passthrough of device with ROM. 2014-01-17 15:29:33 +00:00
xen_pt.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_pvdevice.c xen-pvdevice: make device-id property compulsory 2013-12-01 18:25:48 +00:00
xen-host-pci-device.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen-host-pci-device.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00