Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: b35505523a000ea2080ba57bab7d8b3a02f8e854
      
https://github.com/qemu/qemu/commit/b35505523a000ea2080ba57bab7d8b3a02f8e854
  Author: Martin Joerg <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M hmp-commands-info.hx

  Log Message:
  -----------
  hmp-commands-info.hx: Add missing info command for stats subcommand

Signed-off-by: Martin Joerg <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 2b5d12b68514e3d81086a65fc8496822d5bd4359
      
https://github.com/qemu/qemu/commit/2b5d12b68514e3d81086a65fc8496822d5bd4359
  Author: Matheus Tavares Bernardino <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M accel/tcg/tcg-accel-ops-rr.c
    M hw/core/cpu-common.c

  Log Message:
  -----------
  cpu: fix memleak of 'halt_cond' and 'thread'

Since a4c2735f35 (cpu: move Qemu[Thread|Cond] setup into common code,
2024-05-30) these fields are now allocated at cpu_common_initfn(). So
let's make sure we also free them at cpu_common_finalize().

Furthermore, the code also frees these on round robin, but we missed
'halt_cond'.

Signed-off-by: Matheus Tavares Bernardino <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 3fd73736c69b71035cf1154ef58e8fa494f8612c
      
https://github.com/qemu/qemu/commit/3fd73736c69b71035cf1154ef58e8fa494f8612c
  Author: Zide Chen <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M system/vl.c

  Log Message:
  -----------
  vl: Allow multiple -overcommit commands

Both cpu-pm and mem-lock are related to system resource overcommit, but
they are separate from each other, in terms of how they are realized,
and of course, they are applied to different system resources.

It's tempting to use separate command lines to specify their behavior.
e.g., in the following example, the cpu-pm command is quietly
overwritten, and it's not easy to notice it without careful inspection.

  --overcommit mem-lock=on
  --overcommit cpu-pm=on

Fixes: c8c9dc42b7ca ("Remove the deprecated -realtime option")
Suggested-by: Thomas Huth <[email protected]>
Signed-off-by: Zide Chen <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 05fc711c3aa08ad800bf76eb0b7aeeb7a5cd0ecf
      
https://github.com/qemu/qemu/commit/05fc711c3aa08ad800bf76eb0b7aeeb7a5cd0ecf
  Author: Zide Chen <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M target/i386/host-cpu.c
    M target/i386/kvm/kvm-cpu.c

  Log Message:
  -----------
  target/i386: Advertise MWAIT iff host supports

host_cpu_realizefn() sets CPUID_EXT_MONITOR without consulting host/KVM
capabilities. This may cause problems:

- If MWAIT/MONITOR is not available on the host, advertising this
  feature to the guest and executing MWAIT/MONITOR from the guest
  triggers #UD and the guest doesn't boot.  This is because typically
  #UD takes priority over VM-Exit interception checks and KVM doesn't
  emulate MONITOR/MWAIT on #UD.

- If KVM doesn't support KVM_X86_DISABLE_EXITS_MWAIT, MWAIT/MONITOR
  from the guest are intercepted by KVM, which is not what cpu-pm=on
  intends to do.

In these cases, MWAIT/MONITOR should not be exposed to the guest.

The logic in kvm_arch_get_supported_cpuid() to handle CPUID_EXT_MONITOR
is correct and sufficient, and we can't set CPUID_EXT_MONITOR after
x86_cpu_filter_features().

