On Tue, 2014-12-02 at 13:26 +0100, Vasilis Liaskovitis wrote:
> We generate the expected DMAR table and enable intel_iommu on q35 to test the
> table.
> 
> Signed-off-by: Vasilis Liaskovitis <vlias...@gmail.com>
> ---
>  tests/acpi-test-data/q35/DMAR | Bin 0 -> 64 bytes
>  tests/bios-tables-test.c      |   2 +-
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  create mode 100644 tests/acpi-test-data/q35/DMAR
> 
> diff --git a/tests/acpi-test-data/q35/DMAR b/tests/acpi-test-data/q35/DMAR
> new file mode 100644
> index 
> 0000000000000000000000000000000000000000..6def4553381f4e48b80ead11af2adf6ce09c8c7e
> GIT binary patch
> literal 64
> ycmZ?qbqsP~U|?XZbMklg2v%^42yk`*iZKGkKx`1L2E+&;zyK0sV7U1YL;?U|dI<pl
> 
> literal 0
> HcmV?d00001
> 
> diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
> index 9e4d205..6975d49 100644
> --- a/tests/bios-tables-test.c
> +++ b/tests/bios-tables-test.c
> @@ -779,7 +779,7 @@ static void test_acpi_tcg(void)
>  
>      memset(&data, 0, sizeof(data));
>      data.machine = MACHINE_Q35;
> -    test_acpi_one("-machine q35,accel=tcg", &data);
> +    test_acpi_one("-machine q35,accel=tcg,iommu=on", &data);
>      free_test_data(&data);
>  }
>  

Reviewed-by: Marcel Apfelbaum <marce...@redhat.com>



Reply via email to