From nobody Wed Dec 17 08:52:25 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 17393571962277.19344674000763; Wed, 12 Feb 2025 02:46:36 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 24D951EAC; Wed, 12 Feb 2025 05:46:35 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 48BD51A28; Wed, 12 Feb 2025 05:37:01 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5ED19A56; Wed, 12 Feb 2025 05:36:55 -0500 (EST) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 1DFD21A8E for ; Wed, 12 Feb 2025 05:36:27 -0500 (EST) Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2fbf77b2b64so1133547a91.2 for ; Wed, 12 Feb 2025 02:36:27 -0800 (PST) Received: from localhost.localdomain ([117.251.37.46]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2fbf98b3277sm1147688a91.7.2025.02.12.02.36.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 12 Feb 2025 02:36:24 -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_H3,RCVD_IN_MSPIKE_WL,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=1739356585; x=1739961385; 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=VGqa17H0S2VNEAz0mDyf85RSbyu/jfd1+smOyTSP6hc=; b=MYXOH1UcuaWjImm0ZEOW6KRUVlK1t4wdfLzrJDk2Bz+AkA7ppYXNhY4TExZZF57pMk qzZpVnp7IqT1iDzgIrqITbnTEpQkaWrw0mJiKVy5FhBtGsxyhiuS4XjfTRI9jgaWRvDh fRkHkzdS4M2oSoBWa4u+S2e1rvG/DshTIFBKvY/UulyPrRfwoBFo+N/GqnEFJlmGM33R FBxItpzlOuO+QjCCHjjyOOWKUkn1Pa8cX06CvQHd6t/BI/jzHDNgkMFDmgln7BGre14Z S3np9TjSNhWFe4Lc/1dwwwbcUPlHVhRbDe/leZvFqGrM6dGvhWikBzuSlVhygj0P4bx+ Uvow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739356585; x=1739961385; 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=VGqa17H0S2VNEAz0mDyf85RSbyu/jfd1+smOyTSP6hc=; b=Hy4DvHYESJH2DLjwfOB3c0yr4NAPd0sMNu3jaKDEkaUjYm7/srJAb0YBUpSyO1PwUK GXH6QwPIsUD3YspwmRpzt6rKpPYb+iMLhmcOlUtozRzKWPpe/1WEqTmbQyMTb0Jg20lf llwXkSAuoZx/mQLjVMLsnHzy0YtZcLmwpgaghhydI89ggVsqIUX0g8XneZljL9oueRYp mUlYnpXQcvh/oj4ddG3ZEylQpqtmI4a2khVeSn/3ZGCeqxInhrPlKOUf9ZZmGKRimBhQ /+MOsj+VHUhbpufJH1DIIWlYqoHk9GQ8zJ7Llgi3nFzSUBkJGzip8KJh20vbwU1XEqS7 +WFg== X-Gm-Message-State: AOJu0YyY8P9aRSyYWbEPknwpK2NnUIbIPIVOic+dp1vdo5j7c80HmIXT vuTrEyy8gc8yk/jLohO3pdmT4nmU9cYRjAUl+HMTHo6givl4F9e0N2kMeQ== X-Gm-Gg: ASbGncvsC0B5e9yvURL788tzsF61XBDe+bJs/oZedmouxh8tK0MUNDtLjBlZC+1634C cSSAmcgA9BZDMulxvyaG6jMY5CLxH0zOlDjsMQggo0vOQs09i4mNus4iyuECLA8UmIPlepDHodv JVSISoGcATs4M8yg/mUccau4J5k0Bb0oeXfR0OgFBFrax9j/wZhVElSl7CqcS0sq+/kNtWu4/fN NREPEoHgRkQ90DNILgLeiXsr6/TwO/9h8KaBMI448wfgQQVJGpqfO8h73j7fLqTifNqGa76BSlM p3hd1/mWY++kNwlnufchl8JL3vLAkjZGFacMnzYsS0qjOg== X-Google-Smtp-Source: AGHT+IE0HlJt7KsCSPJC3XhdCqkjo0PbQThmvow6S8vtwc7Id+GvVUSy3aPMUmxMnKdwya18oX5iqA== X-Received: by 2002:a17:90b:2549:b0:2ee:d193:f3d5 with SMTP id 98e67ed59e1d1-2fbf5bc1e3dmr4165516a91.7.1739356585269; Wed, 12 Feb 2025 02:36:25 -0800 (PST) From: Harikumar Rajkumar To: devel@lists.libvirt.org Subject: [PATCH v7 14/18] qemustatusxml2xmldata: Add 'throttlefilter' tests Date: Wed, 12 Feb 2025 16:05:33 +0530 Message-Id: <20250212103537.26352-15-harirajkumar230@gmail.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20250212103537.26352-1-harirajkumar230@gmail.com> References: <20250212103537.26352-1-harirajkumar230@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: FDZG634R2MIEZPHJF54LBQBLSEUZ3VQ2 X-Message-ID-Hash: FDZG634R2MIEZPHJF54LBQBLSEUZ3VQ2 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: harikumar.rajkumar@ibm.com, sanjeev.ranjan@ibm.com, earulana@in.ibm.com, Harikumar Rajkumar 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: 1739357203197019100 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: 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 + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +