Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-05 Thread Gerd Hoffmann
On Mi, 2015-03-04 at 19:12 +, Gordan Bobic wrote: On 2015-03-04 13:20, Gerd Hoffmann wrote: On Di, 2015-03-03 at 10:32 +, Gordan Bobic wrote: I need to pass a custom e820 map to a virtual machine for troubleshooting purposes and working around IOMMU hardware bugs. I have

Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-05 Thread Gordan Bobic
On 2015-03-05 10:42, Gerd Hoffmann wrote: Hi, Thank you for responding. The situation I have is that my PCIe bridges are buggy and they seem to bypass the upstream PCIe hub IOMMU. The problem with this is that when the guest accesses RAM within it's emulated address space that overlaps

Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-05 Thread Gerd Hoffmann
Hi, Thank you for responding. The situation I have is that my PCIe bridges are buggy and they seem to bypass the upstream PCIe hub IOMMU. The problem with this is that when the guest accesses RAM within it's emulated address space that overlaps with PCI I/O memory ranges in the host's

Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-05 Thread Gordan Bobic
On 2015-03-05 08:08, Gerd Hoffmann wrote: On Mi, 2015-03-04 at 19:12 +, Gordan Bobic wrote: On 2015-03-04 13:20, Gerd Hoffmann wrote: On Di, 2015-03-03 at 10:32 +, Gordan Bobic wrote: I need to pass a custom e820 map to a virtual machine for troubleshooting purposes and working

Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-05 Thread Gerd Hoffmann
Hi, Add e820_add_entry(start, size, E820_RESERVED) calls in qemu. Could you please point me at the correct file/function to add the relevant block into? There are already calls (in hw/i386/pc.c I think) already, adding entries for RAM. I'd try to place the code nearby, especially as you

Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-04 Thread Gordan Bobic
On 2015-03-04 13:20, Gerd Hoffmann wrote: On Di, 2015-03-03 at 10:32 +, Gordan Bobic wrote: I need to pass a custom e820 map to a virtual machine for troubleshooting purposes and working around IOMMU hardware bugs. I have found references to a custom map being providable via an external

Re: [Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-04 Thread Gerd Hoffmann
On Di, 2015-03-03 at 10:32 +, Gordan Bobic wrote: I need to pass a custom e820 map to a virtual machine for troubleshooting purposes and working around IOMMU hardware bugs. I have found references to a custom map being providable via an external file, mentioned as etc/e820 and fw_cfg.

[Qemu-devel] QEMU etc/e820 and fw_cfg

2015-03-03 Thread Gordan Bobic
I need to pass a custom e820 map to a virtual machine for troubleshooting purposes and working around IOMMU hardware bugs. I have found references to a custom map being providable via an external file, mentioned as etc/e820 and fw_cfg. Unfortunately, I have not found any documentation that