mbox

[PULL,0/3] Hyper-V Dynamic Memory and VMBus misc small patches

Message ID cover.1709916836.git.maciej.szmigiero@oracle.com (mailing list archive)
State New, archived
Headers show

Pull-request

https://github.com/maciejsszmigiero/qemu.git tags/pull-hv-balloon-20240308

Message

Maciej S. Szmigiero March 8, 2024, 5:02 p.m. UTC
From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>

The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87:

  Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000)

are available in the Git repository at:

  https://github.com/maciejsszmigiero/qemu.git tags/pull-hv-balloon-20240308

for you to fetch changes up to 6093637b4d32875f98cd59696ffc5f26884aa0b4:

  vmbus: Print a warning when enabled without the recommended set of features (2024-03-08 14:18:56 +0100)

----------------------------------------------------------------
Hyper-V Dynamic Memory and VMBus misc small patches

This pull request contains two small patches to hv-balloon:
the first one replacing alloca() usage with g_malloc0() + g_autofree
and the second one adding additional declaration of a protocol message
struct with an optional field explicitly defined to avoid a Coverity
warning.

Also included is a VMBus patch to print a warning when it is enabled
without the recommended set of Hyper-V features (enlightenments) since
some Windows versions crash at boot in this case.

----------------------------------------------------------------
Maciej S. Szmigiero (3):
      hv-balloon: avoid alloca() usage
      hv-balloon: define dm_hot_add_with_region to avoid Coverity warning
      vmbus: Print a warning when enabled without the recommended set of features

 hw/hyperv/hv-balloon.c           | 18 ++++++++----------
 hw/hyperv/hyperv.c               | 12 ++++++++++++
 hw/hyperv/vmbus.c                |  6 ++++++
 include/hw/hyperv/dynmem-proto.h |  9 ++++++++-
 include/hw/hyperv/hyperv.h       |  4 ++++
 target/i386/kvm/hyperv-stub.c    |  4 ++++
 target/i386/kvm/hyperv.c         |  5 +++++
 target/i386/kvm/hyperv.h         |  2 ++
 target/i386/kvm/kvm.c            |  7 +++++++
 9 files changed, 56 insertions(+), 11 deletions(-)

Comments

Peter Maydell March 9, 2024, 8:11 p.m. UTC | #1
On Fri, 8 Mar 2024 at 17:03, Maciej S. Szmigiero
<mail@maciej.szmigiero.name> wrote:
>
> From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
>
> The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87:
>
>   Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/maciejsszmigiero/qemu.git tags/pull-hv-balloon-20240308
>
> for you to fetch changes up to 6093637b4d32875f98cd59696ffc5f26884aa0b4:
>
>   vmbus: Print a warning when enabled without the recommended set of features (2024-03-08 14:18:56 +0100)
>
> ----------------------------------------------------------------
> Hyper-V Dynamic Memory and VMBus misc small patches
>
> This pull request contains two small patches to hv-balloon:
> the first one replacing alloca() usage with g_malloc0() + g_autofree
> and the second one adding additional declaration of a protocol message
> struct with an optional field explicitly defined to avoid a Coverity
> warning.
>
> Also included is a VMBus patch to print a warning when it is enabled
> without the recommended set of Hyper-V features (enlightenments) since
> some Windows versions crash at boot in this case.
>
> ----------------------------------------------------------------
> Maciej S. Szmigiero (3):
>       hv-balloon: avoid alloca() usage
>       hv-balloon: define dm_hot_add_with_region to avoid Coverity warning
>       vmbus: Print a warning when enabled without the recommended set of features
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/9.0
for any user-visible changes.

-- PMM