qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 0d4bca: target/i386: decode-new: avoid out-of


From: Paolo Bonzini
Subject: [Qemu-commits] [qemu/qemu] 0d4bca: target/i386: decode-new: avoid out-of-bounds acces...
Date: Mon, 24 Oct 2022 14:07:13 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 0d4bcac3cac461798d810e6df54768d9613ea794
      
https://github.com/qemu/qemu/commit/0d4bcac3cac461798d810e6df54768d9613ea794
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

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

  Log Message:
  -----------
  target/i386: decode-new: avoid out-of-bounds access to xmm_regs[-1]

If the destination is a memory register, op->n is -1.  Going through
tcg_gen_gvec_dup_imm path is both useless (the value has been stored
by the gen_* function already) and wrong because of the out-of-bounds
access.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 314d3eff66f41f39191aaca2e5f6e3dc81480c1b
      
https://github.com/qemu/qemu/commit/314d3eff66f41f39191aaca2e5f6e3dc81480c1b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M target/i386/ops_sse.h
    M target/i386/tcg/fpu_helper.c

  Log Message:
  -----------
  target/i386: introduce function to set rounding mode from FPCW or MXCSR bits

VROUND, FSTCW and STMXCSR all have to perform the same conversion from
x86 rounding modes to softfloat constants.  Since the ISA is consistent
on the meaning of the two-bit rounding modes, extract the common code
into a wrapper for set_float_rounding_mode.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: cf5ec6641ed456e2748b211b7bbf5103bfc93098
      
https://github.com/qemu/qemu/commit/cf5ec6641ed456e2748b211b7bbf5103bfc93098
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/ops_sse.h
    M target/i386/ops_sse_header.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/test-avx.c
    M tests/tcg/i386/test-avx.py

  Log Message:
  -----------
  target/i386: implement F16C instructions

F16C only consists of two instructions, which are a bit peculiar
nevertheless.

First, they access only the low half of an YMM or XMM register for the
packed-half operand; the exact size still depends on the VEX.L flag.
This is similar to the existing avx_movx flag, but not exactly because
avx_movx is hardcoded to affect operand 2.  To this end I added a "ph"
format name; it's possible to reuse this approach for the VPMOVSX and
VPMOVZX instructions, though that would also require adding two more
formats for the low-quarter and low-eighth of an operand.

Second, VCVTPS2PH is somewhat weird because it *stores* the result of
the instruction into memory rather than loading it.

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


  Commit: 693869a66ed7b49f2c790d88a25fc3d0ec791e0c
      
https://github.com/qemu/qemu/commit/693869a66ed7b49f2c790d88a25fc3d0ec791e0c
  Author: Jason A. Donenfeld <Jason@zx2c4.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M hw/m68k/q800.c
    M hw/m68k/virt.c
    M include/standard-headers/asm-m68k/bootinfo-virt.h
    M include/standard-headers/asm-m68k/bootinfo.h

  Log Message:
  -----------
  m68k: rework BI_VIRT_RNG_SEED as BI_RNG_SEED

Following a change on the kernel side (see link), pass BI_RNG_SEED
instead of BI_VIRT_RNG_SEED. This should have no impact on
compatibility, as there will simply be no effect if it's an old kernel,
which is how things have always been. We then use this as an opportunity
to add this to q800, since now we can, which is a nice improvement.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Laurent Vivier <laurent@vivier.eu>
Link: https://lore.kernel.org/lkml/20220923170340.4099226-3-Jason@zx2c4.com/
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-Id: <20220926113900.1256630-1-Jason@zx2c4.com>
[lv: s/^I/         /g]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 2872b0f390c3fbd8f19f6b82da3dca15fa820118
      
https://github.com/qemu/qemu/commit/2872b0f390c3fbd8f19f6b82da3dca15fa820118
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/ops_sse.h
    M target/i386/ops_sse_header.h
    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
    M tests/tcg/i386/test-avx.py

  Log Message:
  -----------
  target/i386: implement FMA instructions

