From nobody Sat May 4 14:47:27 2024 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=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1527167493519215.57906496190014; Thu, 24 May 2018 06:11:33 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A5960306221; Thu, 24 May 2018 13:11:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0E2EC5D6A8; Thu, 24 May 2018 13:11:31 +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 758FC18033ED; Thu, 24 May 2018 13:11:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w4ODBR1K005052 for ; Thu, 24 May 2018 09:11:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id 66AAE6F7E1; Thu, 24 May 2018 13:11:27 +0000 (UTC) Received: from mx1.redhat.com (ext-mx17.extmail.prod.ext.phx2.redhat.com [10.5.110.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5ED7B6F947 for ; Thu, 24 May 2018 13:11:26 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 05ACC30E359E for ; Thu, 24 May 2018 13:11:16 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id l1-v6so5160185wmb.2 for ; Thu, 24 May 2018 06:11:15 -0700 (PDT) Received: from rolandPC.redhat.com ([213.175.37.12]) by smtp.gmail.com with ESMTPSA id 19-v6sm26672192wrz.7.2018.05.24.06.11.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 May 2018 06:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=bBlo2jMP9R/oqdgZJsiig4P5SkC0b6aQgZrgasQdspk=; b=jGjQe/j9uKXH6z6tmvii3gvSGlHgbOtH8PluPgJKrMLDrdDm2KVRHUASL1dgnzrRSN 87gYWRskn2G6mTILGy/SK3XA1+MUBKqmYYxFRbiOtEYTQcmBK1l6rVu1Fxj3s71wtYGb yckykP+l1RaCAaFUZ8AO6kMP5hPPdb+G9GL5vJGzKGptJIcUZTXWzt4mGPzZXoNUepax JdOHqzzS6UU41Tg/JZaTpeZ1z4bmoe2LKLWzeWcMCZ84nUM4DNYPCatdZQFz0u4F65V3 KuPvUH0ZoFl8JKdUXUqrcKs0mrKQdl7vcfHbAmZWUp0Z+jrnNLuvSjFq18A/WYiwTZq/ RKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=bBlo2jMP9R/oqdgZJsiig4P5SkC0b6aQgZrgasQdspk=; b=nhcW2e7BKOh00Tp7FGSEq2+ELNax+sha0JiwBpKiCKKpM6Z7vxQ79C2R+olFIBRRGg zhAypl6NMMJOKzeqzyAeY/rB9E7QXckX0vep0qX6qsdbqVZPIqoYD+g0hvIQwpBWc2EH KZx88XSytj8zgD3d6lLTHZdLFKTFx74xb0QGf/MeO8DZ0tMqDgPl/UXe+v/fhcuSMVHb 4DU1RvTdiNJXhGkz3VXQkq4cSJZdd/LLee62Px7kLA/MdFsSPNf/FQJfRwNLFIvjPCFB GCpEcjceXdjHsnzvo2+w3F+7+MD6uBASybP+0uTQAUGNbVL6MwL5dwBxX/cxAKXw3h0B BADg== X-Gm-Message-State: ALKqPwfx1bH3yJ3kCOrLyBdKltGw1ceiX8StEYQlnMNH3ESG4HS4A+bx 5Cp3pxohyLovzs0xWE5ZO5KcxQ== X-Google-Smtp-Source: AB8JxZpcelVVvII2pzEDjRnizx8qY6lIfneyfE4XoajmWDIc74W+hUNRSv4nhOQqJQDw8yIlHoVb3Q== X-Received: by 2002:a1c:2d06:: with SMTP id t6-v6mr6584014wmt.155.1527167474461; Thu, 24 May 2018 06:11:14 -0700 (PDT) From: Roland Schulz To: libvir-list@redhat.com Date: Thu, 24 May 2018 15:11:12 +0200 Message-Id: <20180524131112.762-1-schullzroll@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Thu, 24 May 2018 13:11:16 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Thu, 24 May 2018 13:11:16 +0000 (UTC) for IP:'74.125.82.65' DOMAIN:'mail-wm0-f65.google.com' HELO:'mail-wm0-f65.google.com' FROM:'schullzroll@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.281 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, T_DKIM_INVALID) 74.125.82.65 mail-wm0-f65.google.com 74.125.82.65 mail-wm0-f65.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.46 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] Add virshAllocpagesPagesizeCompleter to opts_freepages. 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: , MIME-Version: 1.0 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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 24 May 2018 13:11:32 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Roland Schulz --- For the time being virshAllocpagesPagesizeCompleter can be used with other commands that use --pagesize option. tools/virsh-host.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh-host.c b/tools/virsh-host.c index dfe58de30..991c0f50a 100644 --- a/tools/virsh-host.c +++ b/tools/virsh-host.c @@ -280,6 +280,7 @@ static const vshCmdOptDef opts_freepages[] =3D { }, {.name =3D "pagesize", .type =3D VSH_OT_INT, + .completer =3D virshAllocpagesPagesizeCompleter, .help =3D N_("page size (in kibibytes)") }, {.name =3D "all", --=20 2.17.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list