From nobody Wed May 15 05:03:58 2024 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=1621519569; cv=none; d=zohomail.com; s=zohoarc; b=ZmbGMZzGiM5tU/SSrRdV67snShL0dNncEuF4qg86RgUYsXv18WSvKSuRlzeDdIcWLHEOD66MkpjLf5tTUtxDZECJP5wWedvuBFtxU+ko22wqrtMx/icLwIbtDPmSAWK2JMTl6ERH2KcgNv2G42xyFVQYr95XexYzSWF50Si5+ZM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621519569; 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=yboGFNmr+tZTplC5tGYvHnE44UNzZW5jg4HAmsPtU8k=; b=RU4kT49IZjoZz5Xd5s1kiUAh30oeNxoGuBWiFiy0AmRbLUYvUVUkyvPGi46cacLP//YjCH4azhO7K+0n5JRmg1fIWslG/e2op3ezLcGq2QNopaiOn+VA5Ajvmw9nO3xP6be5WNQhVDY4hYc/gSL4vtyQ3IC6WvZqWcfwVnbVICc= 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) header.from= 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 1621519569662744.8998497914932; Thu, 20 May 2021 07:06:09 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-260-R6pUBAjMO327PXTd9-7ujA-1; Thu, 20 May 2021 10:06:04 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B081F189C447; Thu, 20 May 2021 14:05:58 +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 8B5BB5D9DC; Thu, 20 May 2021 14:05:58 +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 59D351801265; Thu, 20 May 2021 14:05:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14KDnwvw009093 for ; Thu, 20 May 2021 09:49:58 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5947D10027A5; Thu, 20 May 2021 13:49:58 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.194.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id D14B81009962 for ; Thu, 20 May 2021 13:49:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621519566; 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=yboGFNmr+tZTplC5tGYvHnE44UNzZW5jg4HAmsPtU8k=; b=KOrK5EKZSQhYdql8M726eaohheW0Je6GhuoWrUDD142pxLh9jwzlHE/aHc3G7XrgWZlhf/ 5IGja5DQAyywA8XGqJUv6KxOi3KDOiKYWJlYFEc1nQvkOMfXxDbUCN1wX/S04kyoa+nMen S3cg/Tw/jVCn6m8I5+vCOe6RG04vZTQ= X-MC-Unique: R6pUBAjMO327PXTd9-7ujA-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/4] include: Fix copy-paste error in comment to virDomainCoreDumpFormat enum Date: Thu, 20 May 2021 15:49:52 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The comment to virDomainCoreDumpFormat enum says that new values can be introduced in the future "as new events are added". Well, it should have been "formats" instead of "events", obviously. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- include/libvirt/libvirt-domain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-dom= ain.h index e99bfb7654..b33eede68b 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -694,7 +694,7 @@ typedef enum { # ifdef VIR_ENUM_SENTINELS VIR_DOMAIN_CORE_DUMP_FORMAT_LAST /* - * NB: this enum value will increase over time as new events are + * NB: this enum value will increase over time as new formats are * added to the libvirt API. It reflects the last state supported * by this version of the libvirt API. */ --=20 2.26.3 From nobody Wed May 15 05:03:58 2024 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=1621519571; cv=none; d=zohomail.com; s=zohoarc; b=K5nHnPY9jYMDhpHfUxosJ0ZIJfxaZV2G43zACTem/TIhPf0ykRrVqtmGdzJXRSiMOM7hodWXE/rHQRDLmR1x+rTk1HfPATwfHkkW9kC7k3F0RvOSVVHHXUgyvxXpUMHWMXozkjPsSFJnVp3RoF0VYM6QJSLAdVRy31W8vQoNIFg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621519571; 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=VPzJDZNuTlkIYBkhskXAM+tSQah/yCArjunRakv8big=; b=Nvq5bEpIzlm7mdUAI4Z1PgangfP5xV8h9Sh+1ebnSDAGZ7SknmHHkQ4KKr6ENo9oZ93vmH2j4UFuH9A3uJAN1327VlaJ+Mjx5l5hY8LLWTCKFwMp9jjzqOCXatKnrhyDcTWOR1K7JplVIUTstXdn/xl+MMPNU1iP1Doy1ajeEdc= 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) header.from= 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 1621519571836784.7378142338664; Thu, 20 May 2021 07:06:11 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-206-HSCHR7wtMP-jy8XUvoCa1g-1; Thu, 20 May 2021 10:06:07 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4FE968042B4; Thu, 20 May 2021 14:06:01 +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 31BB96091B; Thu, 20 May 2021 14:06:01 +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 F17BD180B464; Thu, 20 May 2021 14:06:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14KDnxtu009099 for ; Thu, 20 May 2021 09:49:59 -0400 Received: by smtp.corp.redhat.com (Postfix) id 342A61009962; Thu, 20 May 2021 13:49:59 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.194.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id AB83E10027A5 for ; Thu, 20 May 2021 13:49:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621519570; 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=VPzJDZNuTlkIYBkhskXAM+tSQah/yCArjunRakv8big=; b=LWblF88NSxPMa3UqmhWDyEF3aOIf9X+0J3tdwZ6uJ1GM52k9jnkCElA8T4U4s393FWj3Su ZzA5EGvUFmpL9lCxphUabe+JN20r09cTmIy29XGoVihmymWatZo7h6OAqz6tghJKHXWZEi HCZzV6LFfziRjm5iyfuvvCXgMDqKi/s= X-MC-Unique: HSCHR7wtMP-jy8XUvoCa1g-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 2/4] lib: Add win-dmp crashdump format Date: Thu, 20 May 2021 15:49:53 +0200 Message-Id: <33eaf98fc697a81853f653cb9a6e536ad03c6da5.1621518573.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" QEMU gained support for 'win-dmp' format in it's release of 2.13, but Libvirt doesn't implement it yet. Fortunately, there not much needed: new value to virDomainCoreDumpFormat public enum, which unfortunately means that QEMU driver has to be updated in the same commit, because of VIR_ENUM_IMPL(). Luckily, we don't need any extra QEMU capability - the code already checks supported formats via 'query-dump-guest-memory-capability' just before issuing 'dump-guest-memory'. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- include/libvirt/libvirt-domain.h | 1 + src/qemu/qemu_driver.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-dom= ain.h index b33eede68b..7ef8ac51e5 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -691,6 +691,7 @@ typedef enum { * lzo compression */ VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_SNAPPY, /* kdump-compressed format, = with * snappy compression */ + VIR_DOMAIN_CORE_DUMP_FORMAT_WIN_DMP, /* Windows full crashdump fo= rmat */ # ifdef VIR_ENUM_SENTINELS VIR_DOMAIN_CORE_DUMP_FORMAT_LAST /* diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index c90d52edc0..e10e699a1a 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -143,6 +143,7 @@ VIR_ENUM_IMPL(qemuDumpFormat, "kdump-zlib", "kdump-lzo", "kdump-snappy", + "win-dmp", ); =20 =20 --=20 2.26.3 From nobody Wed May 15 05:03:58 2024 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=1621518617; cv=none; d=zohomail.com; s=zohoarc; b=WxefhF+Ezp6wyZ+L14iqFniLoNslrlqc+vQS/yQNQVZ24l8O93ruoaPxYaU7iqHedfcBTTkypN+QGKRn4qPLHYHhM6VoXwbP63bdxWQ3U+i558URqdi+0ePIvI9fZrXNT9XdSts3zDWisLavpxf3yVrVOEljeC65ljX6Rb+o6Ew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621518617; 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=FMYe9/uArqoI1MdO9Uh61McLwPEfi6LaBkbBkEWK8G0=; b=GvLWABC/CQm7RxeDeQZGDAXl0jfAVbl3BFEfh/s3KsYWvFbGbx7a+EbYbv/0yzjh7IfOfraCuwoxoTvvKUoGe610LLBvVb56yiPiRZ36uZxKntu/a1XhrjLDNp/GjU9DZjAo6mGlztjzXFQmFPs9p6BCIzRNRiiwgA2YtHIeKKY= 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) header.from= 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 1621518617486766.4658638716529; Thu, 20 May 2021 06:50:17 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-280-EoTBQ6WYNS-nrZ3Dg9kp6Q-1; Thu, 20 May 2021 09:50:13 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6B555188E3E9; Thu, 20 May 2021 13:50:07 +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 DF72A29402; Thu, 20 May 2021 13:50:05 +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 4BF211800BBE; Thu, 20 May 2021 13:50:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14KDo0A5009111 for ; Thu, 20 May 2021 09:50:00 -0400 Received: by smtp.corp.redhat.com (Postfix) id 103591009962; Thu, 20 May 2021 13:50:00 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.194.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id 858F710027A5 for ; Thu, 20 May 2021 13:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621518616; 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=FMYe9/uArqoI1MdO9Uh61McLwPEfi6LaBkbBkEWK8G0=; b=dt8k8B/a/fd/uNTWa44ZSZDDpwCQ5+w0nxZctMo6xe/ZiNVAkqGEHmY0+D9Do9eTAsJiva 8TpSXf7R1ZrK1FC4BdwWjJk2oPFNsuSxdqc6amZ6Z2b6tfWtbLXJAZoSRKXsFkEtZBnVD7 ZkKo21AwirYL7XUqF481DZicFCvHn54= X-MC-Unique: EoTBQ6WYNS-nrZ3Dg9kp6Q-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 3/4] virsh: Expose new win-dmp dump format Date: Thu, 20 May 2021 15:49:54 +0200 Message-Id: <6591abc34b99fe6b4ae36dbeb0205d09d8d227a1.1621518573.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" In previous commit the virDomainCoreDumpWithFormat() API gained new format. Expose it. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- docs/manpages/virsh.rst | 5 +++-- tools/virsh-domain.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst index ad91cd6356..87668f2b9a 100644 --- a/docs/manpages/virsh.rst +++ b/docs/manpages/virsh.rst @@ -2554,9 +2554,10 @@ If *--memory-only* is specified, the file is elf fil= e, and will only include domain's memory and cpu common register value. It is very useful if the domain uses host devices directly. *--format* *string* is used to specify the format of 'memory-only' -dump, and *string* can be one of them: elf, kdump-zlib(kdump-compressed +dump, and *string* can be one of: elf, kdump-zlib(kdump-compressed format with zlib-compressed), kdump-lzo(kdump-compressed format with -lzo-compressed), kdump-snappy(kdump-compressed format with snappy-compress= ed). +lzo-compressed), kdump-snappy(kdump-compressed format with snappy-compress= ed), +win-dmp(Windows full crashdump format). =20 The progress may be monitored using ``domjobinfo`` virsh command and cance= led with ``domjobabort`` command (sent by another virsh instance). Another opt= ion diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 5a5215ab4c..dc9712bce5 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5463,6 +5463,8 @@ doDump(void *opaque) dumpformat =3D VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_SNAPPY; } else if (STREQ(format, "elf")) { dumpformat =3D VIR_DOMAIN_CORE_DUMP_FORMAT_RAW; + } else if (STREQ(format, "win-dmp")) { + dumpformat =3D VIR_DOMAIN_CORE_DUMP_FORMAT_WIN_DMP; } else { vshError(ctl, _("format '%s' is not supported, expecting " "'kdump-zlib', 'kdump-lzo', 'kdump-snappy'= " --=20 2.26.3 From nobody Wed May 15 05:03:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1621518618; cv=none; d=zohomail.com; s=zohoarc; b=A5t5z2XtJrVJoHa+nHIYtvXGIPC7jOzEj5QfItZX5BA8f8QYa0OSzAvNOnLEinv12H8bchSks3WEPm5lYK7JPuiljtWPeENwUtFVJVZdHna9/Stxi49cEBDYFhGRjE7hlyWcr5K9ScyJTu/dAANT+lYVJ+wGDzRDIlm7w/7XZy4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621518618; 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=QjPSPA9ZcElYvBoG6RewXeS2fyVEd34QuRYCl1WhsOo=; b=XhyKI/gRd+RRf7t//9LLHcbkj2iMgZHLd7FlK+jOYrVMx1sF7jFM4UAX+Le5Q4j4nQ7yHxuhaVaeEZLTtI8MoHDzXUTaq61ABf+kfpdFqYEMT3deBs7Xh5sIJvGLfbSkz24fueGW8cjD3/+pmzM+Q5jnCUk0Jlf2NkMLqPNhckk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1621518618933947.6450303807846; Thu, 20 May 2021 06:50:18 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-507-ba6tB8ZOMemP6CursKAyWw-1; Thu, 20 May 2021 09:50:15 -0400 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id EB4BD188E3CB; Thu, 20 May 2021 13:50:08 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5B4ED5D6B1; Thu, 20 May 2021 13:50:07 +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 A84474349A; Thu, 20 May 2021 13:50:04 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 14KDo0Nj009121 for ; Thu, 20 May 2021 09:50:00 -0400 Received: by smtp.corp.redhat.com (Postfix) id DEDEA1009962; Thu, 20 May 2021 13:50:00 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.194.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id 61DE510027A5 for ; Thu, 20 May 2021 13:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621518618; 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=QjPSPA9ZcElYvBoG6RewXeS2fyVEd34QuRYCl1WhsOo=; b=ahu1zqoa6iDfgqUYvnErFYqnnjEjoFePMKTqIvCRwmh29OafNxA+3taqpPAi5jjkIkb2Nw VnrIvAT6ipRtixVtF6HjkH7vpf43tvdtJRrXtAM7qGux9GRQB9qXUWmapSRhJlzQG1TnxP rw00ObNcxqzVXh6YqAqYPbBhDrwZXOk= X-MC-Unique: ba6tB8ZOMemP6CursKAyWw-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 4/4] NEWS: Document new memory dump format Date: Thu, 20 May 2021 15:49:55 +0200 Message-Id: <3432377e32911e1b3bc596d9140e0b596da7fb62.1621518573.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- NEWS.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 85baad8852..8358cbd369 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -22,6 +22,11 @@ v7.4.0 (unreleased) =20 * **Improvements** =20 + * Add win-dmp crashdump format + + New ``win-dmp`` format for ``virDomainCoreDumpWithFormat`` API and/or = virsh + ``dump --format`` was introduced. + * **Bug fixes** =20 =20 --=20 2.26.3