The only issue with FMA instructions is that there are _a lot_ of them (30
opcodes, each of which comes in up to 4 versions depending on VEX.W and
VEX.L; a total of 96 possibilities).  However, they can be implement with
only 6 helpers, two for scalar operations and four for packed operations.
(Scalar versions do not do any merging; they only affect the bottom 32
or 64 bits of the output operand.  Therefore, there is no separate XMM
and YMM of the scalar helpers).

First, we can reduce the number of helpers to one third by passing four
operands (one output and three inputs); the reordering of which operands
go to the multiply and which go to the add is done in emit.c.

Second, the different instructions also dispatch to the same softfloat
function, so the flags for float32_muladd and float64_muladd are passed
in the helper as int arguments, with a little extra complication to
handle FMADDSUB and FMSUBADD.

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


  Commit: 281ac13ecedf8bfe1b83e566f39cb5683e553cb6
      
https://github.com/qemu/qemu/commit/281ac13ecedf8bfe1b83e566f39cb5683e553cb6
  Author: Jason A. Donenfeld <Jason@zx2c4.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M hw/m68k/bootinfo.h
    M hw/m68k/q800.c
    M hw/m68k/virt.c

  Log Message:
  -----------
  m68k: write bootinfo as rom section and re-randomize on reboot

Rather than poking directly into RAM, add the bootinfo block as a proper
ROM, so that it's restored when rebooting the system. This way, if the
guest corrupts any of the bootinfo items, but then tries to reboot,
it'll still be restored back to normal as expected.

Then, since the RNG seed needs to be fresh on each boot, regenerate the
RNG seed in the ROM when reseting the CPU.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-Id: <20221023191340.36238-1-Jason@zx2c4.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: f723f626627fda681327075105701695d7c630e5
      
https://github.com/qemu/qemu/commit/f723f626627fda681327075105701695d7c630e5
  Author: Bin Meng <bin.meng@windriver.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M fsdev/virtfs-proxy-helper.c

  Log Message:
  -----------
  fsdev/virtfs-proxy-helper: Use g_mkdir()

Use g_mkdir() to create a directory on all platforms.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20220927110632.1973965-27-bmeng.cn@gmail.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>


  Commit: 684f912034395a4958600a3ccca972db5d31be94
      
https://github.com/qemu/qemu/commit/684f912034395a4958600a3ccca972db5d31be94
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/meson.build
    A tests/qtest/libqos/virtio-9p-client.c
    A tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: split virtio-9p-test.c into tests and 9p client part

This patch is pure refactoring, it does not change behaviour.

virtio-9p-test.c grew to 1657 lines. Let's split this file up between
actual 9p test cases vs. 9p test client, to make it easier to
concentrate on the actual 9p tests.

Move the 9p test client code to a new unit virtio-9p-client.c, which
are basically all functions and types prefixed with v9fs_* already.

Note that some client wrapper functions (do_*) are preserved in
virtio-9p-test.c, simply because these wrapper functions are going to
be wiped with subsequent patches anyway.

As the global QGuestAllocator variable is moved to virtio-9p-client.c,
add a new function v9fs_set_allocator() to be used by virtio-9p-test.c
instead of fiddling with a global variable across units and libraries.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <E1odrya-0004Fv-97@lizzy.crudebyte.com>


  Commit: f5265c8f917ea8c71a30e549b7e3017c1038db63
      
https://github.com/qemu/qemu/commit/f5265c8f917ea8c71a30e549b7e3017c1038db63
  Author: Linus Heckemann <git@sphalerite.org>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M hw/9pfs/9p.c
    M hw/9pfs/9p.h

  Log Message:
  -----------
  9pfs: use GHashTable for fid table

The previous implementation would iterate over the fid table for
lookup operations, resulting in an operation with O(n) complexity on
the number of open files and poor cache locality -- for every open,
stat, read, write, etc operation.

