qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.9 0/2] VT-d extend GAW to 48 bits


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH for-2.9 0/2] VT-d extend GAW to 48 bits
Date: Wed, 7 Dec 2016 16:40:12 +0800
User-agent: Mutt/1.7.1 (2016-10-04)

On Wed, 12/07 13:52, Peter Xu wrote:
> The first patch did some check to make sure the CE GAW bits are always
> valid (it can overflow in old codes, I see it dangerous).
> 
> The second patch extended VT-d GAW (Guest Address Width) from 39 bits
> to 48 bits.
> 
> Please review. Thanks,
> 
> Peter Xu (2):
>   intel_iommu: check validity for GAW bits in CE
>   intel_iommu: extend supported guest aw to 48 bits
> 
>  hw/i386/intel_iommu.c          | 12 +++++++++++-
>  hw/i386/intel_iommu_internal.h |  7 +++++--
>  include/hw/i386/intel_iommu.h  |  2 +-
>  3 files changed, 17 insertions(+), 4 deletions(-)
> 
> -- 
> 2.7.4
> 

This makes "identical mapping" from virtual address to iova possible in a QEMU
VM and I no longer see the "DMAR: intel_iommu_map: iommu width (39) is not
sufficient for the mapped address (55a7d6557000)" error message when doing VFIO
dma mapping.

Tested-by: Fam Zheng <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]