diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2014-01-10 15:56:33 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-01-17 15:29:33 +0000 |
commit | 794798e36eda77802ce7cc7d7d6b1c65751e8a76 (patch) | |
tree | e164f8ee4eeb6af337a841ba4a467875f6d094e1 /hw/9pfs | |
parent | fc33b9004c49f21f8188df5c4cd079a9a3d08de8 (diff) | |
download | hqemu-794798e36eda77802ce7cc7d7d6b1c65751e8a76.zip hqemu-794798e36eda77802ce7cc7d7d6b1c65751e8a76.tar.gz |
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>
Diffstat (limited to 'hw/9pfs')
0 files changed, 0 insertions, 0 deletions