This change uses a hashtable for this instead, significantly improving
the performance of the 9p filesystem. The runtime of NixOS's simple
installer test, which copies ~122k files totalling ~1.8GiB from 9p,
decreased by a factor of about 10.

Signed-off-by: Linus Heckemann <git@sphalerite.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
[CS: - Retain BUG_ON(f->clunked) in get_fid().
     - Add TODO comment in clunk_fid(). ]
Message-Id: <20221004104121.713689-1-git@sphalerite.org>
[CS: - Drop unnecessary goto and out: label. ]
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>


  Commit: 569f3b63ad5f65d0f86724766fedfffffe0feda3
      
https://github.com/qemu/qemu/commit/569f3b63ad5f65d0f86724766fedfffffe0feda3
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge *walk*() functions

Introduce declarative function calls.

There are currently 4 different functions for sending a 9p 'Twalk'
request: v9fs_twalk(), do_walk(), do_walk_rqids() and
do_walk_expect_error(). They are all doing the same thing, just in a
slightly different way and with slightly different function arguments.

Merge those 4 functions into a single function by using a struct for
function call arguments and use designated initializers when calling
this function to turn usage into a declarative approach, which is
better readable and easier to maintain.

Also move private functions genfid(), split() and split_free() from
virtio-9p-test.c to virtio-9p-client.c.

Based-on: <E1odrya-0004Fv-97@lizzy.crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<607969dbfbc63c1be008df9131133711b046e979.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 3f3e9232207fc4f0e5cb5cf63f11ed9449efeefa
      
https://github.com/qemu/qemu/commit/3f3e9232207fc4f0e5cb5cf63f11ed9449efeefa
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: simplify callers of twalk()

Now as twalk() is using a declarative approach, simplify the
code of callers of this function.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<8b9d3c656ad43b6c953d6bdacd8d9f4c8e599b2a.1664917004.git.qemu_oss@crudebyte.com>


  Commit: bee8fda2f9841cc8d76fbe60f65f9aeb29fce1c2
      
https://github.com/qemu/qemu/commit/bee8fda2f9841cc8d76fbe60f65f9aeb29fce1c2
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tversion() and do_version()

As with previous patches, unify functions v9fs_tversion() and do_version()
into a single function v9fs_tversion() by using a declarative function
arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<2d253491aaffd267ec295f056dda47456692cd0c.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 74a160aba921a2ca37b026dbfcdd03386bc05e85
      
https://github.com/qemu/qemu/commit/74a160aba921a2ca37b026dbfcdd03386bc05e85
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tattach(), do_attach(), do_attach_rqid()

As with previous patches, unify those 3 functions into a single function
v9fs_tattach() by using a declarative function arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<a6756b30bf2a1b25729c5bbabd1c9534a8f20d6f.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 1125ddf66f47dc4986d97948253890fdb3c0a6d6
      
https://github.com/qemu/qemu/commit/1125ddf66f47dc4986d97948253890fdb3c0a6d6
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: simplify callers of tattach()

Now as tattach() is using a declarative approach, simplify the
code of callers of this function.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<9b50e5b89a0072e84a9191d18c19a53546a28bba.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 2af5be47b9ba264f31f5594e587207cd854e01cc
      
https://github.com/qemu/qemu/commit/2af5be47b9ba264f31f5594e587207cd854e01cc
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: convert v9fs_tgetattr() to declarative arguments

Use declarative function arguments for function v9fs_tgetattr().

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<d340a91be96fbfecfb8dacdd7558223b3c0d0e2c.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 28c736709b82c8f47edf3cb18b9fb601fdab9151
      
https://github.com/qemu/qemu/commit/28c736709b82c8f47edf3cb18b9fb601fdab9151
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: simplify callers of tgetattr()

