Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 007531586aa8ef6dccdadd927b89a50af62288d1
      
https://github.com/qemu/qemu/commit/007531586aa8ef6dccdadd927b89a50af62288d1
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: use a native non-cross compiler for linux-user

Commit c2118e9e1ab ("configure: don't try a "native" cross for linux-user",
2023-11-23) sought to avoid issues with using the native compiler with a
cross-endian or cross-bitness setup.  However, in doing so it ended up
requiring a cross compiler setup (and most likely a slow compiler setup)
even when building TCG tests that are native to the host architecture.
Always allow the host compiler in that case.

Cc: qemu-sta...@nongnu.org
Fixes: c2118e9e1ab ("configure: don't try a "native" cross for linux-user", 
2023-11-23)
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 6032627f07a1632114f09612c80cf806ba03de4a
      
https://github.com/qemu/qemu/commit/6032627f07a1632114f09612c80cf806ba03de4a
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: optimize computation of JL and JLE from flags

Take advantage of the fact that there can be no 1 bits between SF and OF.
If they were adjacent, you could sum SF and get a carry only if SF was
already set.  Then the value of OF in the sum is the XOR of OF itself,
the carry (which is SF) and 0 (the value of the OF bit in the addend):
this is OF^SF exactly.

Because OF and SF are not adjacent, just place more 1 bits to the
left so that the carry propagates, which means summing CC_O - CC_S.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 1e7dde8008e4973faed3c6a0d7a909cc35cbdf74
      
https://github.com/qemu/qemu/commit/1e7dde8008e4973faed3c6a0d7a909cc35cbdf74
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: speedup JO/SETO after MUL or IMUL

OF is equal to the carry flag, so use the same CCPrepare.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 83280f6a621c6a1aca54cc751e713d9567a9f5b2
      
https://github.com/qemu/qemu/commit/83280f6a621c6a1aca54cc751e713d9567a9f5b2
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/excp_helper.c
    M target/i386/tcg/helper-tcg.h
    M target/i386/tcg/misc_helper.c

  Log Message:
  -----------
  target/i386: remove unnecessary arguments from raise_interrupt

is_int is always 1, and error_code is always zero.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 8cc746525cf7961dc4dbd144b678a1c036aa3647
      
https://github.com/qemu/qemu/commit/8cc746525cf7961dc4dbd144b678a1c036aa3647
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/emit.c.inc
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: remove unnecessary truncations

gen_lea_v_seg (called by gen_add_A0_ds_seg) already zeroes any
bits of s->A0 beyond s->aflag.  It does so before summing the
segment base and, if not in 64-bit mode, also after summing it.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 2455e9cf5ac74fb42224309aa93ee8c3fd4b23e0
      
https://github.com/qemu/qemu/commit/2455e9cf5ac74fb42224309aa93ee8c3fd4b23e0
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/cpu.h
    M target/i386/tcg/cc_helper.c
    M target/i386/tcg/fpu_helper.c
    M target/i386/tcg/int_helper.c
    M target/i386/tcg/misc_helper.c
    M target/i386/tcg/seg_helper.c

  Log Message:
  -----------
  target/i386: clean up cpu_cc_compute_all

cpu_cc_compute_all() has an argument that is always equal to CC_OP for 
historical
reasons (dating back to commit a7812ae4123, "TCG variable type checking.", 
2008-11-17,
which added the argument to helper_cc_compute_all).  It does not make sense for 
the
argument to have any other value, so remove it and clean up some lines that are 
not
too long anymore.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 8147df44daea383256964d2aeeed14bcfc8f63ce
      
https://github.com/qemu/qemu/commit/8147df44daea383256964d2aeeed14bcfc8f63ce
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/decode-new.c.inc

  Log Message:
  -----------
  target/i386: document more deviations from the manual

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: b609db947752f0cc48471127d2abaff444dc836b
      
https://github.com/qemu/qemu/commit/b609db947752f0cc48471127d2abaff444dc836b
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/decode-new.c.inc
    M target/i386/tcg/decode-new.h
    M target/i386/tcg/emit.c.inc

  Log Message:
  -----------
  target/i386: reimplement check for validity of LOCK prefix

