Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 59e7592756903de13cc4196630e82c4c43aa9f8c
      
https://github.com/qemu/qemu/commit/59e7592756903de13cc4196630e82c4c43aa9f8c
  Author: Yongbok Kim <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/sysemu/machine.c

  Log Message:
  -----------
  target/mips: Migrate TLB MemoryMapID register

Include CP0 MemoryMapID register in migration state.

Fixes: 99029be1c28 ("target/mips: Add implementation of GINVT instruction")
Signed-off-by: Yongbok Kim <[email protected]>
Signed-off-by: Aleksandar Markovic <[email protected]>
Signed-off-by: Aleksandar Rakic <[email protected]>
Reviewed-by: Aleksandar Rikalo <[email protected]>
Message-ID: 
<am9pr09mb4851fb6034edb7fa191ba47e84...@am9pr09mb4851.eurprd09.prod.outlook.com>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 5d3d52229b19509eaace662096a52dc91f712fc1
      
https://github.com/qemu/qemu/commit/5d3d52229b19509eaace662096a52dc91f712fc1
  Author: Aleksandar Markovic <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/cpu-defs.c.inc

  Log Message:
  -----------
  target/mips: Enable MSA ASE for mips32r6-generic

Enable MSA ASE for mips32r6-generic CPU.

Signed-off-by: Aleksandar Markovic <[email protected]>
Signed-off-by: Faraz Shahbazker <[email protected]>
Signed-off-by: Aleksandar Rakic <[email protected]>
Reviewed-by: Aleksandar Rikalo <[email protected]>
Message-ID: 
<am9pr09mb485153b7cb706e188ded763484...@am9pr09mb4851.eurprd09.prod.outlook.com>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 1b63c0b7a5879f7bbea4740697932706446b1ad9
      
https://github.com/qemu/qemu/commit/1b63c0b7a5879f7bbea4740697932706446b1ad9
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/translate.c
    M target/mips/tcg/translate.h

  Log Message:
  -----------
  target/mips: Extract decode_64bit_enabled() helper

Extract the decode_64bit_enabled() helper which detects
whether CPUs can run 64-bit instructions.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>


  Commit: 127da643c4bd84131bcc79169561848d9de80377
      
https://github.com/qemu/qemu/commit/127da643c4bd84131bcc79169561848d9de80377
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Simplify Loongson MULTU.G opcode

Since MULTU opcodes don't record the most significant bits
of the infinite result, sign-extending the sources make no
difference in the result.

Once we remove the sign extension of source registers, MULT
and MULTU are identical (as are DMULT and DMULTU).

Suggested-by: Richard Henderson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 869f428fa755ccadb11153f764d1ff39ee39895f
      
https://github.com/qemu/qemu/commit/869f428fa755ccadb11153f764d1ff39ee39895f
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP

There is no issue having multiple enum declarations with
the same value. As we are going to remove the OPC_MULT_G_2E
definition in few commits, restore the OPC_ADDUH_QB_DSP and
OPC_MUL_PH_DSP definitions and use them where they belong.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Jiaxun Yang <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 2cb2674698ec1227cf8a6d8fd28925b6fdd948a2
      
https://github.com/qemu/qemu/commit/2cb2674698ec1227cf8a6d8fd28925b6fdd948a2
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    A target/mips/tcg/godson2.decode
    A target/mips/tcg/loong-ext.decode
    A target/mips/tcg/loong_translate.c
    M target/mips/tcg/meson.build
    M target/mips/tcg/translate.c
    M target/mips/tcg/translate.h

  Log Message:
  -----------
  target/mips: Convert Loongson DDIV.G opcodes to decodetree

Introduce decode_loongson() to decode all Loongson vendor
specific opcodes. Start converting a single opcode: DDIV.G
(divide 64-bit signed integers).

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 297289dca84c7a6a945b1ce94df472b5a0b6cfea
      
https://github.com/qemu/qemu/commit/297289dca84c7a6a945b1ce94df472b5a0b6cfea
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/godson2.decode
    M target/mips/tcg/loong-ext.decode
    M target/mips/tcg/loong_translate.c
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Convert Loongson DIV.G opcodes to decodetree

DIV.G and DDIV.G are very similar. Provide gen_lext_DIV_G() a
'is_double' argument so it can generate DIV.G (divide 32-bit
signed integers).