Now as tgetattr() is using a declarative approach, simplify the
code of callers of this function.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<60c6a083f320b86f3172951445df7bbc895932e2.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 1ebacc40ca925626cf601543326066434c7c1a7f
      
https://github.com/qemu/qemu/commit/1ebacc40ca925626cf601543326066434c7c1a7f
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: convert v9fs_treaddir() to declarative arguments

Use declarative function arguments for function v9fs_treaddir().

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<a66aae4ceb19ec12d245b8c7f33a639584c8e272.1664917004.git.qemu_oss@crudebyte.com>


  Commit: a9a53769318503c4d8884e642e00603ea6885cb1
      
https://github.com/qemu/qemu/commit/a9a53769318503c4d8884e642e00603ea6885cb1
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: simplify callers of treaddir()

Now as treaddir() is using a declarative approach, simplify the
code of callers of this function.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<7cec6f2c7011a481806c34908893b7282702a7a6.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 3878ce4cc2f1cb9e802076c827834c34d3788b78
      
https://github.com/qemu/qemu/commit/3878ce4cc2f1cb9e802076c827834c34d3788b78
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: convert v9fs_tlopen() to declarative arguments

Use declarative function arguments for function v9fs_tlopen().

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<765ab515353c56f88f0a163631f626a44e9565d6.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 0e4c4ff02aecaa3cea3e583d07509378b7783307
      
https://github.com/qemu/qemu/commit/0e4c4ff02aecaa3cea3e583d07509378b7783307
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: simplify callers of tlopen()

Now as tlopen() is using a declarative approach, simplify the
code of callers of this function.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<f74b6153e079fc7a340e5cb575ee32e0fe1e0ae6.1664917004.git.qemu_oss@crudebyte.com>


  Commit: ac9e4e6185f0f5090d18dce2dd3f60d9660be496
      
https://github.com/qemu/qemu/commit/ac9e4e6185f0f5090d18dce2dd3f60d9660be496
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: convert v9fs_twrite() to declarative arguments

Use declarative function arguments for function v9fs_twrite().

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<be0326e2d9ab66f68c06b1766ddf103849d570b4.1664917004.git.qemu_oss@crudebyte.com>


  Commit: bb286ff8e85dcc222c93c9f3a164034561d1f585
      
https://github.com/qemu/qemu/commit/bb286ff8e85dcc222c93c9f3a164034561d1f585
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: simplify callers of twrite()

Now as twrite() is using a declarative approach, simplify the
code of callers of this function.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<7f280ec6a1f9d8afed46567a796562c4dc28afa9.1664917004.git.qemu_oss@crudebyte.com>


  Commit: d89146fd16775aa734b1e67b8fdee0301ad80cf5
      
https://github.com/qemu/qemu/commit/d89146fd16775aa734b1e67b8fdee0301ad80cf5
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: convert v9fs_tflush() to declarative arguments

Use declarative function arguments for function v9fs_tflush().

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<91b7b154298c500d100b05137146c2905c3acdec.1664917004.git.qemu_oss@crudebyte.com>


  Commit: e11680102af6a9f42ab198a77015696820a1993e
      
https://github.com/qemu/qemu/commit/e11680102af6a9f42ab198a77015696820a1993e
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tmkdir() and do_mkdir()

As with previous patches, unify those 2 functions into a single function
v9fs_tmkdir() by using a declarative function arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<b87b2c972921df980440ff5b2d3e6bb8163d6551.1664917004.git.qemu_oss@crudebyte.com>


  Commit: bd4660d49ac64886fb27649138e52d81be161fee
      
https://github.com/qemu/qemu/commit/bd4660d49ac64886fb27649138e52d81be161fee
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tlcreate() and do_lcreate()

As with previous patches, unify those 2 functions into a single function
v9fs_tlcreate() by using a declarative function arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<4c01b2caa5f5b54a2020fc92701deadd2abf0571.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 9beabfa52cb17fad0e8211031f301f12281d65f8
      
