qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Vasilis Liaskovitis <vliaskov@gmail.com>
To: qemu-devel@nongnu.org
Cc: jan.kiszka@web.de, marcel.a@redhat.com, knut.omang@oracle.com,
	Vasilis Liaskovitis <vliaskov@gmail.com>,
	mst@redhat.com
Subject: [Qemu-devel] [PATCH v3] qtest/bios-tables: Add DMAR aml file and enable intel_iommu for q35
Date: Tue,  2 Dec 2014 13:26:06 +0100	[thread overview]
Message-ID: <1417523166-26189-1-git-send-email-vliaskov@gmail.com> (raw)

We generate the expected DMAR table and enable intel_iommu on q35 to test the
table.

Signed-off-by: Vasilis Liaskovitis <vliaskov@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);
 }
 
-- 
1.9.1

             reply	other threads:[~2014-12-02 12:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 12:26 Vasilis Liaskovitis [this message]
2014-12-02 13:28 ` [Qemu-devel] [PATCH v3] qtest/bios-tables: Add DMAR aml file and enable intel_iommu for q35 Marcel Apfelbaum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417523166-26189-1-git-send-email-vliaskov@gmail.com \
    --to=vliaskov@gmail.com \
    --cc=jan.kiszka@web.de \
    --cc=knut.omang@oracle.com \
    --cc=marcel.a@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).