From nobody Tue Dec 16 11:08:36 2025 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=1673027543; cv=none; d=zohomail.com; s=zohoarc; b=cgQLWfBKgXIooIdkW8NADHFiNy1rbU4hONwuY/voQupo/JaGS5TRG9IzPNOK2LqY1mBPoVTmg+ISrzqYyB4VCcCg5Z9oqrdrQF8w8CJThBLqdz2vszqxEuts0LRIb8jH3RL/HMi+52MvlywTbQ+69QIQxQnsG7w9BI5f3c8QwTs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673027543; 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=zV2G8l6hCPOU0/fm8wba2BSoCSR8llhyRGL8WJdegt0=; b=YjDN2xY1XAlbYuCoKRTuLaVWS6s6yScCxdWofIHnoEawhidEtidWGdXggfkXyrvO30QbVUDq89wc1BjlBeRA14yKUK/Hcaqld1mM/OY1TZmpsmBUe2p6tAXVjNb2TOTgsxaMiB4JFe5tos5bzAhnX4Iz1sfSt9yLMvq8V9k4olI= 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 167302754315395.3937138977476; Fri, 6 Jan 2023 09:52:23 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-522-2g7wojNPOKGGVyFaKYPD8A-1; Fri, 06 Jan 2023 12:52:19 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A33B5281723B; Fri, 6 Jan 2023 17:52:17 +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 597D22026D4B; Fri, 6 Jan 2023 17:52:17 +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 9EB51194706E; Fri, 6 Jan 2023 17:52:16 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7DCF31947073 for ; Fri, 6 Jan 2023 17:52:15 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 6D4A440C2064; Fri, 6 Jan 2023 17:52:15 +0000 (UTC) Received: from antique-work.redhat.com (ovpn-193-172.brq.redhat.com [10.40.193.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AED940C2005 for ; Fri, 6 Jan 2023 17:52:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673027542; 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=zV2G8l6hCPOU0/fm8wba2BSoCSR8llhyRGL8WJdegt0=; b=ZueScNbLj7xQwr0Aqv3DrYOmpTIS29YjXnJFfeFssAMpDHCbJ18xnfIeZxVbDSsgY8FWiu eu3HzViSI1UyfC2pf8uawSP1VsPvXKI6j8U7j0QDVeAN1Vd5cFy7wfnKqkYlNzogbwth5X mCYvf73Dd3uFxiZ2E+FoDBE0FMgNcg4= X-MC-Unique: 2g7wojNPOKGGVyFaKYPD8A-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH v3 01/32] libvirt: introduce VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_DELETE Date: Fri, 6 Jan 2023 18:51:36 +0100 Message-Id: <44e2e8186ffab32465eff0f5ac8b3a4f82b4be08.1673027206.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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.4 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: 1673027545006100001 Content-Type: text/plain; charset="utf-8"; x-default="true" This will be used by snapshot delete async domain job. Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa --- include/libvirt/libvirt-domain.h | 1 + tools/virsh-domain.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-dom= ain.h index 295fd30c93..4b1de1d5b8 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -4172,6 +4172,7 @@ typedef enum { VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERT =3D 7, /* (Since: 3.3.0) */ VIR_DOMAIN_JOB_OPERATION_DUMP =3D 8, /* (Since: 3.3.0) */ VIR_DOMAIN_JOB_OPERATION_BACKUP =3D 9, /* (Since: 6.0.0) */ + VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_DELETE =3D 10, /* (Since: 9.0.0) */ =20 # ifdef VIR_ENUM_SENTINELS VIR_DOMAIN_JOB_OPERATION_LAST /* (Since: 3.3.0) */ diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 2d162cf8c0..3e94744c95 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -6141,6 +6141,7 @@ VIR_ENUM_IMPL(virshDomainJobOperation, N_("Snapshot revert"), N_("Dump"), N_("Backup"), + N_("Snapshot delete"), ); =20 static const char * --=20 2.39.0