Brijesh,
On 9/11/18 11:49 PM, Brijesh Singh wrote:
Emulate the interrupt remapping support when guest virtual APIC is
enabled.
See IOMMU spec:https://support.amd.com/TechDocs/48882_IOMMU.pdf
(section 2.2.5.2) for details information.
When VAPIC is enabled, it uses interrupt remapping as defined in
Table 22 and Figure 17 from IOMMU spec.
Cc: "Michael S. Tsirkin"<m...@redhat.com>
Cc: Paolo Bonzini<pbonz...@redhat.com>
Cc: Richard Henderson<r...@twiddle.net>
Cc: Eduardo Habkost<ehabk...@redhat.com>
Cc: Marcel Apfelbaum<marcel.apfelb...@gmail.com>
Cc: Tom Lendacky<thomas.lenda...@amd.com>
Cc: Suravee Suthikulpanit<suravee.suthikulpa...@amd.com>
Signed-off-by: Brijesh Singh<brijesh.si...@amd.com>
---
hw/i386/amd_iommu.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++-
hw/i386/amd_iommu.h | 38 +++++++++++++++++++++++++++++
hw/i386/trace-events | 2 ++
3 files changed, 107 insertions(+), 1 deletion(-)
The commit message here is incorrect and/or misleading.
The GASup bit is essentially allow 128-bit IRTE format.
The guest virtual APIC support is really GAMSup bit.
Thanks,
Suravee