From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [RFC proxmox-backup-qemu 5/9] update current-api.h
Date: Wed, 2 Sep 2026 15:54:36 +0200 [thread overview]
Message-ID: <20260902135536.525194-6-f.ebner@proxmox.com> (raw)
In-Reply-To: <20260902135536.525194-1-f.ebner@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
current-api.h | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/current-api.h b/current-api.h
index 60d7558..c7ebc49 100644
--- a/current-api.h
+++ b/current-api.h
@@ -155,7 +155,8 @@ void proxmox_backup_abort(struct ProxmoxBackupHandle *handle, const char *reason
*/
int proxmox_backup_check_incremental(struct ProxmoxBackupHandle *handle,
const char *device_name,
- uint64_t size);
+ uint64_t size,
+ const char *target_id);
/**
* Register a backup image (sync)
@@ -163,6 +164,7 @@ int proxmox_backup_check_incremental(struct ProxmoxBackupHandle *handle,
int proxmox_backup_register_image(struct ProxmoxBackupHandle *handle,
const char *device_name,
uint64_t size,
+ const char *target_id,
bool incremental,
char **error);
@@ -176,6 +178,7 @@ int proxmox_backup_register_image(struct ProxmoxBackupHandle *handle,
void proxmox_backup_register_image_async(struct ProxmoxBackupHandle *handle,
const char *device_name,
uint64_t size,
+ const char *target_id,
bool incremental,
void (*callback)(void*),
void *callback_data,
@@ -431,13 +434,13 @@ void proxmox_restore_read_image_at_async(struct ProxmoxRestoreHandle *handle,
* Length of the returned buffer is written to buf_size. Returned buffer must
* be freed with proxmox_free_state_buf.
*/
-uint8_t *proxmox_export_state(uintptr_t *buf_size);
+uint8_t *proxmox_export_state(uintptr_t *buf_size, bool per_target_bitmaps);
/**
* Load state serialized by proxmox_export_state. If loading fails, a message
* will be logged to stderr, but the function will not fail.
*/
-void proxmox_import_state(const uint8_t *buf, uintptr_t buf_size);
+void proxmox_import_state(const uint8_t *buf, uintptr_t buf_size, bool per_target_bitmaps);
/**
* Free a buffer acquired from proxmox_export_state.
--
2.47.3
next prev parent reply other threads:[~2026-09-02 13:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 13:54 [RFC qemu/qemu-server/proxmox-backup-qemu 0/9] close #6169: backup: pbs: per-target dirty bitmaps Fiona Ebner
2026-09-02 13:54 ` [PATCH proxmox-backup-qemu 1/9] clippy: restore: fix needless borrows Fiona Ebner
2026-09-02 13:54 ` [PATCH proxmox-backup-qemu 2/9] clippy: commands: avoid manual implementation of ok() Fiona Ebner
2026-09-02 13:54 ` [RFC proxmox-backup-qemu 3/9] cargo: add dependency for serde Fiona Ebner
2026-09-02 13:54 ` [RFC proxmox-backup-qemu 4/9] close #6169: track checksums for incremental backups per target Fiona Ebner
2026-09-02 13:54 ` Fiona Ebner [this message]
2026-09-02 13:54 ` [RFC proxmox-backup-qemu 6/9] d/control: bump versioned breaks for pve-qemu-kvm Fiona Ebner
2026-09-02 13:54 ` [RFC qemu 7/9] PVE backup: properly track if snapshot access was set up Fiona Ebner
2026-09-02 13:54 ` [RFC qemu 8/9] PVE backup: track per-target dirty bitmaps Fiona Ebner
2026-09-02 13:54 ` [RFC qemu-server 9/9] close #6169: backup: pbs: specify target ID so QEMU keeps track of per-target dirty bitmap Fiona Ebner
2026-09-02 14:34 ` [RFC qemu/qemu-server/proxmox-backup-qemu 0/9] close #6169: backup: pbs: per-target dirty bitmaps Dominik Csapak
2026-09-03 11:09 ` 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=20260902135536.525194-6-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