With this commit we explicit the template used to generate
opcode for 32/64-bit word variants. Next commits will be less
verbose by providing both variants at once.

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: c112a5ddaa99d8351765176062607ce31a6e36ba
      
https://github.com/qemu/qemu/commit/c112a5ddaa99d8351765176062607ce31a6e36ba
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/godson2.decode
    M target/mips/tcg/loong-ext.decode
    M target/mips/tcg/loong_translate.c
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree

Convert DIVU.G (divide 32-bit unsigned integers) and DDIVU.G
(divide 64-bit unsigned integers) opcodes to decodetree.

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 020cafa58e2b7e2f3687bfe31b141c7b87790791
      
https://github.com/qemu/qemu/commit/020cafa58e2b7e2f3687bfe31b141c7b87790791
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/godson2.decode
    M target/mips/tcg/loong-ext.decode
    M target/mips/tcg/loong_translate.c
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree

Convert the following opcodes to decodetree:

- MOD.G - mod 32-bit signed integers
- MODU.G - mod 32-bit unsigned integers
- DMOD.G - mod 64-bit signed integers
- DMODU.G - mod 64-bit unsigned integers

Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: ad6e1f194f1a5ffd66490dcd987286634d1cf914
      
https://github.com/qemu/qemu/commit/ad6e1f194f1a5ffd66490dcd987286634d1cf914
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/godson2.decode
    M target/mips/tcg/loong-ext.decode
    M target/mips/tcg/loong_translate.c
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree

Convert the following opcodes to decodetree:

- MULT.G - multiply 32-bit signed integers
- MULTU.G - multiply 32-bit unsigned integers
- DMULT.G - multiply 64-bit signed integers
- DMULTU.G - multiply 64-bit unsigned integers

Now that all opcodes from the extension have been converted, we
can remove completely gen_loongson_integer() and its 2 calls in
decode_opc_special2_legacy() and decode_opc_special3_legacy().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 74665884a594a12c744eb7405015b2d2e8df4621
      
https://github.com/qemu/qemu/commit/74665884a594a12c744eb7405015b2d2e8df4621
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/tcg/loong_translate.c

  Log Message:
  -----------
  target/mips: Remove unreachable 32-bit code on 64-bit Loongson Ext

Loongson fixed-point multiplies and divisions opcodes are
specific to 64-bit cores (Loongson-2 and Loongson-3 families).
Simplify by removing the 32-bit checks.

Reported-by: Richard Henderson <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>


  Commit: 09968fc96cee3d32e03b26b916bd6195f959c3d7
      
https://github.com/qemu/qemu/commit/09968fc96cee3d32e03b26b916bd6195f959c3d7
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/cpu-defs.c.inc
    M target/mips/cpu.h
    M target/mips/mips-defs.h
    M target/mips/tcg/micromips_translate.c.inc
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Introduce ase_3d_available() helper

Determine if the MIPS-3D ASE is implemented by checking
the state of the 3D bit in the FIR CP1 control register.
Remove the then unused ASE_MIPS3D definition.

Note, this allows using MIPS-3D on the mips64dspr2 model.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>


  Commit: 804607e84b3ac21bacb0a824734de44064b283f1
      
https://github.com/qemu/qemu/commit/804607e84b3ac21bacb0a824734de44064b283f1
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/cpu-defs.c.inc
    M target/mips/mips-defs.h
    M target/mips/tcg/translate.c
    M target/mips/tcg/translate.h

  Log Message:
  -----------
  target/mips: Introduce disas_mt_available()

Similarly to commit 17c2c320f3c ("Introduce ase_mt_available helper"),
introduce the disas_mt_available() one which takes a DisasContext
argument to determine whether Multi-Threading is available by
checking the MT bit of the CP0_Config3 register.

Remove the then unused ASE_MT definition.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>


  Commit: a144a3baa61e3fca1a7946685128c349dd92c76f
      
https://github.com/qemu/qemu/commit/a144a3baa61e3fca1a7946685128c349dd92c76f
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M target/mips/cpu.h
    M target/mips/sysemu/machine.c

  Log Message:
  -----------
  target/mips: Remove unused CPUMIPSState::current_fpu field

