From nobody Sat Nov 23 17:55:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=nutanix.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1723016412226515.6819500507096; Wed, 7 Aug 2024 00:40:12 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 3DDCEA63; Wed, 7 Aug 2024 03:40:11 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C4DED124C; Wed, 7 Aug 2024 03:38:38 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id AC29412DC; Wed, 7 Aug 2024 03:38:34 -0400 (EDT) Received: from mx0a-002c1b01.pphosted.com (mx0a-002c1b01.pphosted.com [148.163.151.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4974C12DC for ; Wed, 7 Aug 2024 03:38:21 -0400 (EDT) Received: from pps.filterd (m0127840.ppops.net [127.0.0.1]) by mx0a-002c1b01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 476LvQUq003982 for ; Wed, 7 Aug 2024 00:38:20 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2045.outbound.protection.outlook.com [104.47.74.45]) by mx0a-002c1b01.pphosted.com (PPS) with ESMTPS id 40sgvrquh7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 07 Aug 2024 00:38:20 -0700 (PDT) Received: from IA1PR02MB9017.namprd02.prod.outlook.com (2603:10b6:208:3ab::12) by CO1PR02MB8506.namprd02.prod.outlook.com (2603:10b6:303:159::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.23; Wed, 7 Aug 2024 07:38:17 +0000 Received: from IA1PR02MB9017.namprd02.prod.outlook.com ([fe80::d569:fbdf:590c:d616]) by IA1PR02MB9017.namprd02.prod.outlook.com ([fe80::d569:fbdf:590c:d616%3]) with mapi id 15.20.7828.023; Wed, 7 Aug 2024 07:38:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint20171006; bh=0kczlHk0plavNjm8N+5lqJC912y4O/x3jn6QOZQ5+ Cc=; b=v1TQrVl7bMfLRjimLOWTyLkOVlA0EXbnWk6gU0gAxiNegwZZvQn88K7XS fxxTDAzAySlZZ0fJDf/vJ65NbUnGATfGj/z2kck6/4YYjXKz4bWkSyhUfW74m4qa YoV8nOVyEIgbJe+f0vyV5dl1BIbX9UmyW8Br9KF/VGRiZDDE5m2R9roZoOsv61aV 6u6QwyjT4ow+wjkmO7FRjHks/b/GsVle0PD/89q1GL+yCymBmnMguJt5iHvbJDX2 RorIL12m6O/dhBUSLgCklvCEnGfGN29XSzZFdI217EGfYtr/xtjNLu0Qs4a1bMIT f1t2K8YzXUMZDmzQd+KjmXkhsgzWA== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ghaCHWP/pOE2NvMxukPmwqnU5r04s0tMfWgX0C5HSsKVANBiHNNK12qto/Re7Lfm41JRkH9BczeK7edUf96eUKbTGHe8l4mDGkc7ol9iuYLTUEy96peHaRDFEFk/Fov6HpQhQdMSEgEP8GYOjSB+BqUN8UaJY57Y92ZpXsOqvt88+ey/1bS9JLqNumovOxL13bKZrDy8Qtp74NQyDZkNdkuP2wuHUsFYazAerQSTNALGjLOzOsoSZ6iBkt8zYTD4SX1h0Su0x7gN+CUAItF0UASv8tmhSceTrBzoOh1bg11Q8/jJcSg6L3Lah8y2drgFlxsUDlITJzvKYpK6gZ6vnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0kczlHk0plavNjm8N+5lqJC912y4O/x3jn6QOZQ5+Cc=; b=BZfNxjBpflOr37TCUO0o9ljiK5JXOyPYnsYYq9YdR5zaYWNuKDLu74QYoqNuE06Ag4ouULmdm13OPHmv++CPpXjZ4sSb4sgQY6cYfwmaFzR4K4jQrxy5I2McrFhkGYaCBOg71WJGnmJmOxZv32+nG9xvvcKf4RGfHTe/a8MfySq0q9ayYAKkeflnVRug5F9xD9j2N9g1FydxocHZAH8tAL1+HswwsY8lPLSfq1tmaGIE70/OlVsTyc5/7hbZOJtMu7WMeer//zR0Yc4MZNskqUBb2EIenu7XYhlCWsdGGGYTiFgu85R8B9CNhGa+gcgCjhNtvIQTXvLCMUQwI8Mphg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nutanix.com; dmarc=pass action=none header.from=nutanix.com; dkim=pass header.d=nutanix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0kczlHk0plavNjm8N+5lqJC912y4O/x3jn6QOZQ5+Cc=; b=PbHOFi1rIxgzGgHmg1/aTxrwZkB7iLWEkrQBSqEVeFhqrsB8IH1eoYoKtQUFulEUnEIM21K5QjfY06wnvuWdB2d3QMkDEmpYzQm68mjoLMe70yox+pQApNP8xG/5v3pEuxlFzWXNycraHkyKSH2yfzlJoFcBjbl/rHNFR8acDjWwTx7odwxfBp36/qKBlW5Yw9MMBiKfPdG3ayy/CAr+CB7lYuHovppDMk/Lf8JveFCpwt5KAQvb2xDwdYFjhEKBGIV3Lq8pvrJjpjVGkeaMXtS8+xL3VsKPKHBkLuQxU79OXO6OlP80JfHYagZeBT1bI1PQk9FnzdtZp3sBqeX0zw== From: Sandesh Patel To: devel@lists.libvirt.org Subject: [PATCH 3/3] tests: add test for intel-iommu dma-translation attribute Date: Wed, 7 Aug 2024 07:37:52 +0000 Message-Id: <20240807073752.64256-4-sandesh.patel@nutanix.com> X-Mailer: git-send-email 2.22.3 In-Reply-To: <20240807073752.64256-1-sandesh.patel@nutanix.com> References: <20240807073752.64256-1-sandesh.patel@nutanix.com> X-ClientProxiedBy: SJ0PR03CA0135.namprd03.prod.outlook.com (2603:10b6:a03:33c::20) To IA1PR02MB9017.namprd02.prod.outlook.com (2603:10b6:208:3ab::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR02MB9017:EE_|CO1PR02MB8506:EE_ X-MS-Office365-Filtering-Correlation-Id: 8df5219e-8588-41ac-9fe1-08dcb6b3e723 x-proofpoint-crosstenant: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?QjQRoKrUA5xSpTOzd2SIAU7GSzijIRSOIW13hCJyHPj6+TUPL67vEJsP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kNLKLw7U5/piE0rtm7PT/1?= =?us-ascii?Q?FPmtrhaBBWG5s+ueEVIxbkwMVDvI04F/7cvMi+yXKLkiea/e2jMSoj4JPOkt?= =?us-ascii?Q?yt98tgr7UUQ+0dJaeiFTSzjqqIN79FoZcJlSkgeIyCw0c83YDmqubZkukni3?= =?us-ascii?Q?xjUJ15kUaRQaFZOYQfJeUzWKN+5yB0QqTLqAXOCH31pQroIxeV0y5Kcyzb0P?= =?us-ascii?Q?yI5Mh1NWxtAvPBwqDqlj5qoT4Nb2PXIB0pZHIALrGaclYNO28tI+OiLO4RWu?= =?us-ascii?Q?4KZ21degw18pz6keu4P9aCIj+rMZ5vZr02tg0dVgxiGtcJ+ql+lbKqON34Sa?= =?us-ascii?Q?noi01GcT2VegPWPEQztYhrq4iVdK5yaPdWEdhEDrx3r+dMEP849qosKYj9YZ?= =?us-ascii?Q?gVvZup9jEzx5N76YWCR3ElukrVnRqcKBGX+1apN7znPurFb85RdyyhoUNxzo?= =?us-ascii?Q?gvFDqIsE+IaeEUOPzKipS8JHE4I8fAqm2vAcCq/4Ne7Obf2CGw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR02MB9017.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xp5xkCFspfRbnZKSfvcvmsmvdOhtlZ4u51qBcUMTRdUxJVnoEL2MlBfL05Lr?= =?us-ascii?Q?uhhdcT6s4kMCvbqwLwaAZmZE4ukyy0gIkphJjExdwHClPVaUmydPTjD0aslp?= =?us-ascii?Q?T6dPPeebWXiUVtd/qA7599hvaHeVfGasDO8X4lBz1mJGRle51/45ztWEaJOa?= =?us-ascii?Q?ZM7x4FBgEydCSwieIwg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1Hk08pCbOAbsP6Rfg+CtiVjDcS09lXgW8qhzitdU9izJaIVNlTU2711GZ43i?= =?us-ascii?Q?5BEh3cGli+JrQsdSiiymoUhOVPFuKuXU3j5s5Itwh86etLzyfe082vsAHPkA?= =?us-ascii?Q?Ln1+9HAQSZdmb+W/jFf5uWWN0N4ekGDB1GvK02LiTqCnQHxzAArInUq35fy7?= =?us-ascii?Q?w4CDvG4pCb8ULTVfUwnYe2iBNg+BFAFCRmr/wfbGEmFxzD9bdIdgmrRRyHW6?= =?us-ascii?Q?kJaD7cy8XztFEEQNWvThk/vKGbsUvhuP7yThxx7+BQr2JKE/zCykh9Hbv0VZ?= =?us-ascii?Q?gH2mozJrDHzrShxg2IOmzql30BZ2b2RTtMainHyMizR5sLQP0UckgNiOHJsj?= =?us-ascii?Q?R3PPlTd43ODznQ7uUGz8YO5zSBeI2CZBYWN0hgwFt1ubK9aHaj8FBmGFoIZH?= =?us-ascii?Q?KYEZgDJLl5J2NwF6dxa4iKsoP+ikkwxgQ1Sbjg0XIMx3zCMVoKefKmrqCZIz?= =?us-ascii?Q?4idg+xEJwvMkROc4ULcXwcEn27PjDw4vI7DVIE6AwFd8N5HCoy1DogTWq8tB?= =?us-ascii?Q?gw=3D=3D?= X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8df5219e-8588-41ac-9fe1-08dcb6b3e723 X-MS-Exchange-CrossTenant-AuthSource: IA1PR02MB9017.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2024 07:38:17.3992 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DLhmz4QjkA8fQjnVJFezN97C84LUP4mGUjfMonxmrnrVur2X/YxgmB0l4EeNGQbhRsUB5xxAq9+2ktx7xgHIBhStjXzOlt1rGcfecvIMvk0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR02MB8506 X-Proofpoint-GUID: SESnsq_Sx_urkYCit_HWKtGFjS1M18ur X-Proofpoint-ORIG-GUID: SESnsq_Sx_urkYCit_HWKtGFjS1M18ur X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-07_04,2024-08-06_01,2024-05-17_01 X-Proofpoint-Spam-Reason: safe Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 3VMT2GGWRJUPDQENQSTAQE5GKCZ64WBY X-Message-ID-Hash: 3VMT2GGWRJUPDQENQSTAQE5GKCZ64WBY X-MailFrom: sandesh.patel@nutanix.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Sandesh Patel X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1723016414077116600 Content-Type: text/plain; charset="utf-8" Test data for the intel-iommu dma-translation attribute added previously Signed-off-by: Sandesh Patel --- .../caps_7.1.0_x86_64.xml | 1 + .../caps_7.2.0_x86_64+hvf.xml | 1 + .../caps_7.2.0_x86_64.xml | 1 + .../caps_8.0.0_x86_64.xml | 1 + .../caps_8.1.0_x86_64.xml | 1 + .../caps_8.2.0_x86_64.xml | 1 + .../caps_9.0.0_x86_64.xml | 1 + .../caps_9.1.0_x86_64.xml | 1 + .../migration-out-nbd-bitmaps-in.xml | 1 + ...l-iommu-dma-translation.x86_64-latest.args | 34 +++++++++++++++++ ...el-iommu-dma-translation.x86_64-latest.xml | 1 + .../intel-iommu-dma-translation.xml | 37 +++++++++++++++++++ tests/qemuxmlconftest.c | 1 + 13 files changed, 82 insertions(+) create mode 100644 tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_6= 4-latest.args create mode 120000 tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_6= 4-latest.xml create mode 100644 tests/qemuxmlconfdata/intel-iommu-dma-translation.xml diff --git a/tests/qemucapabilitiesdata/caps_7.1.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_7.1.0_x86_64.xml index 555120e958..9737e3d083 100644 --- a/tests/qemucapabilitiesdata/caps_7.1.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_7.1.0_x86_64.xml @@ -192,6 +192,7 @@ + 7001000 43100244 v7.1.0 diff --git a/tests/qemucapabilitiesdata/caps_7.2.0_x86_64+hvf.xml b/tests/q= emucapabilitiesdata/caps_7.2.0_x86_64+hvf.xml index ca25a5549e..55dcbf203e 100644 --- a/tests/qemucapabilitiesdata/caps_7.2.0_x86_64+hvf.xml +++ b/tests/qemucapabilitiesdata/caps_7.2.0_x86_64+hvf.xml @@ -196,6 +196,7 @@ + 7002000 43100245 v7.2.0 diff --git a/tests/qemucapabilitiesdata/caps_7.2.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_7.2.0_x86_64.xml index 8b835e6187..1253c860ee 100644 --- a/tests/qemucapabilitiesdata/caps_7.2.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_7.2.0_x86_64.xml @@ -196,6 +196,7 @@ + 7002000 43100245 v7.2.0 diff --git a/tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_8.0.0_x86_64.xml index 3ac9e96066..d3901fef05 100644 --- a/tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml @@ -200,6 +200,7 @@ + 8000000 43100244 v8.0.0 diff --git a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_8.1.0_x86_64.xml index 476195d147..f8a9993ede 100644 --- a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml @@ -202,6 +202,7 @@ + 8001000 43100245 v8.1.0 diff --git a/tests/qemucapabilitiesdata/caps_8.2.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_8.2.0_x86_64.xml index 25cb22aafc..43d7105c2d 100644 --- a/tests/qemucapabilitiesdata/caps_8.2.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_8.2.0_x86_64.xml @@ -205,6 +205,7 @@ + 8002000 43100246 v8.2.0 diff --git a/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_9.0.0_x86_64.xml index b646377dec..e96af86a92 100644 --- a/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml @@ -207,6 +207,7 @@ + 9000000 43100245 v9.0.0 diff --git a/tests/qemucapabilitiesdata/caps_9.1.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_9.1.0_x86_64.xml index dc548583a5..e17c22d776 100644 --- a/tests/qemucapabilitiesdata/caps_9.1.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_9.1.0_x86_64.xml @@ -205,6 +205,7 @@ + 9000050 43100246 v9.0.0-1388-g80e8f06021-dirty diff --git a/tests/qemustatusxml2xmldata/migration-out-nbd-bitmaps-in.xml b= /tests/qemustatusxml2xmldata/migration-out-nbd-bitmaps-in.xml index 4ee44ffbd4..15fa35620d 100644 --- a/tests/qemustatusxml2xmldata/migration-out-nbd-bitmaps-in.xml +++ b/tests/qemustatusxml2xmldata/migration-out-nbd-bitmaps-in.xml @@ -261,6 +261,7 @@ + diff --git a/tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_64-lates= t.args b/tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_64-latest.ar= gs new file mode 100644 index 0000000000..cc7f819f5c --- /dev/null +++ b/tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_64-latest.args @@ -0,0 +1,34 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGuest1 \ +USER=3Dtest \ +LOGNAME=3Dtest \ +XDG_DATA_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGuest1/.local/share \ +XDG_CACHE_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGuest1/.cache \ +XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGuest1/.config \ +/usr/bin/qemu-system-x86_64 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ +-S \ +-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/va= r/lib/libvirt/qemu/domain--1-QEMUGuest1/master-key.aes"}' \ +-machine q35,usb=3Doff,kernel_irqchip=3Dsplit,dump-guest-core=3Doff,memory= -backend=3Dpc.ram,acpi=3Doff \ +-accel kvm \ +-cpu qemu64 \ +-m size=3D219136k \ +-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}'= \ +-overcommit mem-lock=3Doff \ +-smp 1,sockets=3D1,cores=3D1,threads=3D1 \ +-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server=3Don,wait=3Doff \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-boot strict=3Don \ +-device '{"driver":"intel-iommu","id":"iommu0","intremap":"on","dma-transl= ation":false}' \ +-audiodev '{"id":"audio1","driver":"none"}' \ +-global ICH9-LPC.noreboot=3Doff \ +-watchdog-action reset \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resource= control=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_64-lates= t.xml b/tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_64-latest.xml new file mode 120000 index 0000000000..a35a254f7a --- /dev/null +++ b/tests/qemuxmlconfdata/intel-iommu-dma-translation.x86_64-latest.xml @@ -0,0 +1 @@ +intel-iommu-dma-translation.xml \ No newline at end of file diff --git a/tests/qemuxmlconfdata/intel-iommu-dma-translation.xml b/tests/= qemuxmlconfdata/intel-iommu-dma-translation.xml new file mode 100644 index 0000000000..9b4debca0a --- /dev/null +++ b/tests/qemuxmlconfdata/intel-iommu-dma-translation.xml @@ -0,0 +1,37 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + 1 + + hvm + + + + + + + qemu64 + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + +
+ + + +