From nobody Mon Feb 9 10:48:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1681466588; cv=none; d=zohomail.com; s=zohoarc; b=doQfaif3HROG2hkJ+zqGb4oHkeuQlRsejUd03zWKuaGrP/I9iVkRQhdT3a686ireYwAzI+wOvh8IfWbOMtzvzK7ITZhNUCljDIiC+w7dcLIi5uIOSMe/2y8nuKe7sIoRkK+oKWDhWOIfp9kfnlW1C2iiomKUTUaxmWgtxEOa0U4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681466588; 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; bh=zZHCsNFgVJE1wRCd6p4Pn/D8uvrxXxTLcaayULm+bQ4=; b=YeSEvxypL1KuI6nPYpTV64bG1jgiC2AdlR/VFU+grMAb0eKM6CAwa4ex8IqPb39SxSFdX8yxGsQCjRKK3dah/4yQuWSkVxEYi5BXyCDA4bGLxu7CL7UoX3OzpC18byM0MXqXj6LYEnO0bg/V1vliTTnz7FAnyCcIvBD2gUSYlm4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1681466588157498.05038468440114; Fri, 14 Apr 2023 03:03:08 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-588-mmwNUuQEOdK_X3Wc1mSYNg-1; Fri, 14 Apr 2023 06:02:36 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C0B06884360; Fri, 14 Apr 2023 10:02:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A1B0340F2D4C; Fri, 14 Apr 2023 10:02:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id DE97819472E8; Fri, 14 Apr 2023 10:02:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B4B4B1946A7F for ; Fri, 14 Apr 2023 10:02:30 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A8353492B03; Fri, 14 Apr 2023 10:02:30 +0000 (UTC) Received: from localhost.localdomain (unknown [10.43.2.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 52012492B01 for ; Fri, 14 Apr 2023 10:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681466587; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=zZHCsNFgVJE1wRCd6p4Pn/D8uvrxXxTLcaayULm+bQ4=; b=Mvyl0PTZoRojcNtzuzktn8R8vmn4Yqx4/nynJfQtTzEyWksfyOABHbwUJ60xGhgvSTE4Ug KJ/Ytz61G+kdgCk9jVgh3wEN+a7wfUDXjtEsvTAF3fCztDjUGgkAf2tgBMsLe+SavOOYwl uP1zSFLPju4RNRf0jkAiHHQfd4AzQDo= X-MC-Unique: mmwNUuQEOdK_X3Wc1mSYNg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 2/2] qemumemlocktest: Introduce pc-hostdev-nvme test case Date: Fri, 14 Apr 2023 12:02:27 +0200 Message-Id: <47d1b4e0a6c79eaeb4a4a6f674f0abe2f3d8329c.1681466531.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1681466588603100003 Content-Type: text/plain; charset="utf-8"; x-default="true" This basically just demonstrates the limit raised by previous commit. Signed-off-by: Michal Privoznik Reviewed-by: Martin Kletzander --- .../qemumemlock-pc-hostdev-nvme.xml | 24 +++++++++++++++++++ tests/qemumemlocktest.c | 1 + 2 files changed, 25 insertions(+) create mode 100644 tests/qemumemlockdata/qemumemlock-pc-hostdev-nvme.xml diff --git a/tests/qemumemlockdata/qemumemlock-pc-hostdev-nvme.xml b/tests/= qemumemlockdata/qemumemlock-pc-hostdev-nvme.xml new file mode 100644 index 0000000000..06f1496970 --- /dev/null +++ b/tests/qemumemlockdata/qemumemlock-pc-hostdev-nvme.xml @@ -0,0 +1,24 @@ + + guest + 1048576 + 1 + + hvm + + + /usr/bin/qemu-system-x86_64 + + + +
+ + + + + + +
+ + + + diff --git a/tests/qemumemlocktest.c b/tests/qemumemlocktest.c index 61b73e1d79..c53905a7dd 100644 --- a/tests/qemumemlocktest.c +++ b/tests/qemumemlocktest.c @@ -97,6 +97,7 @@ mymain(void) DO_TEST("pc-hardlimit", 2147483648); DO_TEST("pc-locked", VIR_DOMAIN_MEMORY_PARAM_UNLIMITED); DO_TEST("pc-hostdev", 2147483648); + DO_TEST("pc-hostdev-nvme", 3221225472); =20 DO_TEST("pc-hardlimit+locked", 2147483648); DO_TEST("pc-hardlimit+hostdev", 2147483648); --=20 2.39.2