From nobody Mon Feb 9 07:23:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=oracle.com ARC-Seal: i=1; a=rsa-sha256; t=1566203613; cv=none; d=zoho.com; s=zohoarc; b=eEZLzvr/ZIslividMqR2HIArkL2zi6FHIfk6Jn2cVa9omrJHGAq8Lyl3lWLdafLcYwfCuTCP9+GjnkBNF9Bn/UO23tLxxw8O4OccahQR9oN2b0cJSkS9HufVs+m+WLHCd/lDe0e/a0U+tga4+f7GMiMFTi/+SiPs1aK6xn/CkJo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566203613; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=VT4Wv/mJhTSTGdz13EW/tc8Y1vaNQdsqhtbfpSSDw/w=; b=NtOy1BvrR6/8grQ5S3El24A+CTZVMftbLwPQlSfrFZmfVw5j9DV+2rdmkFVIl7KxpK3WWFNXskTNzXBivL/6cQD3QfTMDOJgQEP6exsjAG8fxGmR9g+fNL72cHz/MwmROrd56Y/qiynFY/3N3x4HKrwHnd+DD09He+YKgO/wANY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1566203613389686.7960400163287; Mon, 19 Aug 2019 01:33:33 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 488FD302C068; Mon, 19 Aug 2019 08:33:32 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FB461E1; Mon, 19 Aug 2019 08:33:32 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D676824FDF; Mon, 19 Aug 2019 08:33:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x7J8XUG2031758 for ; Mon, 19 Aug 2019 04:33:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 500FB84E0; Mon, 19 Aug 2019 08:33:30 +0000 (UTC) Received: from mx1.redhat.com (ext-mx30.extmail.prod.ext.phx2.redhat.com [10.5.110.71]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4ABE11E1 for ; Mon, 19 Aug 2019 08:33:25 +0000 (UTC) Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 62C0D7F74A for ; Mon, 19 Aug 2019 08:33:16 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7J8SU0c052734 for ; Mon, 19 Aug 2019 08:33:15 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2ue9hp5x80-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 19 Aug 2019 08:33:15 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7J8XCpS184079 for ; Mon, 19 Aug 2019 08:33:14 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2ue6qe7uyp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 19 Aug 2019 08:33:12 +0000 Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x7J8WaJg015753 for ; Mon, 19 Aug 2019 08:32:37 GMT Received: from maximegalon.us.oracle.com (/10.175.42.78) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 19 Aug 2019 01:32:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2019-08-05; bh=02xzefW1qH3kEjDMG9as/4iCAvUI0tn3wlCpKOOnkDw=; b=aWLZJSZeTw2ltoo5yIHLa5lYf4ZK5l1vm5+9B3etf6SeDo/pyJj1PzmiY9Fv5J6/tXxc aFEstIt4ZWahUoRgiAu29koVy1qO9YJgUFrnW4CTL6iy/xBczHc2RsGZW9iGAZ0zO73i lYaDqOxAjDctKvw51CYKpnjDJNELGLuXu4XiYnLeLKNsI6zEe29BSZ+QXU186v8x7qsx LsaQl08EIqKj3jfI+Mta+piIrMi4xdgkI3WSdSeGyPUrVF0ENiOPj082zlDomhgAr7yn tNV8KzMTTNv0cEPSR3OLS+8zaxzi7gn79IpeCqIZ0e/h/PhNSbEZ6RS4rWQU/lRCZG/N SA== From: Menno Lageman To: libvir-list@redhat.com Date: Mon, 19 Aug 2019 10:32:26 +0200 Message-Id: <20190819083226.28640-4-menno.lageman@oracle.com> In-Reply-To: <20190819083226.28640-1-menno.lageman@oracle.com> References: <20190819083226.28640-1-menno.lageman@oracle.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9353 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908190099 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9353 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908190098 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 238 matched, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Mon, 19 Aug 2019 08:33:21 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Mon, 19 Aug 2019 08:33:21 +0000 (UTC) for IP:'141.146.126.78' DOMAIN:'aserp2120.oracle.com' HELO:'aserp2120.oracle.com' FROM:'menno.lageman@oracle.com' RCPT:'' X-RedHat-Spam-Score: -102.4 (DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_MED, SPF_HELO_PASS, SPF_NONE, UNPARSEABLE_RELAY, USER_IN_WHITELIST) 141.146.126.78 aserp2120.oracle.com 141.146.126.78 aserp2120.oracle.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.71 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 3/3] tests: add tests for cpu-pm feature X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Mon, 19 Aug 2019 08:33:32 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Update the KVM feature tests for the cpu-pm feature Signed-off-by: Menno Lageman --- tests/qemuxml2argvdata/kvm-features-off.args | 2 +- tests/qemuxml2argvdata/kvm-features-off.xml | 1 + tests/qemuxml2argvdata/kvm-features.args | 2 +- tests/qemuxml2argvdata/kvm-features.xml | 1 + tests/qemuxml2argvtest.c | 4 ++-- tests/qemuxml2xmloutdata/kvm-features-off.xml | 1 + tests/qemuxml2xmloutdata/kvm-features.xml | 1 + 7 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/qemuxml2argvdata/kvm-features-off.args b/tests/qemuxml2a= rgvdata/kvm-features-off.args index 59a79376d140..5150f93986a7 100644 --- a/tests/qemuxml2argvdata/kvm-features-off.args +++ b/tests/qemuxml2argvdata/kvm-features-off.args @@ -12,7 +12,7 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ -m 214 \ --realtime mlock=3Doff \ +-overcommit mem-lock=3Doff,cpu-pm=3Doff \ -smp 6,sockets=3D6,cores=3D1,threads=3D1 \ -uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ -display none \ diff --git a/tests/qemuxml2argvdata/kvm-features-off.xml b/tests/qemuxml2ar= gvdata/kvm-features-off.xml index ab2c16202c3d..81970472d2f3 100644 --- a/tests/qemuxml2argvdata/kvm-features-off.xml +++ b/tests/qemuxml2argvdata/kvm-features-off.xml @@ -13,6 +13,7 @@ + diff --git a/tests/qemuxml2argvdata/kvm-features.args b/tests/qemuxml2argvd= ata/kvm-features.args index 8372ca897d8d..315e4cae853c 100644 --- a/tests/qemuxml2argvdata/kvm-features.args +++ b/tests/qemuxml2argvdata/kvm-features.args @@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=3Dnone \ -machine pc,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff \ -cpu host,kvm=3Doff,kvm-hint-dedicated=3Don \ -m 214 \ --realtime mlock=3Doff \ +-overcommit mem-lock=3Doff,cpu-pm=3Don \ -smp 6,sockets=3D6,cores=3D1,threads=3D1 \ -uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ -display none \ diff --git a/tests/qemuxml2argvdata/kvm-features.xml b/tests/qemuxml2argvda= ta/kvm-features.xml index b942e89a9280..fd12a80a574f 100644 --- a/tests/qemuxml2argvdata/kvm-features.xml +++ b/tests/qemuxml2argvdata/kvm-features.xml @@ -13,6 +13,7 @@ + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 26b512d24606..4c048b3e768a 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -915,8 +915,8 @@ mymain(void) DO_TEST("hyperv-off", NONE); DO_TEST("hyperv-panic", NONE); =20 - DO_TEST("kvm-features", NONE); - DO_TEST("kvm-features-off", NONE); + DO_TEST("kvm-features", QEMU_CAPS_OVERCOMMIT); + DO_TEST("kvm-features-off", QEMU_CAPS_OVERCOMMIT); =20 DO_TEST("pmu-feature", NONE); DO_TEST("pmu-feature-off", NONE); diff --git a/tests/qemuxml2xmloutdata/kvm-features-off.xml b/tests/qemuxml2= xmloutdata/kvm-features-off.xml index a0ef9c7e9e15..31d9b586b3f8 100644 --- a/tests/qemuxml2xmloutdata/kvm-features-off.xml +++ b/tests/qemuxml2xmloutdata/kvm-features-off.xml @@ -13,6 +13,7 @@ + diff --git a/tests/qemuxml2xmloutdata/kvm-features.xml b/tests/qemuxml2xmlo= utdata/kvm-features.xml index b6f16ced1dab..7ceaf15ecf1e 100644 --- a/tests/qemuxml2xmloutdata/kvm-features.xml +++ b/tests/qemuxml2xmloutdata/kvm-features.xml @@ -13,6 +13,7 @@ + --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list