public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH qemu 3/4] savevm async: cleaner initialization of target_close_wait member
Date: Thu, 13 Oct 2022 14:44:22 +0200	[thread overview]
Message-ID: <20221013124423.227141-3-f.ebner@proxmox.com> (raw)
In-Reply-To: <20221013124423.227141-1-f.ebner@proxmox.com>

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 ...-PVE-add-savevm-async-for-background-state-snapshots.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/pve/0017-PVE-add-savevm-async-for-background-state-snapshots.patch b/debian/patches/pve/0017-PVE-add-savevm-async-for-background-state-snapshots.patch
index 7058cb2..833298d 100644
--- a/debian/patches/pve/0017-PVE-add-savevm-async-for-background-state-snapshots.patch
+++ b/debian/patches/pve/0017-PVE-add-savevm-async-for-background-state-snapshots.patch
@@ -154,7 +154,7 @@ index 8cac83c06c..0842d00cd2 100644
  ), gnutls)
 diff --git a/migration/savevm-async.c b/migration/savevm-async.c
 new file mode 100644
-index 0000000000..b3692739a0
+index 0000000000..05d394c0e2
 --- /dev/null
 +++ b/migration/savevm-async.c
 @@ -0,0 +1,531 @@
@@ -498,7 +498,7 @@ index 0000000000..b3692739a0
 +    snap_state.bs_pos = 0;
 +    snap_state.total_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME);
 +    snap_state.blocker = NULL;
-+    snap_state.target_close_wait.to_wake = NULL;
++    snap_state.target_close_wait = (QemuCoSleep){ .to_wake = NULL };
 +
 +    if (snap_state.error) {
 +        error_free(snap_state.error);
-- 
2.30.2





  parent reply	other threads:[~2022-10-13 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13 12:44 [pve-devel] [PATCH qemu 1/4] update submodule and patches to 7.1.0 Fiona Ebner
2022-10-13 12:44 ` [pve-devel] [PATCH qemu 2/4] cherry-pick upstream fixes for 7.1.0 Fiona Ebner
2022-10-13 12:44 ` Fiona Ebner [this message]
2022-10-13 12:44 ` [pve-devel] [PATCH qemu 4/4] {alloc track, pbs} block driver: bdrv_co_preadv: adapt return values Fiona Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221013124423.227141-3-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal