V3: - renaming "aw-bits" to "x-aw-bits", and clarify that this parameter is experimental [AlexW]
(V2 is mostly a re-written of V1, so no change log is appended) The first patch did some check to make sure the CE GAW bits are always valid. The second patch extended VT-d GAW (Guest Address Width) from 39 bits to 48 bits by providing "aw-bits" parameter for intel-iommu. Test done: - boot vm without "x-aw-bits" or "x-aw-bits=39": guest boots with 39 bits - boot vm with "x-aw-bits=48": guest boots with 48 bits - boot vm with illegal x-aw-bits: guest refuses to boot Please review. Thanks, Peter Xu (2): intel_iommu: check validity for GAW bits in CE intel_iommu: provide "x-aw-bits" parameter hw/i386/acpi-build.c | 8 +++++++- hw/i386/intel_iommu.c | 38 ++++++++++++++++++++++++++++++++------ hw/i386/intel_iommu_internal.h | 13 ++++++------- include/hw/i386/intel_iommu.h | 1 + 4 files changed, 46 insertions(+), 14 deletions(-) -- 2.7.4