The previous check erroneously allowed CMP to be modified with LOCK.
Instead, tag explicitly the instructions that do support LOCK.

Acked-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 6dd2afed55320eef86873531fe05185be750727f
      
https://github.com/qemu/qemu/commit/6dd2afed55320eef86873531fe05185be750727f
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/emit.c.inc

  Log Message:
  -----------
  target/i386: avoid trunc and ext for MULX and RORX

Use _tl operations for 32-bit operands on 32-bit targets, and only go
through trunc and extu ops for 64-bit targets.  While the trunc/ext
ops should be pretty much free after optimization, the optimizer also
does not like having the same temporary used in multiple EBBs.
Therefore it is nicer to not use tmpN* unless necessary.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 5baf5641cc82fe18e98c1063d8682be9cdcae85c
      
https://github.com/qemu/qemu/commit/5baf5641cc82fe18e98c1063d8682be9cdcae85c
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/decode-new.c.inc
    M target/i386/tcg/decode-new.h

  Log Message:
  -----------
  target/i386: rename zext0/zext2 and make them closer to the manual

X86_SPECIAL_ZExtOp0 and X86_SPECIAL_ZExtOp2 are poorly named; they are a hack
that is needed by scalar insertion and extraction instructions, and not really
related to zero extension: for PEXTR the zero extension is done by the 
generation
functions, for PINSR the high bits are not used at all and in fact are *not*
filled with zeroes when loaded into s->T1.

Rename the values to match the effect described in the manual, and explain
better in the comments.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 8a36bbcf6c1769b1b5edb24cc4ceb2eb368446d5
      
https://github.com/qemu/qemu/commit/8a36bbcf6c1769b1b5edb24cc4ceb2eb368446d5
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/decode-new.c.inc
    M target/i386/tcg/decode-new.h
    M target/i386/tcg/emit.c.inc

  Log Message:
  -----------
  target/i386: add X86_SPECIALs for MOVSX and MOVZX

Usually the registers are just moved into s->T0 without much care for
their operand size.  However, in some cases we can get more efficient
code if the operand fetching logic syncs with the emission function
on what is nicer.

All the current uses are mostly demonstrative and only reduce the code
in the emission functions, because the instructions do not support
memory operands.  However the logic is generic and applies to several
more instructions such as MOVSXD (aka movslq), one-byte shift
instructions, multiplications, XLAT, and indirect calls/jumps.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: a71e0b246accc4dc11616580d7232fbf4b782dac
      
https://github.com/qemu/qemu/commit/a71e0b246accc4dc11616580d7232fbf4b782dac
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/decode-new.c.inc

  Log Message:
  -----------
  target/i386: do not decode string source/destination into decode->mem

decode->mem is only used if one operand has has_ea == true.  String
operations will not use decode->mem and will load A0 on their own, because
they are the only case of two memory operands in a single instruction.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 24c0573bb0c3f55c47926e3cb047a716608cd113
      
https://github.com/qemu/qemu/commit/24c0573bb0c3f55c47926e3cb047a716608cd113
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: do not clobber A0 in POP translation

The new decoder likes to compute the address in A0 very early, so the
gen_lea_v_seg in gen_pop_T0 would clobber the address of the memory
operand.  Instead use T0 since it is already available and will be
overwritten immediately after.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: c0099cd40e368d8a8505c93813bffdd752c2b859
      
https://github.com/qemu/qemu/commit/c0099cd40e368d8a8505c93813bffdd752c2b859
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: do not clobber T0 on string operations

The new decoder would rather have the operand in T0 when expanding SCAS, rather
than use R_EAX directly as gen_scas currently does.  This makes SCAS more 
similar
to CMP and SUB, in that CC_DST = T0 - T1.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 80e55f54ac186e01a74a69d51f225ab6afefb4c6
      
https://github.com/qemu/qemu/commit/80e55f54ac186e01a74a69d51f225ab6afefb4c6
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: split eflags computation out of gen_compute_eflags

The new x86 decoder wants the gen_* functions to compute EFLAGS before
writeback, which can be an issue for instructions with a memory
destination such as ARPL or shifts.