The 'current_fpu' field is unused since commit f01be154589
("Move the active FPU registers into env again, and use more
TCG registers to access them").

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>


  Commit: 24287d440bf90667e4da7d05eb431ec5c80e72ad
      
https://github.com/qemu/qemu/commit/24287d440bf90667e4da7d05eb431ec5c80e72ad
  Author: Pierrick Bouvier <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M qga/commands-windows-ssh.c

  Log Message:
  -----------
  qga: fix -Wsometimes-uninitialized windows warning

Reported by clang, but not gcc.

[5123/5678] Compiling C object qga/qemu-ga.exe.p/commands-windows-ssh.c.obj
FAILED: qga/qemu-ga.exe.p/commands-windows-ssh.c.obj
"cc" "-Iqga/qemu-ga.exe.p" "-Iqga" "-I../qga" "-I." "-Iqapi" "-Itrace" "-Iui" 
"-Iui/shader" "-IC:/msys64/clangarm64/include/glib-2.0" 
"-IC:/msys64/clangarm64/lib/glib-2.0/include" "-fdiagnostics-color=auto" 
"-Wall" "-Winvalid-pch" "-Werror" "-std=gnu11" "-O2" "-g" 
"-fstack-protector-strong" "-Wempty-body" "-Wendif-labels" 
"-Wexpansion-to-defined" "-Wformat-security" "-Wformat-y2k" 
"-Wignored-qualifiers" "-Winit-self" "-Wmissing-format-attribute" 
"-Wmissing-prototypes" "-Wnested-externs" "-Wold-style-definition" 
"-Wredundant-decls" "-Wstrict-prototypes" "-Wtype-limits" "-Wundef" "-Wvla" 
"-Wwrite-strings" "-Wno-gnu-variable-sized-type-not-at-end" 
"-Wno-initializer-overrides" "-Wno-missing-include-dirs" "-Wno-psabi" 
"-Wno-shift-negative-value" "-Wno-string-plus-int" 
"-Wno-tautological-type-limit-compare" "-Wno-typedef-redefinition" 
"-Wthread-safety" "-iquote" "." "-iquote" "C:/w/qemu" "-iquote" 
"C:/w/qemu/include" "-iquote" "C:/w/qemu/host/include/aarch64" "-iquote" 
"C:/w/qemu/host/include/generic" "-iquote" "C:/w/qemu/tcg/aarch64" 
"-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE" 
"-fno-strict-aliasing" "-fno-common" "-fwrapv" "-fno-pie" 
"-ftrivial-auto-var-init=zero" "-fzero-call-used-regs=used-gpr" -MD -MQ 
qga/qemu-ga.exe.p/commands-windows-ssh.c.obj -MF 
"qga/qemu-ga.exe.p/commands-windows-ssh.c.obj.d" -o 
qga/qemu-ga.exe.p/commands-windows-ssh.c.obj "-c" ../qga/commands-windows-ssh.c
../qga/commands-windows-ssh.c:383:9: error: variable 'userPSID' is used 
uninitialized whenever 'if' condition is true 
[-Werror,-Wsometimes-uninitialized]
  383 |     if (!create_acl(userInfo, &pACL, errp)) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../qga/commands-windows-ssh.c:415:15: note: uninitialized use occurs here
  415 |     LocalFree(userPSID);
      |               ^~~~~~~~
../qga/commands-windows-ssh.c:383:5: note: remove the 'if' if its condition is 
always false
  383 |     if (!create_acl(userInfo, &pACL, errp)) {
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  384 |         goto error;
      |         ~~~~~~~~~~~
  385 |     }
      |     ~
../qga/commands-windows-ssh.c:380:18: note: initialize the variable 'userPSID' 
to silence this warning
  380 |     PSID userPSID;
      |                  ^
      |                   = NULL
1 error generated.

Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Konstantin Kostiuk <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Konstantin Kostiuk <[email protected]>


  Commit: 73aaabcf22f9ba61721e5920b6c152bf71a7aed9
      
https://github.com/qemu/qemu/commit/73aaabcf22f9ba61721e5920b6c152bf71a7aed9
  Author: Pierrick Bouvier <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M qga/vss-win32/install.cpp
    M qga/vss-win32/provider.cpp
    M qga/vss-win32/requester.cpp

  Log Message:
  -----------
  qga: fix missing static and prototypes windows warnings

Reported by clang++, but not by g++.

../qga/vss-win32/provider.cpp:48:6: error: no previous prototype for function 
'LockModule' [-Werror,-Wmissing-prototypes]
   48 | void LockModule(BOOL lock)
      |      ^
../qga/vss-win32/provider.cpp:48:1: note: declare 'static' if the function is 
not intended to be used outside of this translation unit
   48 | void LockModule(BOOL lock)
      | ^
      | static
../qga/vss-win32/provider.cpp:531:13: error: no previous prototype for function 
'DllMain' [-Werror,-Wmissing-prototypes]
  531 | BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID 
lpReserved)
      |             ^
