Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: eeed22916b8292b12d21e46ba9d3a383d669d9ff https://github.com/qemu/qemu/commit/eeed22916b8292b12d21e46ba9d3a383d669d9ff Author: WANG Xuerui <xe...@gentoo.org> Date: 2022-10-21 (Fri, 21 Oct 2022)
Changed paths: M linux-user/syscall.c Log Message: ----------- linux-user: Fix more MIPS n32 syscall ABI issues In commit 80f0fe3a85 ("linux-user: Fix syscall parameter handling for MIPS n32") the ABI problem regarding offset64 on MIPS n32 was fixed, but still some cases remain where the n32 is incorrectly treated as any other 32-bit ABI that passes 64-bit arguments in pairs of GPRs. Fix by excluding TARGET_ABI_MIPSN32 from various TARGET_ABI_BITS == 32 checks. Closes: https://gitlab.com/qemu-project/qemu/-/issues/1238 Signed-off-by: WANG Xuerui <xe...@gentoo.org> Cc: Philippe Mathieu-Daudé <f4...@amsat.org> Cc: Jiaxun Yang <jiaxun.y...@flygoat.com> Cc: Andreas K. Hüttel <dilfri...@gentoo.org> Cc: Joshua Kinard <ku...@gentoo.org> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Jiaxun Yang <jiaxun.y...@flygoat.com> Tested-by: Jiaxun Yang <jiaxun.y...@flygoat.com> Tested-by: Andreas K. Huettel <dilfri...@gentoo.org> Message-Id: <20221006085500.290341-1-xe...@gentoo.org> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 46187d707e7639b743a3b9f72da03ad4b9abc255 https://github.com/qemu/qemu/commit/46187d707e7639b743a3b9f72da03ad4b9abc255 Author: Laurent Vivier <laur...@vivier.eu> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M linux-user/strace.c M linux-user/syscall.c Log Message: ----------- linux-user: fix pidfd_send_signal() According to pidfd_send_signal(2), info argument can be a NULL pointer. Fix strace to correctly manage ending comma in parameters. Fixes: cc054c6f13 ("linux-user: Add pidfd_open(), pidfd_send_signal() and pidfd_getfd() syscalls") cc: Helge Deller <del...@gmx.de> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Reviewed-by: Helge Deller <del...@gmx.de> Message-Id: <20221005163826.1455313-1-laur...@vivier.eu> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: f07eb1c4f805c0dcc14dd69fee49b601ce0b2d2c https://github.com/qemu/qemu/commit/f07eb1c4f805c0dcc14dd69fee49b601ce0b2d2c Author: Laurent Vivier <laur...@vivier.eu> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M linux-user/syscall.c Log Message: ----------- linux-user: handle /proc/self/exe with execve() syscall If path is /proc/self/exe, use the executable path provided by exec_path. Don't use execfd as it is closed by loader_exec() and otherwise will survive to the exec() syscall and be usable child process. Signed-off-by: Laurent Vivier <laur...@vivier.eu> Message-Id: <20220927124357.688536-2-laur...@vivier.eu> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 00ed8a3459869f46dbb4e18d4dcc81882dfe8776 https://github.com/qemu/qemu/commit/00ed8a3459869f46dbb4e18d4dcc81882dfe8776 Author: Laurent Vivier <laur...@vivier.eu> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M linux-user/syscall.c Log Message: ----------- linux-user: don't use AT_EXECFD in do_openat() AT_EXECFD gives access to the binary file even if it is not readable (only executable). Moreover it can be opened with flags and mode that are not the ones provided by do_openat() caller. And it is not available because loader_exec() has closed it. To avoid that, use only safe_openat() with the exec_path. Signed-off-by: Laurent Vivier <laur...@vivier.eu> Message-Id: <20220927124357.688536-3-laur...@vivier.eu> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: c5495f4ecb0cdaaf2e9dddeb48f1689cdb520ca0 https://github.com/qemu/qemu/commit/c5495f4ecb0cdaaf2e9dddeb48f1689cdb520ca0 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M linux-user/syscall.c Log Message: ----------- linux-user: add more compat ioctl definitions GLibc changes prevent us from including linux/fs.h anymore, and we previously adjusted to this in commit 3cd3df2a9584e6f753bb62a0028bd67124ab5532 Author: Daniel P. Berrangé <berra...@redhat.com> Date: Tue Aug 2 12:41:34 2022 -0400 linux-user: fix compat with glibc >= 2.36 sys/mount.h That change required adding compat ioctl definitions on the QEMU side for any ioctls that we would otherwise obtain from linux/fs.h. This commit adds more that were initially missed, due to their usage being conditionalized in QEMU. Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Message-Id: <20221004093206.652431-2-berra...@redhat.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: ed98cdecf8dabce137f693641777503112d884b3 https://github.com/qemu/qemu/commit/ed98cdecf8dabce137f693641777503112d884b3 Author: Daniel P. Berrangé <berra...@redhat.com> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M linux-user/ioctls.h Log Message: ----------- linux-user: remove conditionals for many fs.h ioctls These ioctls have been defined in linux/fs.h for a long time * BLKGETSIZE64 - <2.6.12 (linux.git epoch) * BLKDISCARD - 2.6.28 (d30a2605be9d5132d95944916e8f578fcfe4f976) * BLKIOMIN - 2.6.32 (ac481c20ef8f6c6f2be75d581863f40c43874ef7) * BLKIOOPT - 2.6.32 (ac481c20ef8f6c6f2be75d581863f40c43874ef7) * BLKALIGNOFF - 2.6.32 (ac481c20ef8f6c6f2be75d581863f40c43874ef7) * BLKPBSZGET - 2.6.32 (ac481c20ef8f6c6f2be75d581863f40c43874ef7) * BLKDISCARDZEROES - 2.6.32 (98262f2762f0067375f83824d81ea929e37e6bfe) * BLKSECDISCARD - 2.6.36 (8d57a98ccd0b4489003473979da8f5a1363ba7a3) * BLKROTATIONAL - 3.2 (ef00f59c95fe6e002e7c6e3663cdea65e253f4cc) * BLKZEROOUT - 3.6 (66ba32dc167202c3cf8c86806581a9393ec7f488) * FIBMAP - <2.6.12 (linux.git epoch) * FIGETBSZ - <2.6.12 (linux.git epoch) and when building with latest glibc, we'll see compat definitions in syscall.c anyway thanks to the previous patch. Thus we can assume they always exist and remove the conditional checks. Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Message-Id: <20221004093206.652431-3-berra...@redhat.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 35a2c85f7d691db7aa2c47181902ac87478eef7a https://github.com/qemu/qemu/commit/35a2c85f7d691db7aa2c47181902ac87478eef7a Author: WANG Xuerui <xe...@gentoo.org> Date: 2022-10-21 (Fri, 21 Oct 2022) Changed paths: M linux-user/strace.c M linux-user/strace.list M linux-user/syscall.c Log Message: ----------- linux-user: Implement faccessat2 User space has been preferring this syscall for a while, due to its closer match with C semantics, and newer platforms such as LoongArch apparently have libc implementations that don't fallback to faccessat so normal access checks are failing without the emulation in place. Tested by successfully emerging several packages within a Gentoo loong stage3 chroot, emulated on amd64 with help of static qemu-loongarch64. Reported-by: Andreas K. Hüttel <dilfri...@gentoo.org> Signed-off-by: WANG Xuerui <xe...@gentoo.org> Message-Id: <20221009060813.2289077-1-xe...@gentoo.org> [lv: removing defined(__NR_faccessat2) in syscall.c, adding defined(TARGET_NR_faccessat2) on print_faccessat()] Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 8ad708a9d8f7e40a1fc33c69d1590f10e3da50b0 https://github.com/qemu/qemu/commit/8ad708a9d8f7e40a1fc33c69d1590f10e3da50b0 Author: Wang, Lei <lei4.w...@intel.com> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M .gitignore Log Message: ----------- .gitignore: add multiple items to .gitignore Add /.vscode/, .clang-format and .gdb_history to .gitignore because: - For VSCode, workspace settings as well as debugging and task configurations are stored at the root in a .vscode folder; - For ClangFormat, the .clang-format file is searched relative to the current working directory when reading stdin; - For GDB, GDB command history file defaults to the value of the environment variable GDBHISTFILE, or to ./.gdb_history if this variable is not set. Signed-off-by: Wang, Lei <lei4.w...@intel.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-Id: <20221020171921.1078533-1-lei4.w...@intel.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 2d7279984fdf735fb80f32e5a09f777e4188c57e https://github.com/qemu/qemu/commit/2d7279984fdf735fb80f32e5a09f777e4188c57e Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M hw/core/sysbus-fdt.c Log Message: ----------- hw/core: Tidy up unnecessary casting away of const Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20220923120025.448759-2-arm...@redhat.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 4bb5923605b2b8994f933df23aa948efe7ba545c https://github.com/qemu/qemu/commit/4bb5923605b2b8994f933df23aa948efe7ba545c Author: lu zhipeng <luzhip...@cestc.cn> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M contrib/elf2dmp/main.c Log Message: ----------- elf2dmp: free memory in failure The 'kdgb' is allocating memory in get_kdbg(), but it is not freed in error path. So fix that. Signed-off-by: lu zhipeng <luzhip...@cestc.cn> Reviewed-by: Viktor Prutyanov <viktor.prutya...@phystech.edu> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-Id: <20221007020128.760-1-luzhip...@cestc.cn> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 0a553c12c71d5627abf223a926ab9688a5573f54 https://github.com/qemu/qemu/commit/0a553c12c71d5627abf223a926ab9688a5573f54 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M hw/arm/nseries.c M hw/char/exynos4210_uart.c M hw/display/blizzard.c M hw/misc/cbus.c M hw/nvram/eeprom93xx.c M hw/usb/ccid-card-emulated.c M target/i386/kvm/kvm.c M target/i386/whpx/whpx-all.c M target/s390x/kvm/kvm.c M ui/vnc-enc-hextile.c Log Message: ----------- Drop useless casts from g_malloc() & friends to pointer These memory allocation functions return void *, and casting to another pointer type is useless clutter. Drop these casts. If you really want another pointer type, consider g_new(). Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Laurent Vivier <laur...@vivier.eu> Message-Id: <20220923120025.448759-3-arm...@redhat.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: b1f6208cf986a60e1c9f8b960db5a00851f48f98 https://github.com/qemu/qemu/commit/b1f6208cf986a60e1c9f8b960db5a00851f48f98 Author: Bin Meng <bin.m...@windriver.com> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M tests/qtest/migration-test.c Log Message: ----------- tests/qtest: migration-test: Fix [-Werror=format-overflow=] build warning When tmpfs is NULL, a build warning is seen with GCC 9.3.0. It's strange that GCC 11.2.0 on Ubuntu 22.04 does not catch this, neither did the QEMU CI. While we are here, improve the error message as well. Reported-by: Shengjiang Wu <shengjiang...@windriver.com> Fixes: e5553c1b8d28 ("tests/qtest: migration-test: Avoid using hardcoded /tmp") Signed-off-by: Bin Meng <bin.m...@windriver.com> Reviewed-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221017132023.2228641-1-bmeng...@gmail.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 1c324bf908e3de1cf352e36484c73dc07767d938 https://github.com/qemu/qemu/commit/1c324bf908e3de1cf352e36484c73dc07767d938 Author: Bin Meng <bin.m...@windriver.com> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M tests/qtest/vhost-user-test.c Log Message: ----------- tests/qtest: vhost-user-test: Fix [-Werror=format-overflow=] build warning When tmpfs is NULL, a build warning is seen with GCC 9.3.0. It's strange that GCC 11.2.0 on Ubuntu 22.04 does not catch this, neither did the QEMU CI. While we are here, improve the error message as well. Reported-by: Shengjiang Wu <shengjiang...@windriver.com> Fixes: e6efe236c1d1 ("tests/qtest: vhost-user-test: Avoid using hardcoded /tmp") Signed-off-by: Bin Meng <bin.m...@windriver.com> Reviewed-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221017132023.2228641-2-bmeng...@gmail.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 6191347991225a291ce38f5faf4d6e8181b5561f https://github.com/qemu/qemu/commit/6191347991225a291ce38f5faf4d6e8181b5561f Author: dinglimin <dingli...@cmss.chinamobile.com> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M scripts/vmstate-static-checker.py Log Message: ----------- vmstate-static-checker:remove this redundant return Jump statements, such as return and continue let you change the default flow of program execution, but jump statements that direct the control flow to the original direction are just a waste of keystrokes. Signed-off-by: dinglimin <dingli...@cmss.chinamobile.com> Reviewed-by: John Snow <js...@redhat.com> Message-Id: <20220928090312.2537-1-dingli...@cmss.chinamobile.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: fe8a7390c10c78b806211d7e36727c461d39a17f https://github.com/qemu/qemu/commit/fe8a7390c10c78b806211d7e36727c461d39a17f Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2022-10-22 (Sat, 22 Oct 2022) Changed paths: M include/hw/scsi/scsi.h Log Message: ----------- include/hw/scsi/scsi.h: Remove unused scsi_legacy_handle_cmdline() prototype In commit 1454509726719e0933c80 we removed the function scsi_legacy_handle_cmdline() and all of its callers, but forgot to delete the prototype from the header function. Delete the prototype too. Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20221013130500.967432-1-peter.mayd...@linaro.org> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: c1dadb8462ff5021218f2c1aa015594952f441ca https://github.com/qemu/qemu/commit/c1dadb8462ff5021218f2c1aa015594952f441ca Author: Bin Meng <bm...@tinylab.org> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M hw/9pfs/9p.c M hw/dma/pl330.c M hw/net/can/can_sja1000.c M hw/timer/renesas_cmt.c M hw/timer/renesas_tmr.c M hw/virtio/virtio-pci.c M include/hw/elf_ops.h M target/riscv/vector_helper.c M target/rx/op_helper.c M ui/vnc-jobs.c M ui/vnc.c Log Message: ----------- treewide: Remove the unnecessary space before semicolon %s/return ;/return; Signed-off-by: Bin Meng <bm...@tinylab.org> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Christian Schoenebeck <qemu_...@crudebyte.com> Message-Id: <20221024072802.457832-1-bm...@tinylab.org> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: cf6280b99b42630d74c197fb2cd68d1a5d8673f7 https://github.com/qemu/qemu/commit/cf6280b99b42630d74c197fb2cd68d1a5d8673f7 Author: Volker Rümelin <vr_q...@t-online.de> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M ui/console.c M ui/gtk.c Log Message: ----------- ui: remove useless typecasts Commit 8f9abdf586 ("chardev: src buffer const for write functions") changed the type of the second parameter of qemu_chr_be_write() from uint8_t * to const uint8_t *. Remove the now useless type casts from qemu_chr_be_write() function calls in ui/console.c and ui/gtk.c. Cc: qemu-triv...@nongnu.org Signed-off-by: Volker Rümelin <vr_q...@t-online.de> Reviewed-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Claudio Fontana <cfont...@suse.de> Message-Id: <20221022141204.29358-1-vr_q...@t-online.de> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 046ab3b80891f4aa6d0cfd7db15c622b1933e598 https://github.com/qemu/qemu/commit/046ab3b80891f4aa6d0cfd7db15c622b1933e598 Author: Matheus Tavares Bernardino <quic_mathb...@quicinc.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M accel/tcg/tcg-accel-ops-rr.c Log Message: ----------- accel/tcg/tcg-accel-ops-rr: fix trivial typo Signed-off-by: Matheus Tavares Bernardino <quic_mathb...@quicinc.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Claudio Fontana <cfont...@suse.de> Message-Id: <5dc556dbe241ae03859b7890d1998de5c77b7c6c.1666373742.git.quic_mathb...@quicinc.com> Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: e41ed29bcee5cb16715317bcf290f6b5c196eb0a https://github.com/qemu/qemu/commit/e41ed29bcee5cb16715317bcf290f6b5c196eb0a Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M dump/dump.c M include/sysemu/dump.h Log Message: ----------- dump: Use a buffer for ELF section data and headers Currently we're writing the NULL section header if we overflow the physical header number in the ELF header. But in the future we'll add custom section headers AND section data. To facilitate this we need to rearange section handling a bit. As with the other ELF headers we split the code into a prepare and a write step. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221017083822.43118-2-fran...@linux.ibm.com> Commit: cb415fd61e48d52f81dcf38956e3f913651cff1c https://github.com/qemu/qemu/commit/cb415fd61e48d52f81dcf38956e3f913651cff1c Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M dump/dump.c Log Message: ----------- dump: Write ELF section headers right after ELF header Let's start bundling the writes of the headers and of the data so we have a clear ordering between them. Since the ELF header uses offsets to the headers we can freely order them. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221017083822.43118-3-fran...@linux.ibm.com> Commit: 8384b73c46fd474847d7e74d121318e344edc3c4 https://github.com/qemu/qemu/commit/8384b73c46fd474847d7e74d121318e344edc3c4 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M include/sysemu/dump.h Log Message: ----------- dump: Reorder struct DumpState Let's move ELF related members into one block and guest memory related ones into another to improve readability. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221017083822.43118-4-fran...@linux.ibm.com> Commit: 13fd417ddc81a1685c6a8f4e1c80bbfe7150f164 https://github.com/qemu/qemu/commit/13fd417ddc81a1685c6a8f4e1c80bbfe7150f164 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M dump/dump.c Log Message: ----------- dump: Reintroduce memory_offset and section_offset section_offset will later be used to store the offset to the section data which will be stored last. For now memory_offset is only needed to make section_offset look nicer. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221017083822.43118-5-fran...@linux.ibm.com> Commit: 9b72224f44612ddd5b434a1bccf79346946d11da https://github.com/qemu/qemu/commit/9b72224f44612ddd5b434a1bccf79346946d11da Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M dump/dump.c M include/sysemu/dump-arch.h M include/sysemu/dump.h Log Message: ----------- dump: Add architecture section and section string table support Add hooks which architectures can use to add arbitrary data to custom sections. Also add a section name string table in order to identify section contents Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221017113210.41674-1-fran...@linux.ibm.com> Commit: d9a3c3c9fb5903c0cc183d01a2aa9579651eee03 https://github.com/qemu/qemu/commit/d9a3c3c9fb5903c0cc183d01a2aa9579651eee03 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M target/s390x/kvm/kvm.c M target/s390x/kvm/kvm_s390x.h Log Message: ----------- s390x: Add protected dump cap Add a protected dump capability for later feature checking. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Steffen Eiden <sei...@linux.ibm.com> Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Janis Schoetterl-Glausch <s...@linux.ibm.com> Message-Id: <20221017083822.43118-7-fran...@linux.ibm.com> Commit: a39bbecad7647fb015a146d482488e8d2bde3323 https://github.com/qemu/qemu/commit/a39bbecad7647fb015a146d482488e8d2bde3323 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M hw/s390x/pv.c M hw/s390x/s390-virtio-ccw.c M include/hw/s390x/pv.h Log Message: ----------- s390x: Introduce PV query interface Introduce an interface over which we can get information about UV data. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Steffen Eiden <sei...@linux.ibm.com> Reviewed-by: Janis Schoetterl-Glausch <s...@linux.ibm.com> Acked-by: Thomas Huth <th...@redhat.com> Message-Id: <20221017083822.43118-8-fran...@linux.ibm.com> Commit: b4a9fcc2bfd43c926b22fc934ddadd40b505f824 https://github.com/qemu/qemu/commit/b4a9fcc2bfd43c926b22fc934ddadd40b505f824 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-24 (Mon, 24 Oct 2022) Changed paths: M include/elf.h Log Message: ----------- include/elf.h: add s390x note types Adding two s390x note types Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <20221017083822.43118-9-fran...@linux.ibm.com> Commit: fad992334d4a88f62a6f9d20c9b8f05446bdd904 https://github.com/qemu/qemu/commit/fad992334d4a88f62a6f9d20c9b8f05446bdd904 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M docs/devel/qapi-code-gen.rst Log Message: ----------- docs/devel/qapi-code-gen: Update example to match current code Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-2-arm...@redhat.com> Commit: 8a4e771d26490aaae8dadfea00ce2513aed5acfe https://github.com/qemu/qemu/commit/8a4e771d26490aaae8dadfea00ce2513aed5acfe Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M docs/devel/qapi-code-gen.rst M scripts/qapi/commands.py M scripts/qapi/events.py Log Message: ----------- qapi: Tidy up whitespace in generated code Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-3-arm...@redhat.com> Commit: e8dce69d7d54990f63e311a8f0b8855f86d52d00 https://github.com/qemu/qemu/commit/e8dce69d7d54990f63e311a8f0b8855f86d52d00 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M docs/devel/qapi-code-gen.rst Log Message: ----------- docs/devel/qapi-code-gen: Extend example for next commit's change The next commit will change the code generated for some optional members. The example schema contains an optional member affected by the change. Add one that is not affected. Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-4-arm...@redhat.com> Commit: 987d542069acc73e7d7843f19ea145aafeefbbb6 https://github.com/qemu/qemu/commit/987d542069acc73e7d7843f19ea145aafeefbbb6 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M docs/devel/qapi-code-gen.rst M docs/devel/writing-monitor-commands.rst M scripts/qapi/commands.py M scripts/qapi/events.py M scripts/qapi/gen.py M scripts/qapi/schema.py M scripts/qapi/types.py M scripts/qapi/visit.py Log Message: ----------- qapi: Start to elide redundant has_FOO in generated C In QAPI, absent optional members are distinct from any present value. We thus represent an optional schema member FOO as two C members: a FOO with the member's type, and a bool has_FOO. Likewise for function arguments. However, has_FOO is actually redundant for a pointer-valued FOO, which can be null only when has_FOO is false, i.e. has_FOO == !!FOO. Except for arrays, where we a null FOO can also be a present empty array. The redundant has_FOO are a nuisance to work with. Improve the generator to elide them. Uses of has_FOO need to be replaced as follows. Tests of has_FOO become the equivalent comparison of FOO with null. For brevity, this is commonly done by implicit conversion to bool. Assignments to has_FOO get dropped. Likewise for arguments to has_FOO parameters. Beware: code may violate the invariant has_FOO == !!FOO before the transformation, and get away with it. The above transformation can then break things. Two cases: * Absent: if code ignores FOO entirely when !has_FOO (except for freeing it if necessary), even non-null / uninitialized FOO works. Such code is known to exist. * Present: if code ignores FOO entirely when has_FOO, even null FOO works. Such code should not exist. In both cases, replacing tests of has_FOO by FOO reverts their sense. We have to fix the value of FOO then. To facilitate review of the necessary updates to handwritten code, add means to opt out of this change, and opt out for all QAPI schema modules where the change requires updates to handwritten code. The next few commits will remove these opt-outs in reviewable chunks, then drop the means to opt out. Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-5-arm...@redhat.com> Commit: 0673a9bb702d3fe7c4145b1ec2ee9aca9d9f2965 https://github.com/qemu/qemu/commit/0673a9bb702d3fe7c4145b1ec2ee9aca9d9f2965 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M scripts/qapi/schema.py M tests/qtest/qmp-cmd-test.c M tests/unit/test-qmp-cmds.c M tests/unit/test-qmp-event.c M tests/unit/test-qobject-input-visitor.c M tests/unit/test-qobject-output-visitor.c M tests/unit/test-visitor-serialization.c Log Message: ----------- qapi tests: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for tests/qapi-schema/qapi-schema-test.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-6-arm...@redhat.com> Commit: 0d79c129ed3d434ead64d67e962aba945d2a89ed https://github.com/qemu/qemu/commit/0d79c129ed3d434ead64d67e962aba945d2a89ed Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/acpi/core.c M hw/acpi/cpu.c M hw/acpi/memory_hotplug.c M scripts/qapi/schema.py Log Message: ----------- qapi acpi: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/acpi.py. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Michael S. Tsirkin <m...@redhat.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: Ani Sinha <a...@anisinha.ca> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Igor Mammedov <imamm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-7-arm...@redhat.com> Commit: c8d893709ca778808fd2cbc1f1da34479fe8d0e2 https://github.com/qemu/qemu/commit/c8d893709ca778808fd2cbc1f1da34479fe8d0e2 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M audio/alsaaudio.c M audio/audio.c M audio/audio_legacy.c M audio/ossaudio.c M audio/paaudio.c M audio/wavaudio.c M scripts/qapi/schema.py Log Message: ----------- qapi audio: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/audio.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Additionally, helper get_str() loses its @has_dst parameter. Cc: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-8-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: 2af0d5520b4a81359725a480de756d4486ed0f7d https://github.com/qemu/qemu/commit/2af0d5520b4a81359725a480de756d4486ed0f7d Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M block/block-backend.c M block/copy-before-write.c M block/dirty-bitmap.c M block/export/export.c M block/export/vduse-blk.c M block/gluster.c M block/monitor/block-hmp-cmds.c M block/qapi-sysemu.c M block/qapi.c M block/qcow.c M block/qcow2.c M block/qed.c M block/quorum.c M block/rbd.c M block/ssh.c M blockdev-nbd.c M blockdev.c M blockjob.c M monitor/hmp-cmds.c M nbd/server.c M qemu-img.c M qemu-nbd.c M scripts/qapi/schema.py Log Message: ----------- qapi block: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/block*.json. Said commit explains the transformation in more detail. There is one instance of the Invariant violation mentioned there: qcow2_signal_corruption() passes false, "" when node_name is an empty string. Take care to pass NULL then. Additionally, helper bdrv_latency_histogram_stats() loses its output parameters and returns a value instead. Cc: Kevin Wolf <kw...@redhat.com> Cc: Hanna Reitz <hre...@redhat.com> Cc: qemu-bl...@nongnu.org Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-9-arm...@redhat.com> Commit: ab0cce35b5d6a2e7b0747ed4a4f8e0d8214b2b38 https://github.com/qemu/qemu/commit/ab0cce35b5d6a2e7b0747ed4a4f8e0d8214b2b38 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M chardev/char-file.c M chardev/char-socket.c M chardev/char-udp.c M chardev/char.c M scripts/qapi/schema.py M tests/unit/test-char.c Log Message: ----------- qapi chardev: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/char.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Marc-André Lureau <marcandre.lur...@redhat.com> Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-10-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: e23fead4dc1b69d1107236b2ecf22bf703487ea1 https://github.com/qemu/qemu/commit/e23fead4dc1b69d1107236b2ecf22bf703487ea1 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M crypto/block-luks.c M scripts/qapi/schema.py M tests/unit/test-crypto-block.c Log Message: ----------- qapi crypto: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/crypto.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Daniel P. Berrangé" <berra...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-11-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: 1bb857fa064c4cff3a6b027b5a9b3b138128045c https://github.com/qemu/qemu/commit/1bb857fa064c4cff3a6b027b5a9b3b138128045c Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M dump/dump.c M scripts/qapi/schema.py Log Message: ----------- qapi dump: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/dump.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Marc-André Lureau <marcandre.lur...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-12-arm...@redhat.com> Commit: 86d77c688f7a88cbe8c1175201bbd2c19fe2da1f https://github.com/qemu/qemu/commit/86d77c688f7a88cbe8c1175201bbd2c19fe2da1f Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M job-qmp.c M scripts/qapi/schema.py Log Message: ----------- qapi job: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/job.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: John Snow <js...@redhat.com> Cc: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru> Cc: qemu-bl...@nongnu.org Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru> Message-Id: <20221018062849.3420573-13-arm...@redhat.com> Commit: 94406f376b03fb2f376dba5efe338097d9d0b4dc https://github.com/qemu/qemu/commit/94406f376b03fb2f376dba5efe338097d9d0b4dc Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/core/machine-hmp-cmds.c M hw/core/machine-qmp-cmds.c M hw/core/machine.c M hw/core/numa.c M hw/mem/pc-dimm.c M hw/nvram/fw_cfg.c M hw/virtio/virtio-mem-pci.c M hw/virtio/virtio-pmem-pci.c M scripts/qapi/schema.py M target/arm/monitor.c M target/i386/cpu-sysemu.c M target/i386/cpu.c M target/s390x/cpu_models_sysemu.c Log Message: ----------- qapi machine: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/machine*.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Eduardo Habkost <edua...@habkost.net> Cc: Marcel Apfelbaum <marcel.apfelb...@gmail.com> Cc: Philippe Mathieu-Daudé <f4...@amsat.org> Cc: Yanan Wang <wangyana...@huawei.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-14-arm...@redhat.com> Commit: b24273bba29f1971372b2ac78a9923e718c5d33f https://github.com/qemu/qemu/commit/b24273bba29f1971372b2ac78a9923e718c5d33f Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M migration/block-dirty-bitmap.c M migration/colo.c M migration/migration.c M monitor/hmp-cmds.c M monitor/misc.c M scripts/qapi/schema.py Log Message: ----------- qapi migration: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/migration.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Juan Quintela <quint...@redhat.com> Cc: Dr. David Alan Gilbert <dgilb...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-15-arm...@redhat.com> Commit: 7dcc05d13f0243100d4c4d32d9ffdf10f8c13cc3 https://github.com/qemu/qemu/commit/7dcc05d13f0243100d4c4d32d9ffdf10f8c13cc3 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M include/monitor/monitor.h M monitor/hmp-cmds.c M monitor/misc.c M monitor/qmp-cmds.c M scripts/qapi/schema.py M softmmu/vl.c M util/qemu-config.c Log Message: ----------- qapi misc: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/misc.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Dr. David Alan Gilbert <dgilb...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-16-arm...@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> [Superfluous conditional around g_strdup() dropped] Commit: 0ba5afb5ce88df8086b8c6490f162234e16e24d9 https://github.com/qemu/qemu/commit/0ba5afb5ce88df8086b8c6490f162234e16e24d9 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/net/virtio-net.c M monitor/hmp-cmds.c M net/announce.c M net/hub.c M net/l2tpv3.c M net/net.c M net/slirp.c M net/socket.c M net/tap-win32.c M net/tap.c M scripts/qapi/schema.py Log Message: ----------- qapi net: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/net.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Jason Wang <jasow...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-17-arm...@redhat.com> Commit: 44f4b403174d22f2e697d2340b1c23493b6fe277 https://github.com/qemu/qemu/commit/44f4b403174d22f2e697d2340b1c23493b6fe277 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/pci/pci.c M monitor/hmp-cmds.c M scripts/qapi/schema.py Log Message: ----------- qapi pci: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/pci.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Michael S. Tsirkin <m...@redhat.com> Cc: Marcel Apfelbaum <marcel.apfelb...@gmail.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-18-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: c0053dd9a0e49c60e1c90f61c1506e1ed46ab4d1 https://github.com/qemu/qemu/commit/c0053dd9a0e49c60e1c90f61c1506e1ed46ab4d1 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/acpi/memory_hotplug.c M hw/core/qdev.c M hw/ppc/spapr.c M hw/ppc/spapr_drc.c M qom/qom-qmp-cmds.c M scripts/qapi/schema.py M tests/qtest/fuzz/qos_fuzz.c Log Message: ----------- qapi qdev qom: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/qdev.json and qapi/qom.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Daniel P. Berrangé <berra...@redhat.com> Cc: Eduardo Habkost <edua...@habkost.net> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-19-arm...@redhat.com> Commit: 92cf4595e5f9238a84cf3017c5a9dc773ceec2a4 https://github.com/qemu/qemu/commit/92cf4595e5f9238a84cf3017c5a9dc773ceec2a4 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M replay/replay-debugging.c M scripts/qapi/schema.py Log Message: ----------- qapi replay: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/replay.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Pavel Dovgalyuk <pavel.dovga...@ispras.ru> Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-20-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: 9d0516fe6a7cb27a09d3129df93059c8fb418884 https://github.com/qemu/qemu/commit/9d0516fe6a7cb27a09d3129df93059c8fb418884 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/net/rocker/rocker_of_dpa.c M monitor/hmp-cmds.c M scripts/qapi/schema.py Log Message: ----------- qapi rocker: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/rocker.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Jiri Pirko <j...@resnulli.us> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-21-arm...@redhat.com> Commit: 710b06718830d6b015c86612905b4dd950da048c https://github.com/qemu/qemu/commit/710b06718830d6b015c86612905b4dd950da048c Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M scripts/qapi/schema.py M softmmu/runstate.c Log Message: ----------- qapi run-state: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/run-state.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Drop a superfluous conditional around qapi_free_GuestPanicInformation() while there. Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-22-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> [Commit message tweaked] Commit: e90630ec88987a1c834ae6912dd6816a9c17db31 https://github.com/qemu/qemu/commit/e90630ec88987a1c834ae6912dd6816a9c17db31 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M monitor/qmp-cmds.c M scripts/qapi/schema.py Log Message: ----------- qapi stats: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/stats.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Mark Kanda <mark.ka...@oracle.com> Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Mark Kanda <mark.ka...@oracle.com> Message-Id: <20221018062849.3420573-23-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: 5357ee677e4b861bf5e8b5ae1214f2921dd3cc6a https://github.com/qemu/qemu/commit/5357ee677e4b861bf5e8b5ae1214f2921dd3cc6a Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M backends/tpm/tpm_passthrough.c M monitor/hmp-cmds.c M scripts/qapi/schema.py Log Message: ----------- qapi tpm: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/tpm.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Stefan Berger <stef...@linux.vnet.ibm.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Stefan Berger <stef...@linux.ibm.com> Message-Id: <20221018062849.3420573-24-arm...@redhat.com> Commit: adbb7005f04786ac31dc0a34fec735b159ae14cd https://github.com/qemu/qemu/commit/adbb7005f04786ac31dc0a34fec735b159ae14cd Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M blockdev.c M scripts/qapi/schema.py Log Message: ----------- qapi transaction: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/transaction.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Kevin Wolf <kw...@redhat.com> Cc: Hanna Reitz <hre...@redhat.com> Cc: qemu-bl...@nongnu.org Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-25-arm...@redhat.com> Commit: 824ce5739529b83f9b5c98e60eae4e6961a3ac84 https://github.com/qemu/qemu/commit/824ce5739529b83f9b5c98e60eae4e6961a3ac84 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M monitor/hmp-cmds.c M scripts/qapi/schema.py M ui/console.c M ui/input.c M ui/spice-core.c M ui/vnc.c Log Message: ----------- qapi ui: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/ui.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-26-arm...@redhat.com> Commit: c7ba2e3385c5ce035a5a4dab8855674cf00a198e https://github.com/qemu/qemu/commit/c7ba2e3385c5ce035a5a4dab8855674cf00a198e Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/virtio/virtio.c M monitor/hmp-cmds.c M scripts/qapi/schema.py Log Message: ----------- qapi virtio: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qapi/virtio.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Laurent Vivier <lviv...@redhat.com> Cc: Michael S. Tsirkin <m...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-27-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: 69a0115f5bae04ec9e4bfdc78ff686e0c7512697 https://github.com/qemu/qemu/commit/69a0115f5bae04ec9e4bfdc78ff686e0c7512697 Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M qga/commands-posix.c M qga/commands-win32.c M qga/commands.c M scripts/qapi/schema.py Log Message: ----------- qapi qga: Elide redundant has_FOO in generated C The has_FOO for pointer-valued FOO are redundant, except for arrays. They are also a nuisance to work with. Recent commit "qapi: Start to elide redundant has_FOO in generated C" provided the means to elide them step by step. This is the step for qga/qapi-schema.json. Said commit explains the transformation in more detail. The invariant violations mentioned there do not occur here. Cc: Michael Roth <michael.r...@amd.com> Cc: Konstantin Kostiuk <kkost...@redhat.com> Signed-off-by: Markus Armbruster <arm...@redhat.com> Message-Id: <20221018062849.3420573-28-arm...@redhat.com> Commit: 9e0ce16f76dc73cc17899d5c745cc23659a9ab2e https://github.com/qemu/qemu/commit/9e0ce16f76dc73cc17899d5c745cc23659a9ab2e Author: Markus Armbruster <arm...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M scripts/qapi/schema.py Log Message: ----------- qapi: Drop temporary logic to support conversion step by step Signed-off-by: Markus Armbruster <arm...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Message-Id: <20221018062849.3420573-29-arm...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Commit: bd5ccd61080abf976a6a6cc2d09d31299bea0cee https://github.com/qemu/qemu/commit/bd5ccd61080abf976a6a6cc2d09d31299bea0cee Author: Helge Deller <del...@gmx.de> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M linux-user/cpu_loop-common.h M linux-user/i386/cpu_loop.c M linux-user/syscall.c Log Message: ----------- linux-user: Add guest memory layout to exception dump When the emulation stops with a hard exception it's very useful for debugging purposes to dump the current guest memory layout (for an example see /proc/self/maps) beside the CPU registers. The open_self_maps() function provides such a memory dump, but since it's located in the syscall.c file, various changes (add #includes, make this function externally visible, ...) are needed to be able to call it from the existing EXCP_DUMP() macro. This patch takes another approach by re-defining EXCP_DUMP() to call target_exception_dump(), which is in syscall.c, consolidates the log print functions and allows to add the call to dump the memory layout. Beside a reduced code footprint, this approach keeps the changes across the various callers minimal, and keeps EXCP_DUMP() highlighted as important macro/function. Signed-off-by: Helge Deller <del...@gmx.de> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Message-Id: <Y1bzAWbw07WBKPxw@p100> [lv: remove pc declaration and setting] Signed-off-by: Laurent Vivier <laur...@vivier.eu> Commit: 4135a2274cc4dd9f8df00423c82fc1dcb0fa4542 https://github.com/qemu/qemu/commit/4135a2274cc4dd9f8df00423c82fc1dcb0fa4542 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M hw/s390x/pv.c M include/hw/s390x/pv.h Log Message: ----------- s390x: Add KVM PV dump interface Let's add a few bits of code which hide the new KVM PV dump API from us via new functions. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Janis Schoetterl-Glausch <s...@linux.ibm.com> Reviewed-by: Steffen Eiden <sei...@linux.ibm.com> [ Marc-André: fix up for compilation issue ] Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221017083822.43118-10-fran...@linux.ibm.com> Commit: 50a407559d7816d24d4ed1fc2ccd0f589e1e8591 https://github.com/qemu/qemu/commit/50a407559d7816d24d4ed1fc2ccd0f589e1e8591 Author: Janosch Frank <fran...@linux.ibm.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M dump/dump.c M include/sysemu/dump.h M target/s390x/arch_dump.c Log Message: ----------- s390x: pv: Add dump support Sometimes dumping a guest from the outside is the only way to get the data that is needed. This can be the case if a dumping mechanism like KDUMP hasn't been configured or data needs to be fetched at a specific point. Dumping a protected guest from the outside without help from fw/hw doesn't yield sufficient data to be useful. Hence we now introduce PV dump support. The PV dump support works by integrating the firmware into the dump process. New Ultravisor calls are used to initiate the dump process, dump cpu data, dump memory state and lastly complete the dump process. The UV calls are exposed by KVM via the new KVM_PV_DUMP command and its subcommands. The guest's data is fully encrypted and can only be decrypted by the entity that owns the customer communication key for the dumped guest. Also dumping needs to be allowed via a flag in the SE header. On the QEMU side of things we store the PV dump data in the newly introduced architecture ELF sections (storage state and completion data) and the cpu notes (for cpu dump data). Users can use the zgetdump tool to convert the encrypted QEMU dump to an unencrypted one. Signed-off-by: Janosch Frank <fran...@linux.ibm.com> Reviewed-by: Steffen Eiden <sei...@linux.ibm.com> Message-Id: <20221017083822.43118-11-fran...@linux.ibm.com> Commit: 1c08fb2d72aac3324bb537a70d05523c1a8984ab https://github.com/qemu/qemu/commit/1c08fb2d72aac3324bb537a70d05523c1a8984ab Author: Viktor Prutyanov <viktor.prutya...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M dump/win_dump.c Log Message: ----------- dump/win_dump: limit number of processed PRCBs When number of CPUs utilized by guest Windows is less than defined in QEMU (i.e., desktop versions of Windows severely limits number of CPU sockets), patch_and_save_context routine accesses non-existent PRCB and fails. So, limit number of processed PRCBs by NumberProcessors taken from guest Windows driver. Signed-off-by: Viktor Prutyanov <viktor.prutya...@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Message-Id: <20221019235948.656411-1-viktor.prutya...@redhat.com> Commit: d3553079286c9b0add5bcf953c4ea4a3df40b748 https://github.com/qemu/qemu/commit/d3553079286c9b0add5bcf953c4ea4a3df40b748 Author: Stefan Hajnoczi <stefa...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M linux-user/cpu_loop-common.h M linux-user/i386/cpu_loop.c M linux-user/ioctls.h M linux-user/strace.c M linux-user/strace.list M linux-user/syscall.c Log Message: ----------- Merge tag 'linux-user-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging linux-user pull request 20221025 Add faccess2() Fix ioclt(), execve(), pidfd_send_signal() and MIPS n32 syscall ABI Improve EXCP_DUMP() # -----BEGIN PGP SIGNATURE----- # # iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmNXkawSHGxhdXJlbnRA # dml2aWVyLmV1AAoJEPMMOL0/L748uvUQAJ3Br5Yh+0uuT0524DvVHjvE/bYys43A # JRilXtYsTrmGhatiF5vaaOmhRbsQ8Ljq8l/R4D7b7cLmRUJ7Q0pbZM5k3PRAEYOa # rMdTY8aSNhlKPvioOhLE5Ha4eua17YGQfP1LJW4jvEGqrhNV2qhUPPFbN3WlZKyt # 6T4N8y3FWWVD3C/qGpmHic3xK9CZW5hUIT3rL2BLxNx23rjCVViFhU4uFz7/43d1 # Rf3pKLWbNOsUB4P0g56otlviPrNRwGoKEr2MGAGr2pz6ZHvSPUCD0PnJvOZ/0iHa # jpswpStPYYpmEXHOjwTT6ua1Roe0EaNJfcI5FoUDBYjCMyoyQ+4XoPfMvm/SqPKr # TbK/cEBEUUej7anUX6faNaofh3mDz5BMF+/r7scCqHKem2+/ZnoBFdx8f/meKwYB # Te29eC8/y4eFGlI6RsE7dcvwH+wz/z0aVCdX4luxzX0pjWp7ZhIs9ljLjEbdelUO # D6+nWACUF1HnTLIGSGWY4oihF4ST/NaZ0u+NLHqE5WoS3vq4xgas9agqkr6f5HnM # 1hdjcDFOJs6Xjac+IM6bi3MX0vAeGrBWK1YA/3vQRaF91uOfwBRhNjHSXwI+dWwM # LL6pLjiDIIrEXY3QbO/TZFfFKRhooDVSOopiRvPkZVHeugbsYdKVwZ8geTyvGlmn # vsxDnihSUWot # =o10I # -----END PGP SIGNATURE----- # gpg: Signature made Tue 25 Oct 2022 03:35:08 EDT # gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C # gpg: issuer "laur...@vivier.eu" # gpg: Good signature from "Laurent Vivier <lviv...@redhat.com>" [full] # gpg: aka "Laurent Vivier <laur...@vivier.eu>" [full] # gpg: aka "Laurent Vivier (Red Hat) <lviv...@redhat.com>" [full] # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * tag 'linux-user-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu: linux-user: Add guest memory layout to exception dump linux-user: Implement faccessat2 linux-user: remove conditionals for many fs.h ioctls linux-user: add more compat ioctl definitions linux-user: don't use AT_EXECFD in do_openat() linux-user: handle /proc/self/exe with execve() syscall linux-user: fix pidfd_send_signal() linux-user: Fix more MIPS n32 syscall ABI issues Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: 79fc2fb685f35a5e71e23629760ef4025d6aba31 https://github.com/qemu/qemu/commit/79fc2fb685f35a5e71e23629760ef4025d6aba31 Author: Stefan Hajnoczi <stefa...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M .gitignore M accel/tcg/tcg-accel-ops-rr.c M contrib/elf2dmp/main.c M hw/9pfs/9p.c M hw/arm/nseries.c M hw/char/exynos4210_uart.c M hw/core/sysbus-fdt.c M hw/display/blizzard.c M hw/dma/pl330.c M hw/misc/cbus.c M hw/net/can/can_sja1000.c M hw/nvram/eeprom93xx.c M hw/timer/renesas_cmt.c M hw/timer/renesas_tmr.c M hw/usb/ccid-card-emulated.c M hw/virtio/virtio-pci.c M include/hw/elf_ops.h M include/hw/scsi/scsi.h M scripts/vmstate-static-checker.py M target/i386/kvm/kvm.c M target/i386/whpx/whpx-all.c M target/riscv/vector_helper.c M target/rx/op_helper.c M target/s390x/kvm/kvm.c M tests/qtest/migration-test.c M tests/qtest/vhost-user-test.c M ui/console.c M ui/gtk.c M ui/vnc-enc-hextile.c M ui/vnc-jobs.c M ui/vnc.c Log Message: ----------- Merge tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging Pull request # -----BEGIN PGP SIGNATURE----- # # iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmNXleQSHGxhdXJlbnRA # dml2aWVyLmV1AAoJEPMMOL0/L748TIsP/1gulTFpYAs3Kao6IZonsuCzrjQrJWqv # 5SD7cVb7isOWdOSNK3glE4dG54Q38PaS9GHaCvzIndjHxlWddCCUuwiw6p1Wdo70 # fjNfcCOEPoalQbkZvLejhs5n2rlfTvS5JUnLKVD9+ton7hjnTyKGDDYao5mYhtzv # Kn9NpCD3m+K3orzG2Jj7jR1UAumg4cW4YQEpT8ItDT4Y5UAxjL6TZQ6CE220DQDq # YwDrHEgDYr/UKlTbIC/JwlKOLr0sh+UB1VV8GZS6e6pU9u5WpDDHlQZpU8W2tLLg # cG5m8tLG2avFxRMUFrPNZ8Lx2xKO8wL1PtgAO9w7qFK+r0soZvv+Zh4ev/t5zGLf # ciliItqf97yPYNIc3su75jqdQHed7lmZc3m9LBHg8VXN6rAatt8vWUbG90sAZuTU # tWBZHvQmG0s2MK4UYqeQ59tc21v9T2+VCiiv/1vjgEUr8tBhXS562jrDt/bNEqKa # eRzT4h4ffbP6BJRnyakxkFkQ7nd2OdlLNKUAr9Tk6T2fYuarfEdbYx//0950agqD # AAtdQ/AJm6Pq1Px0/RuMKK5WsL818BoAkfr6n7qXleunytJ1W5hjW9EmFIPZWPTR # ce/lSFHA0+MCpg6C8zAa4iNBg/Pk0p3GRrTeWyHK1FjV+Gep1QtE/a1vk/qiPzTM # qZVfPxa8cXXe # =caiq # -----END PGP SIGNATURE----- # gpg: Signature made Tue 25 Oct 2022 03:53:08 EDT # gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C # gpg: issuer "laur...@vivier.eu" # gpg: Good signature from "Laurent Vivier <lviv...@redhat.com>" [full] # gpg: aka "Laurent Vivier <laur...@vivier.eu>" [full] # gpg: aka "Laurent Vivier (Red Hat) <lviv...@redhat.com>" [full] # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu: accel/tcg/tcg-accel-ops-rr: fix trivial typo ui: remove useless typecasts treewide: Remove the unnecessary space before semicolon include/hw/scsi/scsi.h: Remove unused scsi_legacy_handle_cmdline() prototype vmstate-static-checker:remove this redundant return tests/qtest: vhost-user-test: Fix [-Werror=format-overflow=] build warning tests/qtest: migration-test: Fix [-Werror=format-overflow=] build warning Drop useless casts from g_malloc() & friends to pointer elf2dmp: free memory in failure hw/core: Tidy up unnecessary casting away of const .gitignore: add multiple items to .gitignore Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: 29f3399ddd404b74fe10a04ea47aaa753a764248 https://github.com/qemu/qemu/commit/29f3399ddd404b74fe10a04ea47aaa753a764248 Author: Stefan Hajnoczi <stefa...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M dump/dump.c M dump/win_dump.c M hw/s390x/pv.c M hw/s390x/s390-virtio-ccw.c M include/elf.h M include/hw/s390x/pv.h M include/sysemu/dump-arch.h M include/sysemu/dump.h M target/s390x/arch_dump.c M target/s390x/kvm/kvm.c M target/s390x/kvm/kvm_s390x.h Log Message: ----------- Merge tag 'dump-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging dump queue Hi The "dump" queue, with: - [PATCH v3/v4 0/9] dump: Cleanup and consolidation - [PATCH v4 0/4] dump: add 32-bit guest Windows support # -----BEGIN PGP SIGNATURE----- # # iQJQBAABCAA6FiEEh6m9kz+HxgbSdvYt2ujhCXWWnOUFAmNXlSIcHG1hcmNhbmRy # ZS5sdXJlYXVAcmVkaGF0LmNvbQAKCRDa6OEJdZac5USfD/451iqJXMA51bNel7nH # +XXaczRcT/8X/o3yzDRWlD/BO3R6+GjbVvR9RwTVi0M/mok4WWoXknpsEnlVpatE # 9INsVObaYQs5eP7lh+QB2WXtOS++aJK3c8yoT1SjlHIPHkMKpNpTfxF3fnVImFcA # 4zIRgjb2V7M+cqRVAkS4jPD3Gfrg8ernQgLilYB+Q6XW5l2vY4MF05bcMSdEG2Af # ySdSQnufqznDiAJDa63yUVfXZKCT/y8yKRVlQ7LjhWjaRN7CdY2sEPNuTKI7zIFI # MF/oayJ8IIGAy8b6yuqWBPXUKRopppe4QmLR4ZkTMSD0ah3bh8ucgEtNTN95s2NF # ALn4IA8+ZqqAEKOQgvGH03U5nvbymOXyIhHmtNgvf6Afo4JIB9hC7eFaKsgDcgG8 # sTVAlB1EH5uKg3zTybjnpxPdBw5rZhlgpBTrEjAK69h5sOk5af5GzFCF67UGPcH7 # 4sT1IHJ7F19SaOEZRQcJiOJR5eE2Bj9G2WnT1rJHDC1wu8K4qwBK3AVwoG5XWbTa # jReJWhBKslANX793MYKzbQewEzt6wqPdSc0mt+47zLcfdwE6gVR+TH2Q1ATKzXuC # WpzO1DMIf1n8yXiA0MubUVniqUCQlghsCISl112nTKbGv3XtmvWcG6AV+enuJi0Q # m8TyGSZAsNQj5O8J6jJMLQjrTQ== # =8FEI # -----END PGP SIGNATURE----- # gpg: Signature made Tue 25 Oct 2022 03:49:54 EDT # gpg: using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5 # gpg: issuer "marcandre.lur...@redhat.com" # gpg: Good signature from "Marc-André Lureau <marcandre.lur...@redhat.com>" [full] # gpg: aka "Marc-André Lureau <marcandre.lur...@gmail.com>" [full] # Primary key fingerprint: 87A9 BD93 3F87 C606 D276 F62D DAE8 E109 7596 9CE5 * tag 'dump-pull-request' of https://gitlab.com/marcandre.lureau/qemu: dump/win_dump: limit number of processed PRCBs s390x: pv: Add dump support s390x: Add KVM PV dump interface include/elf.h: add s390x note types s390x: Introduce PV query interface s390x: Add protected dump cap dump: Add architecture section and section string table support dump: Reintroduce memory_offset and section_offset dump: Reorder struct DumpState dump: Write ELF section headers right after ELF header dump: Use a buffer for ELF section data and headers Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Commit: 338d2021ab7b7bf610921b3260b4805b81fdd915 https://github.com/qemu/qemu/commit/338d2021ab7b7bf610921b3260b4805b81fdd915 Author: Stefan Hajnoczi <stefa...@redhat.com> Date: 2022-10-25 (Tue, 25 Oct 2022) Changed paths: M audio/alsaaudio.c M audio/audio.c M audio/audio_legacy.c M audio/ossaudio.c M audio/paaudio.c M audio/wavaudio.c M backends/tpm/tpm_passthrough.c M block/block-backend.c M block/copy-before-write.c M block/dirty-bitmap.c M block/export/export.c M block/export/vduse-blk.c M block/gluster.c M block/monitor/block-hmp-cmds.c M block/qapi-sysemu.c M block/qapi.c M block/qcow.c M block/qcow2.c M block/qed.c M block/quorum.c M block/rbd.c M block/ssh.c M blockdev-nbd.c M blockdev.c M blockjob.c M chardev/char-file.c M chardev/char-socket.c M chardev/char-udp.c M chardev/char.c M crypto/block-luks.c M docs/devel/qapi-code-gen.rst M docs/devel/writing-monitor-commands.rst M dump/dump.c M hw/acpi/core.c M hw/acpi/cpu.c M hw/acpi/memory_hotplug.c M hw/core/machine-hmp-cmds.c M hw/core/machine-qmp-cmds.c M hw/core/machine.c M hw/core/numa.c M hw/core/qdev.c M hw/mem/pc-dimm.c M hw/net/rocker/rocker_of_dpa.c M hw/net/virtio-net.c M hw/nvram/fw_cfg.c M hw/pci/pci.c M hw/ppc/spapr.c M hw/ppc/spapr_drc.c M hw/virtio/virtio-mem-pci.c M hw/virtio/virtio-pmem-pci.c M hw/virtio/virtio.c M include/monitor/monitor.h M job-qmp.c M migration/block-dirty-bitmap.c M migration/colo.c M migration/migration.c M monitor/hmp-cmds.c M monitor/misc.c M monitor/qmp-cmds.c M nbd/server.c M net/announce.c M net/hub.c M net/l2tpv3.c M net/net.c M net/slirp.c M net/socket.c M net/tap-win32.c M net/tap.c M qemu-img.c M qemu-nbd.c M qga/commands-posix.c M qga/commands-win32.c M qga/commands.c M qom/qom-qmp-cmds.c M replay/replay-debugging.c M scripts/qapi/commands.py M scripts/qapi/events.py M scripts/qapi/gen.py M scripts/qapi/schema.py M scripts/qapi/types.py M scripts/qapi/visit.py M softmmu/runstate.c M softmmu/vl.c M target/arm/monitor.c M target/i386/cpu-sysemu.c M target/i386/cpu.c M target/s390x/cpu_models_sysemu.c M tests/qtest/fuzz/qos_fuzz.c M tests/qtest/qmp-cmd-test.c M tests/unit/test-char.c M tests/unit/test-crypto-block.c M tests/unit/test-qmp-cmds.c M tests/unit/test-qmp-event.c M tests/unit/test-qobject-input-visitor.c M tests/unit/test-qobject-output-visitor.c M tests/unit/test-visitor-serialization.c M ui/console.c M ui/input.c M ui/spice-core.c M ui/vnc.c M util/qemu-config.c Log Message: ----------- Merge tag 'pull-qapi-2022-10-25' of https://repo.or.cz/qemu/armbru into staging QAPI patches patches for 2022-10-25 # -----BEGIN PGP SIGNATURE----- # # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmNXl50SHGFybWJydUBy # ZWRoYXQuY29tAAoJEDhwtADrkYZT/GgP/iimpuffjYryR7ExIGO1KtE/DLHXBI/A # sX+7i+wV+Mc7ohC/uGA/YyF5HEhgYppK/+jvCpS8QnFb4RzC3khQoBBHMrRqBQDn # 6+uVpB4vwOhKxx6EBhla52cJ+j65zByswmm1OwwNvs2JWYsrpfQF2lVYjSGcFnEw # 7QStdiDb7/aKLaj4mVa0l7U+vQnffd73o7GEgpXX3XbQrluUH2rH+3iWq36+xZde # YxFPHqx/Fj+S2AwN9UBR9bL+CYtKYk3kUKHU+tKEdR0OHQBrcvYqivkHtHNqHTTu # Y9lNIfoH4OEbU7jvB8ex+pnmShWJ2jCHjQY0gLfWrRJF8CWDq2w8AMhtj3W/1JJC # BSb9MEh9Nco8XM9Y973CwPfYJwoOt4N4y9GJW4oj2P83DmxdoYptaKwlECd24zgi # p92yiJgBWJI5OK6+srDQZmA1QvPgmUgGGLfFX0a3Shchr94jLGt0IDX1FEhyFAbd # qcZGHY3Ww8K+s2uZzjRsBUsOQHHth7nHg7iDSyWsWshgl2QRuRtplcPoV76dzcB8 # E0TpjtK2xUdEQ2AiCjOWnekFSIbk8xwyvvfPKjcak/lTRC2taZAJt2LxH99CG3+b # 2sciO1r+ubU8xlxbDDow27axX9+lsyRXbfr2X3H+OYoHpgv7/Pk50aeVZg/x7CFM # qJ74xb5Gv2UX # =1Ubs # -----END PGP SIGNATURE----- # gpg: Signature made Tue 25 Oct 2022 04:00:29 EDT # gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653 # gpg: issuer "arm...@redhat.com" # gpg: Good signature from "Markus Armbruster <arm...@redhat.com>" [full] # gpg: aka "Markus Armbruster <arm...@pond.sub.org>" [full] # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * tag 'pull-qapi-2022-10-25' of https://repo.or.cz/qemu/armbru: (28 commits) qapi: Drop temporary logic to support conversion step by step qapi qga: Elide redundant has_FOO in generated C qapi virtio: Elide redundant has_FOO in generated C qapi ui: Elide redundant has_FOO in generated C qapi transaction: Elide redundant has_FOO in generated C qapi tpm: Elide redundant has_FOO in generated C qapi stats: Elide redundant has_FOO in generated C qapi run-state: Elide redundant has_FOO in generated C qapi rocker: Elide redundant has_FOO in generated C qapi replay: Elide redundant has_FOO in generated C qapi qdev qom: Elide redundant has_FOO in generated C qapi pci: Elide redundant has_FOO in generated C qapi net: Elide redundant has_FOO in generated C qapi misc: Elide redundant has_FOO in generated C qapi migration: Elide redundant has_FOO in generated C qapi machine: Elide redundant has_FOO in generated C qapi job: Elide redundant has_FOO in generated C qapi dump: Elide redundant has_FOO in generated C qapi crypto: Elide redundant has_FOO in generated C qapi chardev: Elide redundant has_FOO in generated C ... Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> Compare: https://github.com/qemu/qemu/compare/e750a7ace492...338d2021ab7b