Extract code to compute the EFLAGS without clobbering CC_SRC, in case
the memory write causes a fault.  The flags writeback mechanism will
take care of copying the result to CC_SRC.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 1ec46bf2378fcc8a5a08d0ca062a96a0f6bc3a8c
      
https://github.com/qemu/qemu/commit/1ec46bf2378fcc8a5a08d0ca062a96a0f6bc3a8c
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: do not use s->tmp4 for push

Just create a temporary for the occasion.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 9a5922d6bdc3e047fbe52178104f9b06604f901a
      
https://github.com/qemu/qemu/commit/9a5922d6bdc3e047fbe52178104f9b06604f901a
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: do not use s->tmp0 for jumps on ECX ==/!= 0

Create a new temporary, to ease the register allocator's work.

Creation of the temporary is pushed into gen_ext_tl, which
also allows NULL as the first parameter now.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 3497f1646f603c396248451c6df8f9d979060351
      
https://github.com/qemu/qemu/commit/3497f1646f603c396248451c6df8f9d979060351
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: prepare for implementation of STOS/SCAS in new decoder

Do not use gen_op, and pull the load from the accumulator into
disas_insn.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: d4f611711a9abe23616d6d965fba955340d11d0d
      
https://github.com/qemu/qemu/commit/d4f611711a9abe23616d6d965fba955340d11d0d
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

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

  Log Message:
  -----------
  target/i386: move operand load and writeback out of gen_cmovcc1

Similar to gen_setcc1, make gen_cmovcc1 receive TCGv.  This is more friendly
to simultaneous implementation in the old and the new decoder.

A small wart is that s->T0 of CMOV is currently the *second* argument (which
would ordinarily be in T1).  Therefore, the condition has to be inverted in
order to overwrite s->T0 with cpu_regs[reg] if the MOV is not performed.

This only applies to the old decoder, and this code will go away soon.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 4b2baf4a555620f29e75b8194ce2d4fed07a58d0
      
https://github.com/qemu/qemu/commit/4b2baf4a555620f29e75b8194ce2d4fed07a58d0
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/tcg/decode-new.c.inc

  Log Message:
  -----------
  target/i386: adjust decoding of J operand

gen_jcc() has been changed to accept a relative offset since the
new decoder was written.  Adjust the J operand, which is meant
to be used with jump instructions such as gen_jcc(), to not
include the program counter and to not truncate the result, as
both operations are now performed by common code.

The result is that J is now the same as the I operand.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: e7bbb7cb71b3001c54f23c66848d84e694c47243
      
https://github.com/qemu/qemu/commit/e7bbb7cb71b3001c54f23c66848d84e694c47243
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/cpu.h
    M target/i386/tcg/decode-new.c.inc
    M target/i386/tcg/decode-new.h
    M target/i386/tcg/emit.c.inc
    M tests/tcg/i386/Makefile.target
    A tests/tcg/i386/test-flags.c

  Log Message:
  -----------
  target/i386: introduce flags writeback mechanism