https://github.com/qemu/qemu/commit/9beabfa52cb17fad0e8211031f301f12281d65f8
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tsymlink() and do_symlink()

As with previous patches, unify those 2 functions into a single function
v9fs_tsymlink() by using a declarative function arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<563f3ad04fe596ce0ae1e2654d1d08237f18c830.1664917004.git.qemu_oss@crudebyte.com>


  Commit: d41a9462ea15f0e3ef789d496032536c33098275
      
https://github.com/qemu/qemu/commit/d41a9462ea15f0e3ef789d496032536c33098275
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tlink() and do_hardlink()

As with previous patches, unify those 2 functions into a single function
v9fs_tlink() by using a declarative function arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<cb4d42203e1e4e6027df4924bbe4bdbc002f668b.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 43e0d9fb358b01539d0de9494208e80ff84b5456
      
https://github.com/qemu/qemu/commit/43e0d9fb358b01539d0de9494208e80ff84b5456
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c
    M tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  tests/9p: merge v9fs_tunlinkat() and do_unlinkat()

As with previous patches, unify those 2 functions into a single function
v9fs_tunlinkat() by using a declarative function arguments approach.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<1dea593edd464908d92501933c068388c01f1744.1664917004.git.qemu_oss@crudebyte.com>


  Commit: 3ce77865bf813f313cf79c00fd951bfc95a50165
      
https://github.com/qemu/qemu/commit/3ce77865bf813f313cf79c00fd951bfc95a50165
  Author: Christian Schoenebeck <qemu_oss@crudebyte.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M tests/qtest/libqos/virtio-9p-client.c

  Log Message:
  -----------
  tests/9p: remove unnecessary g_strdup() calls

This is a leftover from before the recent function merge and
refactoring patches:

As these functions do not return control to the caller in
between, it is not necessary to duplicate strings passed to them.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: 
<0f80141cde3904ed0591354059da49d1d60bcdbc.1664917004.git.qemu_oss@crudebyte.com>


  Commit: ce58c8ee4d86345287a3d9f0257992c415742a6a
      
https://github.com/qemu/qemu/commit/ce58c8ee4d86345287a3d9f0257992c415742a6a
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M hw/m68k/bootinfo.h
    M hw/m68k/q800.c
    M hw/m68k/virt.c
    M include/standard-headers/asm-m68k/bootinfo-virt.h
    M include/standard-headers/asm-m68k/bootinfo.h

  Log Message:
  -----------
  Merge tag 'm68k-for-7.2-pull-request' of https://github.com/vivier/qemu-m68k 
into staging

Pull request m68k branch 20221024

Update rng seed boot parameter

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmNWU7YSHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748C/kQAJHbVrDGCCfw+imsOAOqXBL3K0WpUadP
# T+lCIHpqCPsppJ2ikQlZ95ky0RZREPiRwmwJHQsgaTiVJgKDGJ3hsDuGNAyu3sn4
# C/QFVyH2E7dcrDjSNk+n1nGVw+h6gnH9G6qRYrJZHlQXN9WsaMrcofhjDdPUC9bK
# o2IexKWBs80wJ/k/O9be8hPARkdwbVYRbR3+khtcUVv7sgeoKfUmpUiliIhi1G3G
# jphHEMgWtjyK8HmTyeOujmbOO4RZGhScnCJpUnYitBmun6YWedP+DrOz5kXU5xgP
# vIJOalpPqQt+Fpe6OF5fBXwLl0QNPlLjhBP+YXe6inKWHk3RYZRYbFNz4+HZt6WY
# i5wO0pz77vzL6+7nnESS7Q9g/8ASQcUgOsswUBY2uhQoGUG8LuUl2O5SyJWGB41o
# MjNq+h7PcFD8MalLMMvf5jKIuZ0lJrkirUXbTXlGu19ynyf0lASY773cENch+ApS
# fu2De777qwYDx3CvR+K5oObiTqUTplQT9Mq+yUlD5mgJs1bCP+XPFGlL+JemgR25
# EjV5kLDY2f5i0hb7ZQ8IEL3O4siW9GoHXBBFkLY3WPO36Nd71cfhzVv2jUaoSyom
# xsFsJ/TGBapdiDj2Y5DjZQWrUIsm3TgcwATLhEyH2+Bt4hLd+yI6s1m16vVUn74O
# UgMzybUqLwk0
# =B+rc
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 24 Oct 2022 04:58:30 EDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* tag 'm68k-for-7.2-pull-request' of https://github.com/vivier/qemu-m68k:
  m68k: write bootinfo as rom section and re-randomize on reboot
  m68k: rework BI_VIRT_RNG_SEED as BI_RNG_SEED

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: e52d57c8c53840d28c7f87a8b280980e1aa80465
      
