From: Peter Xu <peterx@redhat.com>
To: Steve Sistare <steven.sistare@oracle.com>
Cc: qemu-devel@nongnu.org, Fabiano Rosas <farosas@suse.de>,
David Hildenbrand <david@redhat.com>,
Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
Eduardo Habkost <eduardo@habkost.net>,
Philippe Mathieu-Daude <philmd@linaro.org>,
Paolo Bonzini <pbonzini@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH V6 03/24] physmem: qemu_ram_alloc_from_fd extensions
Date: Tue, 14 Jan 2025 12:30:18 -0500 [thread overview]
Message-ID: <Z4afKuHgwtLamFez@x1n> (raw)
In-Reply-To: <1736875434-106563-4-git-send-email-steven.sistare@oracle.com>
On Tue, Jan 14, 2025 at 09:23:33AM -0800, Steve Sistare wrote:
> Extend qemu_ram_alloc_from_fd to support resizable ram, and define
> qemu_ram_resize_cb to clean up the API.
>
> Add a grow parameter to extend the file if necessary. However, if
> grow is false, a zero-sized file is always extended.
>
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
next prev parent reply other threads:[~2025-01-14 17:30 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 17:23 [PATCH V6 00/24] Live update: cpr-transfer Steve Sistare
2025-01-14 17:23 ` [PATCH V6 01/24] backends/hostmem-shm: factor out allocation of "anonymous shared memory with an fd" Steve Sistare
2025-01-14 17:23 ` [PATCH V6 02/24] physmem: fix qemu_ram_alloc_from_fd size calculation Steve Sistare
2025-01-14 17:23 ` [PATCH V6 03/24] physmem: qemu_ram_alloc_from_fd extensions Steve Sistare
2025-01-14 17:30 ` Peter Xu [this message]
2025-01-14 17:23 ` [PATCH V6 04/24] physmem: fd-based shared memory Steve Sistare
2025-01-14 17:23 ` [PATCH V6 05/24] memory: add RAM_PRIVATE Steve Sistare
2025-01-14 17:23 ` [PATCH V6 06/24] machine: aux-ram-share option Steve Sistare
2025-01-14 17:23 ` [PATCH V6 07/24] migration: cpr-state Steve Sistare
2025-01-14 17:23 ` [PATCH V6 08/24] physmem: preserve ram blocks for cpr Steve Sistare
2025-01-14 17:23 ` [PATCH V6 09/24] hostmem-memfd: preserve " Steve Sistare
2025-01-14 17:23 ` [PATCH V6 10/24] hostmem-shm: " Steve Sistare
2025-01-14 17:23 ` [PATCH V6 11/24] migration: enhance migrate_uri_parse Steve Sistare
2025-01-14 17:23 ` [PATCH V6 12/24] migration: incoming channel Steve Sistare
2025-01-14 17:23 ` [PATCH V6 13/24] migration: SCM_RIGHTS for QEMUFile Steve Sistare
2025-01-14 17:23 ` [PATCH V6 14/24] migration: VMSTATE_FD Steve Sistare
2025-01-14 17:23 ` [PATCH V6 15/24] migration: cpr-transfer save and load Steve Sistare
2025-01-14 17:23 ` [PATCH V6 16/24] migration: cpr-transfer mode Steve Sistare
2025-01-14 17:23 ` [PATCH V6 17/24] migration-test: memory_backend Steve Sistare
2025-01-14 17:23 ` [PATCH V6 18/24] tests/qtest: optimize migrate_set_ports Steve Sistare
2025-01-14 17:23 ` [PATCH V6 19/24] tests/qtest: defer connection Steve Sistare
2025-01-14 17:23 ` [PATCH V6 20/24] migration-test: " Steve Sistare
2025-01-14 17:23 ` [PATCH V6 21/24] tests/qtest: enhance migration channels Steve Sistare
2025-01-14 17:23 ` [PATCH V6 22/24] tests/qtest: assert qmp connected Steve Sistare
2025-01-14 17:30 ` Peter Xu
2025-01-14 17:23 ` [PATCH V6 23/24] migration-test: cpr-transfer Steve Sistare
2025-01-14 17:23 ` [PATCH V6 24/24] migration: cpr-transfer documentation Steve Sistare
2025-01-14 17:38 ` [PATCH V6 00/24] Live update: cpr-transfer Steven Sistare
2025-01-14 17:39 ` Steven Sistare
2025-01-14 20:29 ` Fabiano Rosas
2025-01-14 21:14 ` Steven Sistare
2025-01-14 21:37 ` Steven Sistare
2025-01-15 14:05 ` Steven Sistare
2025-01-15 14:52 ` Fabiano Rosas
2025-01-15 17:54 ` Steven Sistare
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=Z4afKuHgwtLamFez@x1n \
--to=peterx@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=david@redhat.com \
--cc=eduardo@habkost.net \
--cc=farosas@suse.de \
--cc=marcel.apfelbaum@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=steven.sistare@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.