From: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>
To: Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <richard.henderson@linaro.org>,
Eduardo Habkost <eduardo@habkost.net>,
David Hildenbrand <david@redhat.com>
Cc: "Michael S . Tsirkin" <mst@redhat.com>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Eric Blake" <eblake@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
qemu-devel@nongnu.org
Subject: [PATCH v8 0/9] Hyper-V Dynamic Memory Protocol driver (hv-balloon 🎈️)
Date: Mon, 23 Oct 2023 19:24:26 +0200 [thread overview]
Message-ID: <cover.1698064312.git.maciej.szmigiero@oracle.com> (raw)
From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
This is a continuation of the v7 of the patch series located here:
https://lore.kernel.org/qemu-devel/cover.1693240836.git.maciej.szmigiero@oracle.com/
Changes from v7:
* Rebase onto the current QEMU git master now that the David's memslots
patch series was merged there.
* Split out the hot-add part of the driver to a separate patch.
* Make "query-hv-balloon-status-report" only return a GenericError.
* Remove "@data" parameter description from "HV_BALLOON_STATUS_REPORT"
qapi since the build system complains about it.
* Reformat qapi descriptions according to received review comments.
* Collect David's and Markus' "Reviewed-by" and "Acked-by" tags.
* Fix a memslot name formatting issue.
* Add myself to MAINTAINERS.
David Hildenbrand (2):
memory-device: Support empty memory devices
memory-device: Drop size alignment check
Maciej S. Szmigiero (7):
Add Hyper-V Dynamic Memory Protocol definitions
Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) base
Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) hot-add
support
qapi: Add query-memory-devices support to hv-balloon
qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command
hw/i386/pc: Support hv-balloon
MAINTAINERS: Add an entry for Hyper-V Dynamic Memory Protocol
Kconfig.host | 3 +
MAINTAINERS | 8 +
hw/core/machine-hmp-cmds.c | 15 +
hw/hyperv/Kconfig | 10 +
hw/hyperv/hv-balloon-internal.h | 33 +
hw/hyperv/hv-balloon-our_range_memslots.c | 201 +++
hw/hyperv/hv-balloon-our_range_memslots.h | 110 ++
hw/hyperv/hv-balloon-page_range_tree.c | 228 +++
hw/hyperv/hv-balloon-page_range_tree.h | 118 ++
hw/hyperv/hv-balloon.c | 1766 +++++++++++++++++++++
hw/hyperv/meson.build | 1 +
hw/hyperv/trace-events | 18 +
hw/i386/Kconfig | 1 +
hw/i386/pc.c | 22 +
hw/mem/memory-device.c | 49 +-
include/hw/hyperv/dynmem-proto.h | 423 +++++
include/hw/hyperv/hv-balloon.h | 18 +
include/hw/mem/memory-device.h | 7 +-
meson.build | 28 +-
meson_options.txt | 2 +
monitor/monitor.c | 1 +
qapi/machine.json | 101 +-
scripts/meson-buildoptions.sh | 3 +
23 files changed, 3153 insertions(+), 13 deletions(-)
create mode 100644 hw/hyperv/hv-balloon-internal.h
create mode 100644 hw/hyperv/hv-balloon-our_range_memslots.c
create mode 100644 hw/hyperv/hv-balloon-our_range_memslots.h
create mode 100644 hw/hyperv/hv-balloon-page_range_tree.c
create mode 100644 hw/hyperv/hv-balloon-page_range_tree.h
create mode 100644 hw/hyperv/hv-balloon.c
create mode 100644 include/hw/hyperv/dynmem-proto.h
create mode 100644 include/hw/hyperv/hv-balloon.h
next reply other threads:[~2023-10-23 17:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-23 17:24 Maciej S. Szmigiero [this message]
2023-10-23 17:24 ` [PATCH v8 1/9] memory-device: Support empty memory devices Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 2/9] memory-device: Drop size alignment check Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 3/9] Add Hyper-V Dynamic Memory Protocol definitions Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 4/9] Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) base Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 5/9] Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) hot-add support Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 6/9] qapi: Add query-memory-devices support to hv-balloon Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 7/9] qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 8/9] hw/i386/pc: Support hv-balloon Maciej S. Szmigiero
2023-10-23 17:24 ` [PATCH v8 9/9] MAINTAINERS: Add an entry for Hyper-V Dynamic Memory Protocol Maciej S. Szmigiero
2023-11-02 13:50 ` [PATCH v8 0/9] Hyper-V Dynamic Memory Protocol driver (hv-balloon 🎈) David Hildenbrand
2023-11-02 15:55 ` Maciej S. Szmigiero
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=cover.1698064312.git.maciej.szmigiero@oracle.com \
--to=mail@maciej.szmigiero.name \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=david@redhat.com \
--cc=eblake@redhat.com \
--cc=eduardo@habkost.net \
--cc=marcandre.lureau@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.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;
as well as URLs for NNTP newsgroup(s).