https://github.com/qemu/qemu/commit/e52d57c8c53840d28c7f87a8b280980e1aa80465
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/ops_sse.h
    M target/i386/ops_sse_header.h
    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/fpu_helper.c
    M target/i386/tcg/translate.c
    M tests/tcg/i386/test-avx.c
    M tests/tcg/i386/test-avx.py

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

* target/i386: new decoder bugfix
* target/i386: complete x86-v3 support for TCG

# -----BEGIN PGP SIGNATURE-----
#
# iQFHBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmNTlqQUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroOQNQf430MHbrtN9WKKiXv3684XxmcnoRqg
# PHmaGg2SKp7UB+hI2FMYgCZWOl5s3cGTHtwX8byFCttmE4kI7HJR7IouW6znm57j
# 7QVx2TJXIZgqSYcfYzfLu46yS6pNqJUA+mBv5In3Vqt4ZQT2szefVBg6BzmuF6lT
# HXbu/llc3iVfW4SNLJOABXzKNbPacmmpmLjoporfwOHwHjv4iikuXNUOZ84FFL11
# 2tkdcff282q00IRgHm1lSyiRiqh+kAxzSDanMjOZbphBiE9gNJjLGoV5F2X63e1O
# DQGg4wqBWP68O/r8Fj8tOUMCTW212DwWyv1+d/lQB+wwpJK+P4O14dCW
# =Fd+y
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 22 Oct 2022 03:07:16 EDT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@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:
  target/i386: implement FMA instructions
  target/i386: implement F16C instructions
  target/i386: introduce function to set rounding mode from FPCW or MXCSR bits
  target/i386: decode-new: avoid out-of-bounds access to xmm_regs[-1]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: e750a7ace492f0b450653d4ad368a77d6f660fb8
      
https://github.com/qemu/qemu/commit/e750a7ace492f0b450653d4ad368a77d6f660fb8
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M fsdev/virtfs-proxy-helper.c
    M hw/9pfs/9p.c
    M hw/9pfs/9p.h
    M tests/qtest/libqos/meson.build
    A tests/qtest/libqos/virtio-9p-client.c
    A tests/qtest/libqos/virtio-9p-client.h
    M tests/qtest/virtio-9p-test.c

  Log Message:
  -----------
  Merge tag 'pull-9p-20221024' of https://github.com/cschoenebeck/qemu into 
staging

9pfs: performance, Windows host prep, tests restructure

* Highlight of this PR is Linus Heckemann's GHashTable patch which
  brings massive general performance improvements of 9p server
  somewhere between factor 6 .. 12.

* Bin Meng's g_mkdir patch is a preparatory patch for upcoming
  Windows host support of 9p server.

* The rest of the patches in this PR are 9p test code restructuring
  and refactoring changes to improve readability and to ease
  maintenance of 9p test code on the long-term.