ALU instructions can write to both memory and flags.  If the CC_SRC*
and CC_DST locations have been written already when a memory access
causes a fault, the value in CC_SRC* and CC_DST might be interpreted
with the wrong CC_OP (the one that is in effect before the instruction.

Besides just using the wrong result for the flags, something like
subtracting -1 can have disastrous effects if the current CC_OP is
CC_OP_EFLAGS: this is because QEMU does not expect bits outside the ALU
flags to be set in CC_SRC, and env->eflags can end up set to all-ones.
In the case of the attached testcase, this sets IOPL to 3 and would
cause an assertion failure if SUB is moved to the new decoder.

This mechanism is not really needed for BMI instructions, which can
only write to a register, but put it to use anyway for cleanliness.
In the case of BZHI, the code has to be modified slightly to ensure
that decode->cc_src is written, otherwise the new assertions trigger.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 405c7c07082b4f9d11500659c849657297f0d065
      
https://github.com/qemu/qemu/commit/405c7c07082b4f9d11500659c849657297f0d065
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-29 (Fri, 29 Dec 2023)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/tcg/decode-new.c.inc
    M target/i386/tcg/decode-new.h
    M target/i386/tcg/emit.c.inc
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: implement CMPccXADD

The main difficulty here is that a page fault when writing to the destination
must not overwrite the flags.  Therefore, the flags computation must be
inlined instead of using gen_jcc1*.

For simplicity, I am using an unconditional cmpxchg operation, that becomes
a NOP if the comparison fails.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 219615740425d9683588207b40a365e6741691a6
      
https://github.com/qemu/qemu/commit/219615740425d9683588207b40a365e6741691a6
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M hw/i386/sgx-stub.c

  Log Message:
  -----------
  target/i386: the sgx_epc_get_section stub is reachable

The sgx_epc_get_section stub is reachable from cpu_x86_cpuid.  It
should not assert, instead it should just return true just like
the "real" sgx_epc_get_section does when SGX is disabled.

Reported-by: Vladimír Beneš <vbe...@redhat.com>
Cc: qemu-sta...@nongnu.org
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
Message-ID: <20220201190941.106001-1-pbonz...@redhat.com>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: b22f83d8df481800ce43d1915a98c127a9de2258
      
https://github.com/qemu/qemu/commit/b22f83d8df481800ce43d1915a98c127a9de2258
  Author: Alexandra Diupina <adiup...@astralinux.ru>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M hw/scsi/esp.c

  Log Message:
  -----------
  esp: check for NULL result from scsi_device_find()

Add a 'current_lun' check for a null value
to avoid null pointer dereferencing and
recover host if NULL return

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 4eb8606560 (esp: store lun coming from the MESSAGE OUT phase)
Signed-off-by: Alexandra Diupina <adiup...@astralinux.ru>
Message-ID: <20231229152647.19699-1-adiup...@astralinux.ru>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 2bbc4875108d5bf1ba59d6c4174234c0d7998f65
      
https://github.com/qemu/qemu/commit/2bbc4875108d5bf1ba59d6c4174234c0d7998f65
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson_options.txt

  Log Message:
  -----------
  meson: fix type of "relocatable" option

Since the option is of boolean type, the default value should be a boolean
rather than a string.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 781fa471b08e5b3d02f2d38c254a711948a70366
      
https://github.com/qemu/qemu/commit/781fa471b08e5b3d02f2d38c254a711948a70366
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M tests/bench/meson.build

  Log Message:
  -----------
  meson: remove unused variable

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 7b47b13ea1672de7a0877156ed82b4a84c8a5c64
      
https://github.com/qemu/qemu/commit/7b47b13ea1672de7a0877156ed82b4a84c8a5c64
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M qga/meson.build

  Log Message:
  -----------
  meson: use version_compare() to compare version

While a simple lexicographic comparison usually works, it is less
robust than a more specific algorithm designed to compare versions.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: c7e618d4d40603584f65a7e251e28e9b9ceac2b6
      
https://github.com/qemu/qemu/commit/c7e618d4d40603584f65a7e251e28e9b9ceac2b6
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M Makefile
    M configure

  Log Message:
  -----------
  Makefile: clean qemu-iotests output

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 606c3ba7a20bd4770b53298e916db498e4338843
      
https://github.com/qemu/qemu/commit/606c3ba7a20bd4770b53298e916db498e4338843
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: remove unnecessary subshell

Do not use a subshell to hide the shadowing of $config_host_mak.

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: d3322023bfef4dab955aaa9ea114a3e6d06a8752
      
https://github.com/qemu/qemu/commit/d3322023bfef4dab955aaa9ea114a3e6d06a8752
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: unify again the case arms in probe_target_compiler

Remove assignments that match the default, and group the
targets for debian-legacy-test-cross and debian-all-test-cross
into a single arm.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: ea444d91e56f8d4917affd6eed593a8fac7dca08
      
https://github.com/qemu/qemu/commit/ea444d91e56f8d4917affd6eed593a8fac7dca08
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: add more sections to main meson.build

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 44458a6158a29ae36a86af76acefeb2c2bd19e91
      
https://github.com/qemu/qemu/commit/44458a6158a29ae36a86af76acefeb2c2bd19e91
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: move program checks together

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: a9cba054cf57fba52f7805d093c4d6b0f02261a0
      
https://github.com/qemu/qemu/commit/a9cba054cf57fba52f7805d093c4d6b0f02261a0
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: move option validation together

Check options before compiler flags, because some compiler flags are
incompatible with modules.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 0f63d96311188e05273021cb9ad4bb4d97b1a713
      
https://github.com/qemu/qemu/commit/0f63d96311188e05273021cb9ad4bb4d97b1a713
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: move accelerator dependency checks together

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: a775c7130cd1e487b3d46163569dad0f5396a40c
      
https://github.com/qemu/qemu/commit/a775c7130cd1e487b3d46163569dad0f5396a40c
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: keep subprojects together

And move away dependencies that are not subprojects anymore.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 82761296d2dc19589c92bf3077780159b6f1dee8
      
https://github.com/qemu/qemu/commit/82761296d2dc19589c92bf3077780159b6f1dee8
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: move CFI detection code with other compiler flags

Keep it together with the other compiler modes, and before dependencies.

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 95933f13a0933e30f5415678470a6b7e8af5ddc2
      
https://github.com/qemu/qemu/commit/95933f13a0933e30f5415678470a6b7e8af5ddc2
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: move config-host.h definitions together

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 9cd76c9111004f3e5d375f8b60d078eb4f742b0d
      
https://github.com/qemu/qemu/commit/9cd76c9111004f3e5d375f8b60d078eb4f742b0d
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: move subdirs to "Collect sources" section

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: e7c22ff87aa3a71e6cad1e88c2651dde8c7d504b
      
https://github.com/qemu/qemu/commit/e7c22ff87aa3a71e6cad1e88c2651dde8c7d504b
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: always probe u2f and canokey if the option is enabled

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 53e8868d69c195b6b57ccc6847057043c26df1b6
      
https://github.com/qemu/qemu/commit/53e8868d69c195b6b57ccc6847057043c26df1b6
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M accel/tcg/meson.build
    M backends/meson.build
    M block/meson.build
    M fsdev/meson.build
    M hw/9pfs/meson.build
    M hw/display/meson.build
    M hw/ppc/meson.build
    M hw/usb/meson.build
    M meson.build
    M net/can/meson.build
    M qga/meson.build
    M scsi/meson.build
    M system/meson.build
    M ui/meson.build
    M util/meson.build

  Log Message:
  -----------
  meson: remove OS definitions from config_targetos

CONFIG_DARWIN, CONFIG_LINUX and CONFIG_BSD are used in some rules, but
only CONFIG_LINUX has substantial use.  Convert them all to if...endif.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: dc4954943d3adc82c4052aed592f2dc5a14c3fc7
      
https://github.com/qemu/qemu/commit/dc4954943d3adc82c4052aed592f2dc5a14c3fc7
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M backends/meson.build
    M block/meson.build
    M chardev/meson.build
    M hw/usb/meson.build
    M meson.build
    M qga/meson.build
    M ui/meson.build
    M util/meson.build

  Log Message:
  -----------
  meson: remove CONFIG_POSIX and CONFIG_WIN32 from config_targetos

For consistency with other OSes, use if...endif for rules that are
target-independent.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 1220f5813a7e1c4ff9cf7ffa189f979be3801044
      
https://github.com/qemu/qemu/commit/1220f5813a7e1c4ff9cf7ffa189f979be3801044
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M chardev/meson.build
    M gdbstub/meson.build
    M meson.build
    M qga/meson.build
    M storage-daemon/meson.build
    M tcg/meson.build
    M tests/qtest/meson.build

  Log Message:
  -----------
  meson: remove config_targetos

config_targetos is now empty and can be removed; its use in sourcesets
that do not involve target-specific files can be replaced with an empty
dictionary.

In fact, at this point *all* sourcesets that do not involve
target-specific files are just glorified mutable arrays.  Enforce that
they never test for symbols in "when:" by computing the set of files
without "strict: false".

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 0d66549cf5b76bde9870af0d09a46d6d6c306e53
      
https://github.com/qemu/qemu/commit/0d66549cf5b76bde9870af0d09a46d6d6c306e53
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M docs/devel/build-system.rst
    M fsdev/meson.build
    M hw/acpi/meson.build
    M hw/cxl/meson.build
    M hw/display/meson.build
    M hw/mem/meson.build
    M hw/net/meson.build
    M hw/pci-bridge/meson.build
    M hw/pci/meson.build
    M hw/remote/meson.build
    M hw/smbios/meson.build
    M hw/virtio/meson.build
    M meson.build
    M net/meson.build

  Log Message:
  -----------
  meson: remove CONFIG_ALL

CONFIG_ALL is tricky to use and was ported over to Meson from the
recursive processing of Makefile variables.  Meson sourcesets
however have all_sources() and all_dependencies() methods that
remove the need for it.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: cfc1a889e509ffeba6e44cca8ff626751bc4219e
      
https://github.com/qemu/qemu/commit/cfc1a889e509ffeba6e44cca8ff626751bc4219e
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M hw/mips/meson.build
    M meson.build
    M target/arm/meson.build
    M target/mips/meson.build
    M tests/fp/meson.build
    M tests/meson.build
    M tests/qtest/meson.build

  Log Message:
  -----------
  meson: rename config_all

config_all now lists only accelerators, rename it to indicate its actual
content.

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b
      
https://github.com/qemu/qemu/commit/d0cda6f461fd33c5f9b063781c63c1ce5fd3fa3b
  Author: Paolo Bonzini <pbonz...@redhat.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M accel/tcg/meson.build
    M backends/meson.build
    M block/meson.build
    M bsd-user/meson.build
    M chardev/meson.build
    M configure
    M contrib/ivshmem-client/meson.build
    M contrib/ivshmem-server/meson.build
    M contrib/vhost-user-blk/meson.build
    M contrib/vhost-user-input/meson.build
    M contrib/vhost-user-scsi/meson.build
    M docs/devel/kconfig.rst
    M fsdev/meson.build
    M hw/9pfs/meson.build
    M hw/display/meson.build
    M hw/ppc/meson.build
    M hw/usb/meson.build
    M meson.build
    M net/can/meson.build
    M net/meson.build
    M plugins/meson.build
    M qga/meson.build
    M scsi/meson.build
    M system/meson.build
    M tests/fp/meson.build
    M tests/meson.build
    M tests/plugin/meson.build
    M tests/qemu-iotests/meson.build
    M tests/qtest/meson.build
    M tests/unit/meson.build
    M ui/dbus-display1.xml
    M ui/meson.build
    M util/meson.build

  Log Message:
  -----------
  configure, meson: rename targetos to host_os

This variable is about the host OS, not the target.  It is used a lot
more since the Meson conversion, but the original sin dates back to 2003.
Time to fix it.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: f705c1f25d9a075534f8279048082af4ce2066bf
      
https://github.com/qemu/qemu/commit/f705c1f25d9a075534f8279048082af4ce2066bf
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson.build: report graphics backends separately

To enable accelerated VirtIO GPUs for the guest we need the rendering
support on the host, which currently it's reported in the configuration
summary under the "dependencies" section. Add a graphics backend section
and report the status of the VirGL and Rutabaga support libraries.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Message-ID: <20231222114846.2850741-1-alex.ben...@linaro.org>
[Remove from dependencies as suggested by Philippe. - Paolo]
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>


  Commit: 05470c3979d5485003e129ff4b0c2ef98af91d86
      
https://github.com/qemu/qemu/commit/05470c3979d5485003e129ff4b0c2ef98af91d86
  Author: Peter Maydell <peter.mayd...@linaro.org>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M Makefile
    M accel/tcg/meson.build
    M backends/meson.build
    M block/meson.build
    M bsd-user/meson.build
    M chardev/meson.build
    M configure
    M contrib/ivshmem-client/meson.build
    M contrib/ivshmem-server/meson.build
    M contrib/vhost-user-blk/meson.build
    M contrib/vhost-user-input/meson.build
    M contrib/vhost-user-scsi/meson.build
    M docs/devel/build-system.rst
    M docs/devel/kconfig.rst
    M fsdev/meson.build
    M gdbstub/meson.build
    M hw/9pfs/meson.build
    M hw/acpi/meson.build
    M hw/cxl/meson.build
    M hw/display/meson.build
    M hw/i386/sgx-stub.c
    M hw/mem/meson.build
    M hw/mips/meson.build
    M hw/net/meson.build
    M hw/pci-bridge/meson.build
    M hw/pci/meson.build
    M hw/ppc/meson.build
    M hw/remote/meson.build
    M hw/scsi/esp.c
    M hw/smbios/meson.build
    M hw/usb/meson.build
    M hw/virtio/meson.build
    M meson.build
    M meson_options.txt
    M net/can/meson.build
    M net/meson.build
    M plugins/meson.build
    M qga/meson.build
    M scsi/meson.build
    M storage-daemon/meson.build
    M system/meson.build
    M target/arm/meson.build
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/tcg/cc_helper.c
    M target/i386/tcg/decode-new.c.inc
    M target/i386/tcg/decode-new.h
    M target/i386/tcg/emit.c.inc
    M target/i386/tcg/excp_helper.c
    M target/i386/tcg/fpu_helper.c
    M target/i386/tcg/helper-tcg.h
    M target/i386/tcg/int_helper.c
    M target/i386/tcg/misc_helper.c
    M target/i386/tcg/seg_helper.c
    M target/i386/tcg/translate.c
    M target/mips/meson.build
    M tcg/meson.build
    M tests/bench/meson.build
    M tests/fp/meson.build
    M tests/meson.build
    M tests/plugin/meson.build
    M tests/qemu-iotests/meson.build
    M tests/qtest/meson.build
    M tests/tcg/i386/Makefile.target
    A tests/tcg/i386/test-flags.c
    M tests/unit/meson.build
    M ui/dbus-display1.xml
    M ui/meson.build
    M util/meson.build

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

* configure: use a native non-cross compiler for linux-user
* meson: cleanups
* target/i386: miscellaneous cleanups and optimizations
* target/i386: implement CMPccXADD
* target/i386: the sgx_epc_get_section stub is reachable
* esp: check for NULL result from scsi_device_find()

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmWRImYUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroNd7AgAgcyJGiMfUkXqhefplpm06RDXQIa8
# FuoJqPb21lO75DQKfaFRAc4xGLagjJROMJGHMm9HvMu2VlwvOydkQlfFRspENxQ/
# 5XzGdb/X0A7HA/mwUfnMB1AZx0Vs32VI5IBSc6acc9fmgeZ84XQEoM3KBQHUik7X
# mSkE4eltR9gJ+4IaGo4voZtK+YoVD8nEcuqmnKihSPWizev0FsZ49aNMtaYa9qC/
# Xs3kiQd/zPibHDHJu0ulFsNZgxtUcvlLHTCf8gO4dHWxCFLXGubMush83McpRtNB
# Qoh6cTLH+PBXfrxMR3zmTZMNvo8Euls3s07Y8TkNP4vdIIE/kMeMDW1wJw==
# =mq30
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 31 Dec 2023 08:12:22 GMT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonz...@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonz...@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonz...@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (46 commits)
  meson.build: report graphics backends separately
  configure, meson: rename targetos to host_os
  meson: rename config_all
  meson: remove CONFIG_ALL
  meson: remove config_targetos
  meson: remove CONFIG_POSIX and CONFIG_WIN32 from config_targetos
  meson: remove OS definitions from config_targetos
  meson: always probe u2f and canokey if the option is enabled
  meson: move subdirs to "Collect sources" section
  meson: move config-host.h definitions together
  meson: move CFI detection code with other compiler flags
  meson: keep subprojects together
  meson: move accelerator dependency checks together
  meson: move option validation together
  meson: move program checks together
  meson: add more sections to main meson.build
  configure: unify again the case arms in probe_target_compiler
  configure: remove unnecessary subshell
  Makefile: clean qemu-iotests output
  meson: use version_compare() to compare version
  ...

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


Compare: https://github.com/qemu/qemu/compare/d328fef93ae7...05470c3979d5


Reply via email to