From nobody Tue Feb 10 20:49:01 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; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=openvz.org 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 1648725597982674.0402317280533; Thu, 31 Mar 2022 04:19:57 -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-356-VQA1fsk0MoWXV2I9CiqLkg-1; Thu, 31 Mar 2022 07:19:54 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3096085A5BE; Thu, 31 Mar 2022 11:19:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1CA3940146E; Thu, 31 Mar 2022 11:19:51 +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 E0CB51947BBB; Thu, 31 Mar 2022 11:19:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 737861947BBC for ; Thu, 31 Mar 2022 11:19:49 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 62BCF40E80E6; Thu, 31 Mar 2022 11:19:49 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5C62F40D296C for ; Thu, 31 Mar 2022 11:19:49 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3023338009E4 for ; Thu, 31 Mar 2022 11:19:49 +0000 (UTC) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-660-KgVIjOXfMAWgDk4KKu0d_A-1; Thu, 31 Mar 2022 07:19:47 -0400 Received: by mail-lf1-f53.google.com with SMTP id p10so35000119lfa.12 for ; Thu, 31 Mar 2022 04:19:47 -0700 (PDT) Received: from vzbook.. (broadband-90-154-71-96.ip.moscow.rt.ru. [90.154.71.96]) by smtp.gmail.com with ESMTPSA id b24-20020a196458000000b0044ab702b6acsm695653lfj.238.2022.03.31.04.19.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Mar 2022 04:19:44 -0700 (PDT) X-MC-Unique: VQA1fsk0MoWXV2I9CiqLkg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: KgVIjOXfMAWgDk4KKu0d_A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gEhg5I0IK/6WaIUzgBuPRjUjtq1pUo+Jw2+lnm8NRwQ=; b=XvrAQEP3FnEdiUbC2MBSizqzsjz2mwxwasrD543SoCR2oLg7HPeptHskczRtiHZfrN OY437TEXzdh3XOKF1uhxkCbIzbDWdi1hOq1lAyQnwZzum3t5GVM7+l0zbaPErWT8l5vC VKTs9P0kntZqS4xv0baL5nx4rhKPlACXZm7VIcvqxIisrXMFSvO3K+k06FTM6KdxQmA0 hEfb+/mUv9xXCdgGJspHUQq8IOylgHB6MCLm3j5yqEwSfe0gBu3yWZlvsxqMZqLs/sX2 izT6cyPclbmUkwIhI1lwAaS6rxpcn5PeY9v038uQPJuc4s+iaCIw940OyjPZfce+M2DS YFJw== X-Gm-Message-State: AOAM532Ykw6S97QBJ0qj1LgtFMFPFzmotFrZc6YcPN9PDd9xztythAw8 rijboCWH3EskckJKQn+0YNClJFsrCHMKDQ== X-Google-Smtp-Source: ABdhPJwnlPwo0FQuWqB8/ZIrTDqfD11jvU5oXobUFEV+XZqIiOvHz2aNTvQ/utW6buDsJaHRNFu4SQ== X-Received: by 2002:a05:6512:3f90:b0:446:6b95:24aa with SMTP id x16-20020a0565123f9000b004466b9524aamr10614572lfa.610.1648725585188; Thu, 31 Mar 2022 04:19:45 -0700 (PDT) From: Nikolay Shirokovskiy To: libvir-list@redhat.com Subject: [PATCH 08/11] qemu: add snapshot job types to qemuMonitorJobType Date: Thu, 31 Mar 2022 14:19:18 +0300 Message-Id: <20220331111921.450496-9-nikolay.shirokovskiy@openvz.org> In-Reply-To: <20220331111921.450496-1-nikolay.shirokovskiy@openvz.org> References: <20220331111921.450496-1-nikolay.shirokovskiy@openvz.org> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 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 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1648725598624100010 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Nikolay Shirokovskiy --- src/qemu/qemu_monitor.c | 3 +++ src/qemu/qemu_monitor.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c index 4b33407e50..77682f817c 100644 --- a/src/qemu/qemu_monitor.c +++ b/src/qemu/qemu_monitor.c @@ -119,6 +119,9 @@ VIR_ENUM_IMPL(qemuMonitorJob, "mirror", "backup", "create", + "snapshot-save", + "snapshot-load", + "snapshot-delete", ); =20 VIR_ENUM_IMPL(qemuMonitorJobStatus, diff --git a/src/qemu/qemu_monitor.h b/src/qemu/qemu_monitor.h index 8067236693..67715ef252 100644 --- a/src/qemu/qemu_monitor.h +++ b/src/qemu/qemu_monitor.h @@ -139,6 +139,9 @@ typedef enum { QEMU_MONITOR_JOB_TYPE_MIRROR, QEMU_MONITOR_JOB_TYPE_BACKUP, QEMU_MONITOR_JOB_TYPE_CREATE, + QEMU_MONITOR_JOB_TYPE_SNAPSHOT_SAVE, + QEMU_MONITOR_JOB_TYPE_SNAPSHOT_LOAD, + QEMU_MONITOR_JOB_TYPE_SNAPSHOT_DELETE, QEMU_MONITOR_JOB_TYPE_LAST } qemuMonitorJobType; =20 --=20 2.35.1