This was not an issue before commit 662175b91ff ("i386: reorder call to
cpu_exec_realizefn") because the feature added in the accel-specific
realizefn could be checked against host availability and filtered out.

Additionally, it seems not a good idea to handle guest CPUID leaves in
host_cpu_realizefn(), and this patch merges host_cpu_enable_cpu_pm()
into kvm_cpu_realizefn().

Fixes: f5cc5a5c1686 ("i386: split cpu accelerators from cpu.c, using 
AccelCPUClass")
Fixes: 662175b91ff2 ("i386: reorder call to cpu_exec_realizefn")
Signed-off-by: Zide Chen <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Reviewed-by: Xiaoyao Li <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 4475a9b0585977dcd46e17da1005e1f4569dbf9c
      
https://github.com/qemu/qemu/commit/4475a9b0585977dcd46e17da1005e1f4569dbf9c
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M include/hw/loader.h
    M include/monitor/hmp.h

  Log Message:
  -----------
  monitor: Remove obsolete stubs

hmp_info_roms() was removed in commit dd98234c05 ("qapi:
introduce x-query-roms QMP command"),

hmp_info_numa() in commit 1b8ae799d8 ("qapi: introduce
x-query-numa QMP command"),

hmp_info_ramblock() in commit ca411b7c8a ("qapi: introduce
x-query-ramblock QMP command")

and hmp_info_irq() in commit 91f2fa7045 ("qapi: introduce
x-query-irq QMP command").

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 2cf382d479a14d5f2e923e8e3db2878865040523
      
https://github.com/qemu/qemu/commit/2cf382d479a14d5f2e923e8e3db2878865040523
  Author: Dr. David Alan Gilbert <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M linux-user/cris/signal.c

  Log Message:
  -----------
  linux-user: cris: Remove unused struct 'rt_signal_frame'

Since 'setup_rt_frame' has never been implemented, this struct
is unused.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 23e6b6ef15a1cc169d3b3476af4755c8f711fe9c
      
https://github.com/qemu/qemu/commit/23e6b6ef15a1cc169d3b3476af4755c8f711fe9c
  Author: Dr. David Alan Gilbert <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M linux-user/sparc/signal.c

  Log Message:
  -----------
  linux-user: sparc: Remove unused struct 'target_mc_fq'

This struct is unused since Peter's
Commit b8ae597f0e6d ("linux-user/sparc: Fix errors in target_ucontext
structures")

However, hmm, I'm a bit confused since that commit modifies the
structure and then removes it, was that intentional?

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 83c9f9d39f373ba2863614c3077244ee6c07a50c
      
https://github.com/qemu/qemu/commit/83c9f9d39f373ba2863614c3077244ee6c07a50c
  Author: Dr. David Alan Gilbert <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M hw/arm/bcm2836.c

  Log Message:
  -----------
  hw/arm/bcm2836: Remove unusued struct 'BCM283XClass'

This struct has been unused since
Commit f932093ae165 ("hw/arm/bcm2836: Split out common part of BCM283X
classes")

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 737308fe2be4cf653c3fe9e1358b6a08f673a5d1
      
https://github.com/qemu/qemu/commit/737308fe2be4cf653c3fe9e1358b6a08f673a5d1
  Author: Dr. David Alan Gilbert <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M net/can/can_host.c

  Log Message:
  -----------
  net/can: Remove unused struct 'CanBusState'

As far as I can tell this struct has never been used in this
file (it is used in can_core.c).

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: de448e0f26e710e9d2b7fc91393c40ac24b75847
      
https://github.com/qemu/qemu/commit/de448e0f26e710e9d2b7fc91393c40ac24b75847
  Author: Trent Huber <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M os-posix.c

  Log Message:
  -----------
  os-posix: Expand setrlimit() syscall compatibility

Darwin uses a subtly different version of the setrlimit() syscall as
described in the COMPATIBILITY section of the macOS man page. The value
of the rlim_cur member has been adjusted accordingly for Darwin-based
systems.

Signed-off-by: Trent Huber <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: ad8a0f48e119a53ce2d6231cfb24b29296e14251
      
https://github.com/qemu/qemu/commit/ad8a0f48e119a53ce2d6231cfb24b29296e14251
  Author: Hyeongtak Ji <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M docs/system/devices/cxl.rst

  Log Message:
  -----------
  docs/cxl: fix some typos

This patch corrects minor typographical errors to ensure the ASCII art
aligns with the explanations provided.  Specifically, it fixes an
incorrect root port reference and removes redundant words.

Signed-off-by: Hyeongtak Ji <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 875b2fabc063219303f6a8b5b1faba39dc0da906
      
https://github.com/qemu/qemu/commit/875b2fabc063219303f6a8b5b1faba39dc0da906
  Author: Thomas Huth <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M docs/system/devices/usb.rst

  Log Message:
  -----------
  docs/system/devices/usb: Replace the non-existing "qemu" binary

We don't ship a binary that is simply called "qemu", so we should
avoid this in the documentation. Use the configurable binary name
via "|qemu_system|" instead.

Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: e9945a87816905c49172fae1905da3f25788750a
      
https://github.com/qemu/qemu/commit/e9945a87816905c49172fae1905da3f25788750a
  Author: Vladimir Sementsov-Ogievskiy <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M system/vl.c

  Log Message:
  -----------
  vl.c: select_machine(): use ERRP_GUARD instead of error propagation

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 0e460ac329980d90bafd400cc1756df8fb72e41a
      
https://github.com/qemu/qemu/commit/0e460ac329980d90bafd400cc1756df8fb72e41a
  Author: Vladimir Sementsov-Ogievskiy <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M system/vl.c

  Log Message:
  -----------
  vl.c: select_machine(): use g_autoptr

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: 412d294ffdc63b56c0e512351ecc01d3a9b90d68
      
https://github.com/qemu/qemu/commit/412d294ffdc63b56c0e512351ecc01d3a9b90d68
  Author: Vladimir Sementsov-Ogievskiy <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M system/vl.c

  Log Message:
  -----------
  vl.c: select_machine(): add selected machine type to error message

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: f22855dffdbc2906f744b5bcfea869cbb66b8fb2
      
https://github.com/qemu/qemu/commit/f22855dffdbc2906f744b5bcfea869cbb66b8fb2
  Author: Vladimir Sementsov-Ogievskiy <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M hw/core/loader.c

  Log Message:
  -----------
  hw/core/loader: gunzip(): fix memory leak on error path

We should call inflateEnd() like on success path to cleanup state in s
variable.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>


  Commit: b6d32a06fc0984e537091cba08f2e1ed9f775d74
      
https://github.com/qemu/qemu/commit/b6d32a06fc0984e537091cba08f2e1ed9f775d74
  Author: Richard Henderson <[email protected]>
  Date:   2024-06-30 (Sun, 30 Jun 2024)

  Changed paths:
    M accel/tcg/tcg-accel-ops-rr.c
    M docs/system/devices/cxl.rst
    M docs/system/devices/usb.rst
    M hmp-commands-info.hx
    M hw/arm/bcm2836.c
    M hw/core/cpu-common.c
    M hw/core/loader.c
    M include/hw/loader.h
    M include/monitor/hmp.h
    M linux-user/cris/signal.c
    M linux-user/sparc/signal.c
    M net/can/can_host.c
    M os-posix.c
    M system/vl.c
    M target/i386/host-cpu.c
    M target/i386/kvm/kvm-cpu.c

  Log Message:
  -----------
  Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging

trivial patches for 2024-06-30

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmaBjTkACgkQcBtPaxpp
# PlmhAAf+PZEsiBvffwwNH5n1q39Hilih35p/GCVpNYKcLsFB6bLmt9A/x062NqTS
# ob1Uj134ofHlSQtNjP1KxXdriwc40ZMahkTO+x6gYc+IpoRJGTGYEA0MWh4gPPYK
# S6l/nOI9JK1x+ot+bQzGOzOjz3/S7RJteXzwOPlWQ7GChz8NIUPWV3DkcVP0AeT0
# 7Lq7GtDBSV5Jbne2IrvOGadjPOpJiiLEmLawmw1c9qapIKAu2wxNBMlO98ufsg6L
# hDFEg6K0CKvM9fcdK8UXhnMa+58QwHhoJT+Q00aQcU1xzu+ifi/CrmgbRCK5ruTA
# o0I8q6ONbK33cTzyZ/ZmKtoA8b/Rzw==
# =N3GX
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 30 Jun 2024 09:52:09 AM PDT
# gpg:                using RSA key 7B73BAD68BE7A2C289314B22701B4F6B1A693E59
# gpg: Good signature from "Michael Tokarev <[email protected]>" [full]
# gpg:                 aka "Michael Tokarev <[email protected]>" [full]
# gpg:                 aka "Michael Tokarev <[email protected]>" [full]

* tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu:
  hw/core/loader: gunzip(): fix memory leak on error path
  vl.c: select_machine(): add selected machine type to error message
  vl.c: select_machine(): use g_autoptr
  vl.c: select_machine(): use ERRP_GUARD instead of error propagation
  docs/system/devices/usb: Replace the non-existing "qemu" binary
  docs/cxl: fix some typos
  os-posix: Expand setrlimit() syscall compatibility
  net/can: Remove unused struct 'CanBusState'
  hw/arm/bcm2836: Remove unusued struct 'BCM283XClass'
  linux-user: sparc: Remove unused struct 'target_mc_fq'
  linux-user: cris: Remove unused struct 'rt_signal_frame'
  monitor: Remove obsolete stubs
  target/i386: Advertise MWAIT iff host supports
  vl: Allow multiple -overcommit commands
  cpu: fix memleak of 'halt_cond' and 'thread'
  hmp-commands-info.hx: Add missing info command for stats subcommand

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/5dbb1f09b9b8...b6d32a06fc09

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to