From nobody Sun Dec 7 13:32:28 2025 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; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1739985137860549.4316413750452; Wed, 19 Feb 2025 09:12:17 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 29D961C26; Wed, 19 Feb 2025 12:12:17 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id AF85A1E00; Wed, 19 Feb 2025 12:02:51 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 0AD8B1D77; Wed, 19 Feb 2025 12:02:47 -0500 (EST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 E6D9D1D22 for ; Wed, 19 Feb 2025 12:02:13 -0500 (EST) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2211cd4463cso76180155ad.2 for ; Wed, 19 Feb 2025 09:02:13 -0800 (PST) Received: from localhost.localdomain ([2001:4490:4ea9:8374:8512:e327:fdaf:a56e]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-220d558fe3asm106651545ad.234.2025.02.19.09.02.09 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 19 Feb 2025 09:02:11 -0800 (PST) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739984532; x=1740589332; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VmJzLYuWnoo8/V+CIlkaMwypXgiRg1HiANY0MlQlWXM=; b=OLiPtCPEYBsfovh+m5wT4GwFhTlBWNnapv5Ud4Arxhe47MuHLu91E7Fvz7SHthR4Hw hcWICbJ9m35XIcHhKyRo+UdURpJ77wTgGvLTy6YW4GlfXJnRE3pVHXiILliA8istfFwo eogcfl569Go5lTb30DT8TW/KocGLTvGEjRsjS5DOzsSdH1Im93bBad7ZyPckPL/4B91B IayiYwFoFFhhMc5gMIVZz1DkAC34jj4ZJ0zu6MOkVnKD7EMJTJGA1dnA+tmuOPUQhDli oH0WtbXVzGjRRJztLN7H7mIKB9WtvwxA1KoJGbMNG9t8LFNZk3VfVXss++DosNctRGMk Qa2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739984532; x=1740589332; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VmJzLYuWnoo8/V+CIlkaMwypXgiRg1HiANY0MlQlWXM=; b=sTc48ZoLRSFiLKZKJ08fBCku4bl7+o57aR3CaFgbibMz7MOPb75PoQNkffQOkkzoWR yvnIrcZDk/cEOBSr6IVztAyVIXCik2PmzYtQV07ba4kKJYK36UDueddt3GJJ2a0QiTKI j+k2rvmo2ZpV6QL7Gsit/qJ4Ilj3otqKSxbxqSWT5HqYFZ6O/yMFhDFuP/lcjcHK1FpT g6n5tlpELgYWz9TtFXwWCrgO5Gww4ctUCwfFHYQf9SBugrvwuDLjl65IBkXCfRfXjEVg a2gm4+iTR34X0cIdX8gYlnWNTYC+4PKVzxuYzBSCstM6d5TJ6J6KzfiX+x8lm6T32REL FMiw== X-Gm-Message-State: AOJu0YwV6NSMwI3F5/hGslC+mQNqQRqbLjR3wLRo4UYvAKRhpRLEhZBk nc/5QA0LhlCV20/wanTEolWSLrnpbPzoSzxABrurbsvc9ex0MewlSVbGmuvI X-Gm-Gg: ASbGncv2H30LoEz7NJhRJegOSU4VnXkiSwkv69VZ6Vrtyt5s0C8JDJ2LrqEwz6FsOuv vtAUR3E4NtnsSooiPELdWtx7gER41u87zQITkAaiCa6iQAdjfDKPZ7N9LAxxq4S27zc74EggwqT OCXZ0sYPlz9KKOL05YA27kuaZtxrH6eMaa6VAVThMcKwWkJZlE8jiSL2H3jNFCu4FCHTDGygztc U3jaRS9wTizXtaiTV1WhQlRShvXNJvswKFGI1LeZ5DD/r3RJpwtjlz8z1KlJAkfcSa23OMQq+lF giD6aAVET7z/s97w657/N73PDq/JbIs+fX2CVwaE4CeZxIQZxiPpzOGl4g== X-Google-Smtp-Source: AGHT+IFhoR/nKIu/0MWnsRRGKfFtmLONzfy/DFmZ/AmE2+FnUnf9QgBoLFA4z1nDwURIbWd6X73lcQ== X-Received: by 2002:a17:902:cec7:b0:21f:5e9c:c349 with SMTP id d9443c01a7336-221040ce1camr328776905ad.43.1739984532283; Wed, 19 Feb 2025 09:02:12 -0800 (PST) From: Harikumar Rajkumar To: devel@lists.libvirt.org Subject: [PATCH v8 14/18] qemustatusxml2xmldata: Add 'throttlefilter' tests Date: Wed, 19 Feb 2025 22:27:18 +0530 Message-Id: <20250219165722.26348-15-harirajkumar230@gmail.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20250219165722.26348-1-harirajkumar230@gmail.com> References: <20250219165722.26348-1-harirajkumar230@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: NMU2WUVPSUNMHIB3BQHCJ2PIK3L7XIKA X-Message-ID-Hash: NMU2WUVPSUNMHIB3BQHCJ2PIK3L7XIKA X-MailFrom: harirajkumar230@gmail.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: sanjeev.ranjan@ibm.com, harikumar.rajkumar@ibm.com, earulana@in.ibm.com, Harikumar Rajkumar , Chun Feng Wu 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 (Header signature does not verify) X-ZM-MESSAGEID: 1739985143747019000 Content-Type: text/plain; charset="utf-8" * Add tests for throttlefilter nodename parse and format for statusxml (disk/privateData/nodenames/nodename with type=3D'throttle-filter') * Add iotune limited disk tests to make sure iotune refactory works Signed-off-by: Chun Feng Wu * Isolate status xml test Signed-off-by: Harikumar Rajkumar --- .../throttlefilter-in.xml | 392 +++++++++++++++++ .../throttlefilter-out.xml | 393 ++++++++++++++++++ tests/qemuxmlactivetest.c | 1 + 3 files changed, 786 insertions(+) create mode 100644 tests/qemustatusxml2xmldata/throttlefilter-in.xml create mode 100644 tests/qemustatusxml2xmldata/throttlefilter-out.xml diff --git a/tests/qemustatusxml2xmldata/throttlefilter-in.xml b/tests/qemu= statusxml2xmldata/throttlefilter-in.xml new file mode 100644 index 0000000000..2a98d6f5e2 --- /dev/null +++ b/tests/qemustatusxml2xmldata/throttlefilter-in.xml @@ -0,0 +1,392 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2 + + copy + 0439a4a8-db56-4933-9183-d8681d7b0746 + 1024000 + 1024000 + 1 + + + 200 + 200 + limit0 + 1 + + + 250 + 250 + limit1 + 1 + + + 300 + 300 + limit2 + 1 + + + 400 + 400 + limit012 + 1 + + + + /machine + + + hvm + + + + + + + + + + + + + + destroy + restart + restart + + + + + + /usr/bin/qemu-system-x86_64 + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + 10000000 + 400000 + 100000 + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +