qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 5012e5: Update version for v9.0.0-rc1 release


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 5012e5: Update version for v9.0.0-rc1 release
Date: Sat, 30 Mar 2024 07:55:31 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 5012e522aca161be5c141596c66e5cc6082538a9
      
https://github.com/qemu/qemu/commit/5012e522aca161be5c141596c66e5cc6082538a9
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M VERSION

  Log Message:
  -----------
  Update version for v9.0.0-rc1 release

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: b9f38374ac466b6582f4e6e42dbff7372da079b2
      
https://github.com/qemu/qemu/commit/b9f38374ac466b6582f4e6e42dbff7372da079b2
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: Fix semctl() strace

The indices of arguments used with semctl() are all off-by-1, because
arg1 is the ipc() command. Fix them. While at it, reuse print_semctl().

New output (for a small test program):

    3540333 semctl(999,888,SEM_INFO,0x00007fe5051ee9a0) = -1 errno=14 (Bad 
address)

Fixes: 7ccfb2eb5f9d ("Fix warnings that would be caused by gcc flag 
-Wwrite-strings")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-2-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e6763d7dfc69ae41bb97541de15fa9108d8d6ce2
      
https://github.com/qemu/qemu/commit/e6763d7dfc69ae41bb97541de15fa9108d8d6ce2
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: Fix shmat() strace

The indices of arguments passed to print_shmat() are all off-by-1,
because arg1 is the ipc() command. Fix them.

New output for linux-shmat-maps test:

    3501769 shmat(4784214,0x0000000000800000,SHM_RND) = 0

Fixes: 9f7c97324c27 ("linux-user: Add strace for shmat")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-3-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: fa527b44c2d65d48cc3c5ac018dc935cc286f5a9
      
https://github.com/qemu/qemu/commit/fa527b44c2d65d48cc3c5ac018dc935cc286f5a9
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Fix shmat(NULL) for h != g

In the h != g && shmaddr == NULL && !reserved_va case, target_shmat()
incorrectly mmap()s the initial anonymous range with
MAP_FIXED_NOREPLACE, even though the earlier mmap_find_vma() has
already reserved the respective address range.

Fix by using MAP_FIXED when "mapped", which is set after
mmap_find_vma(), is true.

Fixes: 78bc8ed9a8f0 ("linux-user: Rewrite target_shmat")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-4-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 889cd5a8e2dd6cf8793faba22fda38b78553ae24
      
https://github.com/qemu/qemu/commit/889cd5a8e2dd6cf8793faba22fda38b78553ae24
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    A tests/tcg/multiarch/linux/linux-shmat-null.c

  Log Message:
  -----------
  tests/tcg: Test shmat(NULL)

Add a small test to prevent regressions.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240325192436.561154-5-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1c188fc8cbffc5f05cc616cab4e1372fb6e6f11f
      
https://github.com/qemu/qemu/commit/1c188fc8cbffc5f05cc616cab4e1372fb6e6f11f
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  virtio-net: Fix vhost virtqueue notifiers for RSS

virtio_net_guest_notifier_pending() and virtio_net_guest_notifier_mask()
checked VIRTIO_NET_F_MQ to know there are multiple queues, but
VIRTIO_NET_F_RSS also enables multiple queues. Refer to n->multiqueue,
which is set to true either of VIRTIO_NET_F_MQ or VIRTIO_NET_F_RSS is
enabled.

Fixes: 68b0a6395f36 ("virtio-net: align ctrl_vq index for non-mq guest for 
vhost_vdpa")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: ba6bb2ec953f10751f174b6f7da8fe7e5f008c08
      
https://github.com/qemu/qemu/commit/ba6bb2ec953f10751f174b6f7da8fe7e5f008c08
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M ebpf/ebpf_rss.c

  Log Message:
  -----------
  ebpf: Fix indirections table setting

The kernel documentation says:
> The value stored can be of any size, however, all array elements are
> aligned to 8 bytes.
https://www.kernel.org/doc/html/v6.8/bpf/map_array.html

Fixes: 333b3e5fab75 ("ebpf: Added eBPF map update through mmap.")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: 89a8de364b51db8107d2a210314431885ac52238
      
https://github.com/qemu/qemu/commit/89a8de364b51db8107d2a210314431885ac52238
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M hw/net/net_tx_pkt.c

  Log Message:
  -----------
  hw/net/net_tx_pkt: Fix virtio header without checksum offloading

It is incorrect to have the VIRTIO_NET_HDR_F_NEEDS_CSUM set when
checksum offloading is disabled so clear the bit.

TCP/UDP checksum is usually offloaded when the peer requires virtio
headers because they can instruct the peer to compute checksum. However,
igb disables TX checksum offloading when a VF is enabled whether the
peer requires virtio headers because a transmitted packet can be routed
to it and it expects the packet has a proper checksum. Therefore, it
is necessary to have a correct virtio header even when checksum
offloading is disabled.

A real TCP/UDP checksum will be computed and saved in the buffer when
checksum offloading is disabled. The virtio specification requires to
set the packet checksum stored in the buffer to the TCP/UDP pseudo
header when the VIRTIO_NET_HDR_F_NEEDS_CSUM bit is set so the bit must
be cleared in that case.

Fixes: ffbd2dbd8e64 ("e1000e: Perform software segmentation for loopback")
Buglink: https://issues.redhat.com/browse/RHEL-23067
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: decfde6b0e56d3872ec1a5acfafd30c0886fb847
      
https://github.com/qemu/qemu/commit/decfde6b0e56d3872ec1a5acfafd30c0886fb847
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M net/tap-win32.c

  Log Message:
  -----------
  tap-win32: Remove unnecessary stubs

Some of them are only necessary for POSIX systems. The others are
assigned to function pointers in NetClientInfo that can actually be
NULL.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: d9b33018a0da51eddceb48c42345cfb351065f3e
      
https://github.com/qemu/qemu/commit/d9b33018a0da51eddceb48c42345cfb351065f3e
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M include/net/vhost_net.h
    M net/tap.c

  Log Message:
  -----------
  Revert "tap: setting error appropriately when calling net_init_tap_one()"

This reverts commit 46d4d36d0bf2b24b205f2f604f0905db80264eef.

The reverted commit changed to emit warnings instead of errors when
vhost is requested but vhost initialization fails if vhostforce option
is not set.

However, vhostforce is not meant to ignore vhost errors. It was once
introduced as an option to commit 5430a28fe4 ("vhost: force vhost off
for non-MSI guests") to force enabling vhost for non-MSI guests, which
will have worse performance with vhost. The option was deprecated with
commit 1e7398a140 ("vhost: enable vhost without without MSI-X") and
changed to behave identical with the vhost option for compatibility.

Worse, commit bf769f742c ("virtio: del net client if net_init_tap_one
failed") changed to delete the client when vhost fails even when the
failure only results in a warning. The leads to an assertion failure
for the -netdev command line option.

The reverted commit was intended to avoid that the vhost initialization
failure won't result in a corrupted netdev. This problem should have
been fixed by deleting netdev when the initialization fails instead of
ignoring the failure with an arbitrary option. Fortunately, commit
bf769f742c ("virtio: del net client if net_init_tap_one failed"),
mentioned earlier, implements this behavior.

Restore the correct semantics and fix the assertion failure for the
-netdev command line option by reverting the problematic commit.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>


  Commit: 2911e9b95f3bb03783ae5ca3e2494dc3b44a9161
      
https://github.com/qemu/qemu/commit/2911e9b95f3bb03783ae5ca3e2494dc3b44a9161
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M tcg/optimize.c
    M tests/tcg/aarch64/Makefile.target
    A tests/tcg/aarch64/test-2248.c

  Log Message:
  -----------
  tcg/optimize: Fix sign_mask for logical right-shift

The 'sign' computation is attempting to locate the sign bit that has
been repeated, so that we can test if that bit is known zero.  That
computation can be zero if there are no known sign repetitions.

Cc: qemu-stable@nongnu.org
Fixes: 93a967fbb57 ("tcg/optimize: Propagate sign info for shifting")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2248
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 13af3af196c85a4bcd4399a0842f044c83bd6aa6
      
https://github.com/qemu/qemu/commit/13af3af196c85a4bcd4399a0842f044c83bd6aa6
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M disas/disas-mon.c
    M disas/disas.c

  Log Message:
  -----------
  disas: Show opcodes for target_disas and monitor_disas

Fixes: 83b4613ba83 ("disas: introduce show_opcodes")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: dafa0ecc97850c325fe85cd87dc0b536858d171a
      
https://github.com/qemu/qemu/commit/dafa0ecc97850c325fe85cd87dc0b536858d171a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M accel/tcg/translate-all.c

  Log Message:
  -----------
  accel/tcg: Use CPUState.get_pc in cpu_io_recompile

Using log_pc produces the pc at the beginning of TB,
not the actual pc installed by cpu_restore_state_from_tb,
which could be any of the guest instructions within TB.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 10e637f47f18f7b5f8424a7417b7d9f34672ad81
      
https://github.com/qemu/qemu/commit/10e637f47f18f7b5f8424a7417b7d9f34672ad81
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-03-30 (Sat, 30 Mar 2024)

  Changed paths:
    M ebpf/ebpf_rss.c
    M hw/net/net_tx_pkt.c
    M hw/net/virtio-net.c
    M include/net/vhost_net.h
    M net/tap-win32.c
    M net/tap.c

  Log Message:
  -----------
  Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmYGZ7EACgkQ7wSWWzmN
# YhHvxgf/SDEYYMlxU7PA1SfwlIYtUG8K1zQnwLXNY6ySCJuCn1IdVoITaUt3BtE5
# OtrhKI8cW5WwL4qzkElWlL431vyqomGdmJQedF8agwoR2aIo24i/Ue09MHxJxXUB
# ONEOv3bizDCYWUjz+PMHRdIbo0AiSNaUDnB8iY59yD6HZqSLVMDx8Ia2KVrzUKwc
# nMuqkDsVIc3gwqFNPbTl3yqVt6k1x+vBCGQUg9BiKE3pkUcONhsJpBYYj4hlY9mn
# /BPlQBcRUoLHQD7KGSUKVFSODHPYzDg7BsSz2+EpuZucRRI3VEyHlcB5A6LIVhrK
# fpqd+80Fb7VE9CAxA2gFj7gh5uPJ1A==
# =shO6
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 29 Mar 2024 07:03:13 GMT
# gpg:                using RSA key 215D46F48246689EC77F3562EF04965B398D6211
# gpg: Good signature from "Jason Wang (Jason Wang on RedHat) 
<jasowang@redhat.com>" [marginal]
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211

* tag 'net-pull-request' of https://github.com/jasowang/qemu:
  Revert "tap: setting error appropriately when calling net_init_tap_one()"
  tap-win32: Remove unnecessary stubs
  hw/net/net_tx_pkt: Fix virtio header without checksum offloading
  ebpf: Fix indirections table setting
  virtio-net: Fix vhost virtqueue notifiers for RSS

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: b9dbf6f9bf533564f6a4277d03906fcd32bb0245
      
https://github.com/qemu/qemu/commit/b9dbf6f9bf533564f6a4277d03906fcd32bb0245
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-03-30 (Sat, 30 Mar 2024)

  Changed paths:
    M accel/tcg/translate-all.c
    M disas/disas-mon.c
    M disas/disas.c
    M linux-user/mmap.c
    M linux-user/strace.c
    M tcg/optimize.c
    M tests/tcg/aarch64/Makefile.target
    A tests/tcg/aarch64/test-2248.c
    A tests/tcg/multiarch/linux/linux-shmat-null.c

  Log Message:
  -----------
  Merge tag 'pull-tcg-20240329' of https://gitlab.com/rth7680/qemu into staging

linux-user: Fix shmat(NULL) for host != guest page size
tcg/optimize: Fix sign_mask for logical right-shift
accel/tcg: Use CPUState.get_pc in cpu_io_recompile
disas: Show opcodes for target_disas and monitor_disas

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmYHPmwdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV86VAf6AlcoLrvyN4u4bV4V
# REIXe8y+IsqvNdNE6z1KRLdqbBzHHzlDD9TesX8QNmg1w8WxvBNg9Iv0cWeBgIyN
# C/dpXVpNWbsfqtMLKIrBUkKiIyrQtxJC73HyoF0eqGftX5WxqYF/NCfXRHQFUdDP
# wvGGq784IL4kLVMHX4fXB7Vmosei51cobnENo0b4A2fzDOGAFfQd38MSnPlL1+xb
# BB+vV1hRFsf0Uihmvgk5AIdWlHxfqMWHq5rGV7ND26OTjZkOaPk3AeaX/eBCZd+8
# /gBd8Ok56WrVckz1hBMndRXwRjOQaowrNi1+vN3v6fqgNU227MaZ+hvvMCo7GSM7
# NhyQ9g==
# =Y35A
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 29 Mar 2024 22:19:24 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-tcg-20240329' of https://gitlab.com/rth7680/qemu:
  accel/tcg: Use CPUState.get_pc in cpu_io_recompile
  disas: Show opcodes for target_disas and monitor_disas
  tcg/optimize: Fix sign_mask for logical right-shift
  tests/tcg: Test shmat(NULL)
  linux-user: Fix shmat(NULL) for h != g
  linux-user: Fix shmat() strace
  linux-user: Fix semctl() strace

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/38a23eb35c47...b9dbf6f9bf53

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]