# -----BEGIN PGP SIGNATURE-----
#
# iQJLBAABCgA1FiEEltjREM96+AhPiFkBNMK1h2Wkc5UFAmNWbs8XHHFlbXVfb3Nz
# QGNydWRlYnl0ZS5jb20ACgkQNMK1h2Wkc5V4cw/8CqoSJqoJixlP8kAGDYWq3CgF
# SKd09rIzLSWyyufAoZr1TqLwRrvEQRlZJSpL4fGvRpQLv0IQCu4x59ohHRob25Tm
# Fe7IxYBNuBwLW4yu+Y7FaujeGoYAi9Qw5q4ijq3/aSSiIeuXySKB2JmW71CQ+Tbe
# uwivsnMtWzQ7qsNwrtXYbxDs7UGkdsiW2sEQUS26GMApAXZoB+38hwtTW2Y9MOrC
# 58JuZza/fUVPzo0V1D0ggRawb5O2VTF5fz8aGFG4FvoyIW6DDZFSfnyre9QxivOl
# 5McWwSQ/D04vdEK9ornGPYr9YRGuP8g07p1EW9OfKeie4I41e9pS3UminK5lVCgo
# SfBHzz96efM5XR+Wnl4yVKowivmTqjwUU8lDqW2eB/7YBRuYUzrpxYe//UPv4q1J
# zaQV3pgwFAVkVJCnkcLCa1JQbH581bXSsuRlDdYqoRYfyzXoxbywNjvn9BXE0PrG
# WRecS//GyN3GVZYxMwb3H052110pYsYIg2YZ2H4QiqCwpEHHvy+L/ZXm19vbDm7B
# GYJQPUK8/y0NGwZsUYcUSx1TWlU9ZPwrbqZfv7e7+B6FL4VNjdaqb8PvS9admWSq
# LOSzrVVIus+nb7tP99d1Fb6oRyCy3x8E48gTr5UtTJHC4SAw/OBJmem6GOc/D490
# H7Dq8Y27qsQ6fT7iPm8=
# =MxSG
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 24 Oct 2022 06:54:07 EDT
# gpg:                using RSA key 96D8D110CF7AF8084F88590134C2B58765A47395
# gpg:                issuer "qemu_oss@crudebyte.com"
# gpg: Good signature from "Christian Schoenebeck <qemu_oss@crudebyte.com>" 
[unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: ECAB 1A45 4014 1413 BA38  4926 30DB 47C3 A012 D5F4
#      Subkey fingerprint: 96D8 D110 CF7A F808 4F88  5901 34C2 B587 65A4 7395

* tag 'pull-9p-20221024' of https://github.com/cschoenebeck/qemu: (23 commits)
  tests/9p: remove unnecessary g_strdup() calls
  tests/9p: merge v9fs_tunlinkat() and do_unlinkat()
  tests/9p: merge v9fs_tlink() and do_hardlink()
  tests/9p: merge v9fs_tsymlink() and do_symlink()
  tests/9p: merge v9fs_tlcreate() and do_lcreate()
  tests/9p: merge v9fs_tmkdir() and do_mkdir()
  tests/9p: convert v9fs_tflush() to declarative arguments
  tests/9p: simplify callers of twrite()
  tests/9p: convert v9fs_twrite() to declarative arguments
  tests/9p: simplify callers of tlopen()
  tests/9p: convert v9fs_tlopen() to declarative arguments
  tests/9p: simplify callers of treaddir()
  tests/9p: convert v9fs_treaddir() to declarative arguments
  tests/9p: simplify callers of tgetattr()
  tests/9p: convert v9fs_tgetattr() to declarative arguments
  tests/9p: simplify callers of tattach()
  tests/9p: merge v9fs_tattach(), do_attach(), do_attach_rqid()
  tests/9p: merge v9fs_tversion() and do_version()
  tests/9p: simplify callers of twalk()
  tests/9p: merge *walk*() functions
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


Compare: https://github.com/qemu/qemu/compare/052924548886...e750a7ace492



reply via email to

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