../qga/vss-win32/provider.cpp:531:1: note: declare 'static' if the function is 
not intended to be used outside of this translation unit
  531 | BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID 
lpReserved)
      | ^
      | static

Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Konstantin Kostiuk <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Konstantin Kostiuk <[email protected]>


  Commit: 9cfe110d9fc0be88178770a85dc6170eecdf6be1
      
https://github.com/qemu/qemu/commit/9cfe110d9fc0be88178770a85dc6170eecdf6be1
  Author: Sunil Nimmagadda <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M qga/commands-posix.c

  Log Message:
  -----------
  qemu-ga: Fix a SIGSEGV in ga_run_command() helper

qemu-ga on a NetBSD -current VM terminates with a SIGSEGV upon receiving
'guest-set-time' command...

Core was generated by `qemu-ga'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000cd37a40 in ga_pipe_read_str (fd=fd@entry=0xffffff922a20, 
str=str@entry=0xffffff922a18)
    at ../qga/commands-posix.c:88
88              *str[len] = '\0';
[Current thread is 1 (process 1112)]
(gdb) bt
#0  0x000000000cd37a40 in ga_pipe_read_str (fd=fd@entry=0xffffff922a20, 
str=str@entry=0xffffff922a18)
    at ../qga/commands-posix.c:88
#1  0x000000000cd37b60 in ga_run_command (argv=argv@entry=0xffffff922a90,
    action=action@entry=0xcda34b8 "set hardware clock to system time", 
errp=errp@entry=0xffffff922a70, in_str=0x0)
    at ../qga/commands-posix.c:164
#2  0x000000000cd380c4 in qmp_guest_set_time (has_time=<optimized out>, 
time_ns=<optimized out>,
    errp=errp@entry=0xffffff922ad0) at ../qga/commands-posix.c:304
#3  0x000000000cd253d8 in qmp_marshal_guest_set_time (args=<optimized out>, 
ret=<optimized out>, errp=0xffffff922b48)
    at qga/qga-qapi-commands.c:193
#4  0x000000000cd4e71c in qmp_dispatch (cmds=cmds@entry=0xcdf5b18 
<ga_commands>, request=request@entry=0xf3c711a4b000,
    allow_oob=allow_oob@entry=false, cur_mon=cur_mon@entry=0x0) at 
../qapi/qmp-dispatch.c:220
#5  0x000000000cd36524 in process_event (opaque=0xf3c711a79000, 
obj=0xf3c711a4b000, err=0x0) at ../qga/main.c:677
#6  0x000000000cd526f0 in json_message_process_token 
(lexer=lexer@entry=0xf3c711a79018, input=0xf3c712072480,
    type=type@entry=JSON_RCURLY, x=28, y=1) at ../qobject/json-streamer.c:99
#7  0x000000000cd93860 in json_lexer_feed_char 
(lexer=lexer@entry=0xf3c711a79018, ch=125 '}', flush=flush@entry=false)
    at ../qobject/json-lexer.c:313
#8  0x000000000cd93a00 in json_lexer_feed (lexer=lexer@entry=0xf3c711a79018,
    buffer=buffer@entry=0xffffff922d10 "{\"execute\":\"guest-set-time\"}\n", 
size=<optimized out>)
    at ../qobject/json-lexer.c:350
#9  0x000000000cd5290c in json_message_parser_feed 
(parser=parser@entry=0xf3c711a79000,
    buffer=buffer@entry=0xffffff922d10 "{\"execute\":\"guest-set-time\"}\n", 
size=<optimized out>)
    at ../qobject/json-streamer.c:121
#10 0x000000000cd361fc in channel_event_cb (condition=<optimized out>, 
data=0xf3c711a79000) at ../qga/main.c:703
#11 0x000000000cd3710c in ga_channel_client_event (channel=<optimized out>, 
condition=<optimized out>, data=0xf3c711b2d300)
    at ../qga/channel-posix.c:94
#12 0x0000f3c7120d9bec in g_main_dispatch () from /usr/pkg/lib/libglib-2.0.so.0
#13 0x0000f3c7120dd25c in g_main_context_iterate_unlocked.constprop () from 
/usr/pkg/lib/libglib-2.0.so.0
#14 0x0000f3c7120ddbf0 in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#15 0x000000000cda00d8 in run_agent_once (s=0xf3c711a79000) at 
../qga/main.c:1522
#16 run_agent (s=0xf3c711a79000) at ../qga/main.c:1559
#17 main (argc=<optimized out>, argv=<optimized out>) at ../qga/main.c:1671
(gdb)

The commandline options used on the host machine...
qemu-system-aarch64 \
   -machine type=virt,pflash0=rom \
   -m 8G \
   -cpu host \
   -smp 8 \
   -accel hvf \
   -device virtio-net-pci,netdev=unet \
   -device virtio-blk-pci,drive=hd \
   -drive file=netbsd.qcow2,if=none,id=hd \
   -netdev user,id=unet,hostfwd=tcp::2223-:22 \
   -object rng-random,filename=/dev/urandom,id=viornd0 \
   -device virtio-rng-pci,rng=viornd0 \
   -serial mon:stdio \
   -display none \
   -blockdev 
node-name=rom,driver=file,filename=/opt/homebrew/Cellar/qemu/9.0.2/share/qemu/edk2-aarch64-code.fd,read-only=true
 \
   -chardev socket,path=/tmp/qga_netbsd.sock,server=on,wait=off,id=qga0 \
   -device virtio-serial \
   -device virtconsole,chardev=qga0,name=org.qemu.guest_agent.0

This patch rectifies the operator precedence while assigning the NUL
terminator.

Fixes: c3f32c13a325f1ca9a0b08c19fefe9e5cc04289d

Signed-off-by: Sunil Nimmagadda <[email protected]>
Reviewed-by: Konstantin Kostiuk <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Konstantin Kostiuk <[email protected]>


  Commit: 79e490058feccb234b49fb4557b4d4b5e7a9b813
      
https://github.com/qemu/qemu/commit/79e490058feccb234b49fb4557b4d4b5e7a9b813
  Author: Arun Kumar <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M hw/nvme/ctrl.c
    M hw/nvme/ns.c
    M hw/nvme/nvme.h
    M hw/nvme/trace-events
    M include/block/nvme.h

  Log Message:
  -----------
  hw/nvme: i/o cmd set independent namespace data structure

Add support for the I/O Command Set Independent Namespace Data
Structure (CNS 8h and 1fh).

Signed-off-by: Arun Kumar <[email protected]>
Reviewed-by: Klaus Jensen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Klaus Jensen <[email protected]>


  Commit: dbaa2936b3a62422ae084cbee188bff9a2b544d7
      
https://github.com/qemu/qemu/commit/dbaa2936b3a62422ae084cbee188bff9a2b544d7
  Author: Ayush Mishra <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M hw/nvme/ns.c
    M include/block/nvme.h

  Log Message:
  -----------
  hw/nvme: add NPDAL/NPDGL

Add the NPDGL and NPDAL fields to support large alignment and
granularities.

Signed-off-by: Ayush Mishra <[email protected]>
Reviewed-by: Klaus Jensen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[k.jensen: renamed the enum values]
Signed-off-by: Klaus Jensen <[email protected]>


  Commit: 8f472a0e7a3c86a890e12e883a69abc65945419e
      
https://github.com/qemu/qemu/commit/8f472a0e7a3c86a890e12e883a69abc65945419e
  Author: Arun Kumar <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M hw/nvme/dif.c

  Log Message:
  -----------
  hw/nvme: remove dead code

Remove dead code which always returns success, since PRCHK will have a
value of zero.

Signed-off-by: Arun Kumar <[email protected]>
Reviewed-by: Klaus Jensen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Klaus Jensen <[email protected]>


  Commit: 67194c7018b8b06a1c149757f596bb919c683725
      
https://github.com/qemu/qemu/commit/67194c7018b8b06a1c149757f596bb919c683725
  Author: Peter Maydell <[email protected]>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M target/mips/cpu-defs.c.inc
    M target/mips/cpu.h
    M target/mips/mips-defs.h
    M target/mips/sysemu/machine.c
    A target/mips/tcg/godson2.decode
    A target/mips/tcg/loong-ext.decode
    A target/mips/tcg/loong_translate.c
    M target/mips/tcg/meson.build
    M target/mips/tcg/micromips_translate.c.inc
    M target/mips/tcg/translate.c
    M target/mips/tcg/translate.h

  Log Message:
  -----------
  Merge tag 'mips-20241104' of https://github.com/philmd/qemu into staging

MIPS patches queue

- Migrate missing CP0 TLB MemoryMapID register (Yongbok)
- Enable MSA ASE for mips32r6-generic (Aleksandar)
- Convert Loongson LEXT opcodes to decodetree (Philippe)
- Introduce ase_3d_available and disas_mt_available helpers (Philippe)

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmcopxgACgkQ4+MsLN6t
# wN4DzQ//UPDSvcwCj6QIZ2TR2oKG5JIVRYrep7aUb+LdK1uus8P2G9REMnr1X/uC
# 817aiUC6fK/PJEGAo6dTCKrPnMz71YAHM2259jreQXVZtCzOEzU9Fg9RHBCrbzxP
# +kL+Sjzvnw3Kp0jVB1sgNn8PhKCkIVg9Go6tr4sXyTjINzsNbk78H6w3O4YlFOSX
# dbQLWDpFQQRvliiSJR5erQyELs1tVJt+76aab9mM7uWvSbpX/6O80bJ607fUFG8J
# t07c5u6aOU1MaZrGE5KO6G7BQwqYE/O3lGAd1akj8UMQNxJY8lrS+4bxH9+vjJTF
# ojRdTRGa2cXC1wxiifFphUNfJe2fH+Wvjtdpgnu3vdp17J0wbnJyw5PmZolS2RI6
# w9rAn1xnF2C/2HVZw37+Ghf+sdR9EgewgPAGoU1bKN4iQVE7FX1B4B6rIuq5Zxje
# l2EFyFzkVWFDd+uy62o6WdH8mgwlHySxUkDeUgLLJwjupVKKvm4FCs0r8CE3g5RZ
# GkHW6iOVg7QqR4OveGe3BGVK41Gex/iU7WNDWqQ2xqXDywnyFuTQVs/y2b7dPtMd
# dbcQ6a/zFQl+WdhhnE5S1Y4Pjfw0TQ/+nKd+jc8lme8eihUbPvETfDLk3j0JI9xd
# eXf4plnVMy33qvlLG4GVYzjYU+jNlGK1KCBcBFccFWasLo75Lyk=
# =Ocl+
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 04 Nov 2024 10:51:04 GMT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>" 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'mips-20241104' of https://github.com/philmd/qemu:
  target/mips: Remove unused CPUMIPSState::current_fpu field
  target/mips: Introduce disas_mt_available()
  target/mips: Introduce ase_3d_available() helper
  target/mips: Remove unreachable 32-bit code on 64-bit Loongson Ext
  target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree
  target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree
  target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree
  target/mips: Convert Loongson DIV.G opcodes to decodetree
  target/mips: Convert Loongson DDIV.G opcodes to decodetree
  target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP
  target/mips: Simplify Loongson MULTU.G opcode
  target/mips: Extract decode_64bit_enabled() helper
  target/mips: Enable MSA ASE for mips32r6-generic
  target/mips: Migrate TLB MemoryMapID register

Signed-off-by: Peter Maydell <[email protected]>


  Commit: 622b0efa377434fc12364e5290d14665fe5d2d52
      
https://github.com/qemu/qemu/commit/622b0efa377434fc12364e5290d14665fe5d2d52
  Author: Peter Maydell <[email protected]>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M qga/commands-posix.c
    M qga/commands-windows-ssh.c
    M qga/vss-win32/install.cpp
    M qga/vss-win32/provider.cpp
    M qga/vss-win32/requester.cpp

  Log Message:
  -----------
  Merge tag 'qga-pull-2024-11-4' of https://github.com/kostyanf14/qemu into 
staging

qga-pull-2024-11-4

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEwsLBCepDxjwUI+uE711egWG6hOcFAmcozUUACgkQ711egWG6
# hOeSgQ/9FJNPfiGyhbh9RqvAr3DJ8kUskEy7HFedJN0KQJW1U4+0QeMPot9A6Kju
# y+1KNKnLPRNSwB6HtbOKwiWGEg37cl0EeEwwxV8kteVlXLHTRguIHK7EXRahOq57
# oU+y2nZEaZeooHOfWsLgIXqxo3OtsYr1v7HZEvuBGakjJ5irSSdDXoZHzPIOJ36K
# JY7QdAbEgAfmoLP6LRIMQwbUkhColRPy3mVg5RUOjgYhFbLgCLpr56E5JlLu+J0z
# XWrUc8rvpiUYuXqNSNPSrkwhhkb6Wa1g99YA0yJLvnXVp1fG7Utm2Q+QIsKeUuTp
# p9jRVvX27dkfHMIQfG+s90NHt9SGCXGoTPVvd3ACpbZy9hCyFh48FzkyRAhrLiF0
# iZ4xAv5gjnne8i+RFJeAtMPh5N32LcnFOODnEbM17xAXWOMKvHqXVHGTiAF6I1mr
# iyNdPwfZ9rFH81SbsgAjhs5rjXSNIlwoJq2y7jyoNB0Z1/sGMzy/DlLGP+Xyw2Td
# snDXswQ62qgFl2Ea7Vd+adhAbjFkjqt+L5i+8I2c640w2tbTE3Q6v8QZuKCR/I+t
# N6nmiifCv0dq90yeBxP5Lq7vIowVKWJegMGSfWokts0UKMXTvYe3EA0LjtWB1zLS
# D0dHPtj5/iYrc6Hvu6Ciizb+kJVv5GBk1FAz7kz1AxkW366zSr8=
# =O2+e
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 04 Nov 2024 13:33:57 GMT
# gpg:                using RSA key C2C2C109EA43C63C1423EB84EF5D5E8161BA84E7
# gpg: Good signature from "Kostiantyn Kostiuk (Upstream PR sign) 
<[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: C2C2 C109 EA43 C63C 1423  EB84 EF5D 5E81 61BA 84E7

* tag 'qga-pull-2024-11-4' of https://github.com/kostyanf14/qemu:
  qemu-ga: Fix a SIGSEGV in ga_run_command() helper
  qga: fix missing static and prototypes windows warnings
  qga: fix -Wsometimes-uninitialized windows warning

Signed-off-by: Peter Maydell <[email protected]>


  Commit: 44a9394b1d272b53306d097d4bc20ff7ad14b159
      
https://github.com/qemu/qemu/commit/44a9394b1d272b53306d097d4bc20ff7ad14b159
  Author: Peter Maydell <[email protected]>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M hw/nvme/ctrl.c
    M hw/nvme/dif.c
    M hw/nvme/ns.c
    M hw/nvme/nvme.h
    M hw/nvme/trace-events
    M include/block/nvme.h

  Log Message:
  -----------
  Merge tag 'pull-nvme-20241104' of https://gitlab.com/birkelund/qemu into 
staging

nvme queue

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmcpDm8ACgkQTeGvMW1P
# DenpLQgAjpk5tN8oYQKxJVu8qO3RUDatlIXgaZ8ljDSZVIB3cg/qh36qByt2iZNK
# FC7oLl/Yl44FHF+6ScWJBcSjXuVkQ/aT8UA1pYbTb9wcURB8atMG9IJxmQuhjlnl
# hgvDbpLwyHb4eVuWwA2aKukGZtYyhUcJIoP2RN8wugwg5T7I6R/eaiBG3kCCqIHB
# xshgEPIWModzGKR8i6NawhIhFFc3icOabB15QHYwA69BuAK69O9XNlVut2oMLquS
# Lv9INkAtYQtqHHvUJGsgcQcTS8vxBGR+TFk05heiThgu2f9kGLu+lV1Ud3WBWeW1
# 6Kt4N1WF9hw6Y4I8pGzEs8C49marFg==
# =0S/1
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 04 Nov 2024 18:11:59 GMT
# gpg:                using RSA key 522833AA75E2DCE6A24766C04DE1AF316D4F0DE9
# gpg: Good signature from "Klaus Jensen <[email protected]>" [full]
# gpg:                 aka "Klaus Jensen <[email protected]>" [full]
# Primary key fingerprint: DDCA 4D9C 9EF9 31CC 3468  4272 63D5 6FC5 E55D A838
#      Subkey fingerprint: 5228 33AA 75E2 DCE6 A247  66C0 4DE1 AF31 6D4F 0DE9

* tag 'pull-nvme-20241104' of https://gitlab.com/birkelund/qemu:
  hw/nvme: remove dead code
  hw/nvme: add NPDAL/NPDGL
  hw/nvme: i/o cmd set independent namespace data structure

Signed-off-by: Peter Maydell <[email protected]>


Compare: https://github.com/qemu/qemu/compare/9a7b0a8618b1...44a9394b1d27

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

Reply via email to