qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/6] Hyper-V Dynamic Memory Protocol driver (hv-balloon 🎈️)
@ 2023-07-20 10:12 Maciej S. Szmigiero
  2023-07-20 10:12 ` [PATCH v6 1/6] memory-device: Support empty memory devices Maciej S. Szmigiero
                   ` (7 more replies)
  0 siblings, 8 replies; 22+ messages in thread
From: Maciej S. Szmigiero @ 2023-07-20 10:12 UTC (permalink / raw)
  To: Paolo Bonzini, Richard Henderson, Eduardo Habkost,
	David Hildenbrand
  Cc: Michael S . Tsirkin, Marcel Apfelbaum, Alex Bennée,
	Thomas Huth, Marc-André Lureau, Daniel P. Berrangé,
	Philippe Mathieu-Daudé, Eric Blake, Markus Armbruster,
	qemu-devel

From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>

This is a continuation of the v5 of the patch series located here:
https://lore.kernel.org/qemu-devel/cover.1686577753.git.maciej.szmigiero@oracle.com/


Changes from v5:
* Incorporate David's rework of the driver on top of his virtio-mem-memslots
patches (specifically, commit 6769107d1a4f), making use of a memory region
container created upfront to avoid calling memory_device{,_pre}_plug()
functions from the driver and introducing a driver-specific MemoryDeviceInfo
sub-type.

* Include two additional David's memory-device patches necessary for the
aforementioned conversion in this patch set.

* Use multiple memslots to cover the hot-add memory backend in order to
reduce metadata size for the not-yet-hot-added part of the memory backend.

* Add David's "Co-developed-by:" to patches where he contributed some changes.

* Use OBJECT_DEFINE_TYPE_WITH_INTERFACES() and OBJECT_DECLARE_SIMPLE_TYPE()
macros instead of open-coding the equivalent functionality.

* Drop no longer necessary patch adding g_autoptr() cleanup function for the
Error type.


David Hildenbrand (2):
  memory-device: Support empty memory devices
  memory-device: Drop size alignment check

Maciej S. Szmigiero (4):
  Add Hyper-V Dynamic Memory Protocol definitions
  qapi: Add HvBalloonDeviceInfo sub-type to MemoryDeviceInfo
  qapi: Add HV_BALLOON_STATUS_REPORT event
  Add a Hyper-V Dynamic Memory Protocol driver (hv-balloon)

 Kconfig.host                     |    3 +
 hw/core/machine-hmp-cmds.c       |   15 +
 hw/hyperv/Kconfig                |    5 +
 hw/hyperv/hv-balloon.c           | 2246 ++++++++++++++++++++++++++++++
 hw/hyperv/meson.build            |    1 +
 hw/hyperv/trace-events           |   18 +
 hw/i386/pc.c                     |   22 +
 hw/mem/memory-device.c           |   45 +-
 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 +
 qapi/machine.json                |   64 +-
 scripts/meson-buildoptions.sh    |    3 +
 15 files changed, 2888 insertions(+), 12 deletions(-)
 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



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-07-25 18:14 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 10:12 [PATCH v6 0/6] Hyper-V Dynamic Memory Protocol driver (hv-balloon 🎈️) Maciej S. Szmigiero
2023-07-20 10:12 ` [PATCH v6 1/6] memory-device: Support empty memory devices Maciej S. Szmigiero
2023-07-20 10:12 ` [PATCH v6 2/6] memory-device: Drop size alignment check Maciej S. Szmigiero
2023-07-20 10:13 ` [PATCH v6 3/6] Add Hyper-V Dynamic Memory Protocol definitions Maciej S. Szmigiero
2023-07-20 10:13 ` [PATCH v6 4/6] qapi: Add HvBalloonDeviceInfo sub-type to MemoryDeviceInfo Maciej S. Szmigiero
2023-07-24 11:37   ` Markus Armbruster
2023-07-24 11:43     ` Maciej S. Szmigiero
2023-07-25  8:26       ` Markus Armbruster
2023-07-25  8:25   ` Markus Armbruster
2023-07-25 18:13     ` Maciej S. Szmigiero
2023-07-20 10:13 ` [PATCH v6 5/6] qapi: Add HV_BALLOON_STATUS_REPORT event Maciej S. Szmigiero
2023-07-25  8:04   ` Markus Armbruster
2023-07-25 18:13     ` Maciej S. Szmigiero
2023-07-20 10:13 ` [PATCH v6 6/6] Add a Hyper-V Dynamic Memory Protocol driver (hv-balloon) Maciej S. Szmigiero
2023-07-24 10:56 ` [PATCH v6 0/6] Hyper-V Dynamic Memory Protocol driver (hv-balloon 🎈️) Markus Armbruster
2023-07-24 11:04   ` Maciej S. Szmigiero
2023-07-24 11:39     ` Markus Armbruster
2023-07-24 11:44       ` Maciej S. Szmigiero
2023-07-24 14:42 ` David Hildenbrand
2023-07-25  8:25   ` Markus Armbruster
2023-07-25 18:09   ` Maciej S. Szmigiero
2023-07-25 18:12     ` David Hildenbrand

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).