[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 52281c: KVM: use store-release to mark dirty
From: |
Paolo Bonzini |
Subject: |
[Qemu-commits] [qemu/qemu] 52281c: KVM: use store-release to mark dirty pages as harv... |
Date: |
Tue, 20 Sep 2022 13:24:47 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 52281c6d11ec68b802e8a264780df2c4b981e6bc
https://github.com/qemu/qemu/commit/52281c6d11ec68b802e8a264780df2c4b981e6bc
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M accel/kvm/kvm-all.c
Log Message:
-----------
KVM: use store-release to mark dirty pages as harvested
The following scenario can happen if QEMU sets more RESET flags while
the KVM_RESET_DIRTY_RINGS ioctl is ongoing on another host CPU:
CPU0 CPU1 CPU2
------------------------ ------------------ ------------------------
fill gfn0
store-rel flags for gfn0
fill gfn1
store-rel flags for gfn1
load-acq flags for gfn0
set RESET for gfn0
load-acq flags for gfn1
set RESET for gfn1
do ioctl! ----------->
ioctl(RESET_RINGS)
fill gfn2
store-rel flags for gfn2
load-acq flags for gfn2
set RESET for gfn2
process gfn0
process gfn1
process gfn2
do ioctl!
etc.
The three load-acquire in CPU0 synchronize with the three store-release
in CPU2, but CPU0 and CPU1 are only synchronized up to gfn1 and CPU1
may miss gfn2's fields other than flags.
The kernel must be able to cope with invalid values of the fields, and
userspace *will* invoke the ioctl once more. However, once the RESET flag
is cleared on gfn2, it is lost forever, therefore in the above scenario
CPU1 must read the correct value of gfn2's fields.
Therefore RESET must be set with a store-release, that will synchronize
with KVM's load-acquire in CPU1.
Cc: Gavin Shan <gshan@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 958e1dd1300f37f18b2161dfb4eb806fc8c19b44
https://github.com/qemu/qemu/commit/958e1dd1300f37f18b2161dfb4eb806fc8c19b44
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M target/i386/tcg/excp_helper.c
M target/i386/tcg/helper-tcg.h
M target/i386/tcg/sysemu/excp_helper.c
M target/i386/tcg/tcg-cpu.c
M target/i386/tcg/translate.c
M target/i386/tcg/user/excp_helper.c
Log Message:
-----------
target/i386: Raise #GP on unaligned m128 accesses when required.
Many instructions which load/store 128-bit values are supposed to
raise #GP when the memory operand isn't 16-byte aligned. This includes:
- Instructions explicitly requiring memory alignment (Exceptions Type 1
in the "AVX and SSE Instruction Exception Specification" section of
the SDM)
- Legacy SSE instructions that load/store 128-bit values (Exceptions
Types 2 and 4).
This change sets MO_ALIGN_16 on 128-bit memory accesses that require
16-byte alignment. It adds cpu_record_sigbus and cpu_do_unaligned_access
hooks that simulate a #GP exception in qemu-user and qemu-system,
respectively.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/217
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ricky Zhou <ricky@rzhou.org>
Message-Id: <20220830034816.57091-2-ricky@rzhou.org>
[Do not bother checking PREFIX_VEX, since AVX is not supported. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 21adec30f62e4e700e0e217da756723e189d7b29
https://github.com/qemu/qemu/commit/21adec30f62e4e700e0e217da756723e189d7b29
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M accel/kvm/kvm-all.c
Log Message:
-----------
kvm: fix memory leak on failure to read stats descriptors
Reported by Coverity as CID 1490142. Since the size is constant and the
lifetime is the same as the StatsDescriptors struct, embed the struct
directly instead of using a separate allocation.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: c4ef328bdc5dac319c8a1bdbe6d4108382b41584
https://github.com/qemu/qemu/commit/c4ef328bdc5dac319c8a1bdbe6d4108382b41584
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M hw/ppc/spapr_pci.c
Log Message:
-----------
spapr_pci: fix leak in spapr_phb_vfio_get_loc_code
Overwriting "path" in the second call to g_strdup_printf() causes a memory leak,
even if the variable itself is g_autofree.
Reported by Coverity as CID 1460454.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 2ff2004bb858e8760c2e381b05a3144897c5161d
https://github.com/qemu/qemu/commit/2ff2004bb858e8760c2e381b05a3144897c5161d
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M scripts/coverity-scan/COMPONENTS.md
Log Message:
-----------
coverity: add new RISC-V component
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: b00e2c68c5864b4158afc924d868f5c5611a0362
https://github.com/qemu/qemu/commit/b00e2c68c5864b4158afc924d868f5c5611a0362
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M scripts/coverity-scan/COMPONENTS.md
Log Message:
-----------
coverity: put NUBus under m68k component
It is only used by the Q800 emulation, so put it under that architecture.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 57e3069641d057a9ca90bb603c86477d5b331ecd
https://github.com/qemu/qemu/commit/57e3069641d057a9ca90bb603c86477d5b331ecd
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M hw/smbios/smbios.c
Log Message:
-----------
smbios: sanitize type from external type before checking have_fields_bitmap
test_bit uses header->type as an offset; if the file incorrectly specifies a
type greater than 127, smbios_entry_add will read and write garbage.
To fix this, just pass the smbios data through, assuming the user knows what
to do. Reported by Coverity as CID 1487255.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: ac9e723fb6baaf9d9afa31f81c57f38ef7610616
https://github.com/qemu/qemu/commit/ac9e723fb6baaf9d9afa31f81c57f38ef7610616
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M tests/unit/test-visitor-serialization.c
Log Message:
-----------
tests: unit: simplify test-visitor-serialization list tests
test-visitor-serialization list tests is using an "if" to pick either the first
element of the list or the next one. This was done presumably to mimic the
code that creates the list, which has to fill in either the head pointer
or the next pointer of the last element. However, the code in the insert
phase is a pretty standard singly-linked list insertion, while the one
in the visit phase looks weird and even looks at the first item twice:
this is confusing because the test puts in 32 items and finishes with
an assertion that i == 33.
So, move the "else" step in a separate switch statement, and change
the do...while loop to a while, because cur_head has already been
initialized beforehand.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5dc51100394206b4ca3fdcafb008de8f99fc4676
https://github.com/qemu/qemu/commit/5dc51100394206b4ca3fdcafb008de8f99fc4676
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M tests/unit/test-qga.c
Log Message:
-----------
tests: test-qga: close socket on failure to connect
Reported by Coverity as CID 1432543.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: b3a58a6ae346f14075af0df7f9903ad389c33dbd
https://github.com/qemu/qemu/commit/b3a58a6ae346f14075af0df7f9903ad389c33dbd
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M tests/unit/check-block-qdict.c
Log Message:
-----------
tests: unit: add NULL-pointer check
In CID 1432593, Coverity complains that the result of qdict_crumple()
might leak if it is not a dictionary. This is not a practical concern
since the test would fail immediately with a NULL pointer dereference
in qdict_size().
However, it is not nice to depend on qdict_size() crashing, so add an
explicit assertion that that the crumpled object was indeed a dictionary.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 4ce4a1a71452028960d641438bb5289cff410ae8
https://github.com/qemu/qemu/commit/4ce4a1a71452028960d641438bb5289cff410ae8
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-18 (Sun, 18 Sep 2022)
Changed paths:
M tests/tcg/i386/x86.csv
Log Message:
-----------
tests/tcg: i386: fix typos in 3DNow! instructions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 525207cd77adb181b4ef61d0b7669f52f737e9d0
https://github.com/qemu/qemu/commit/525207cd77adb181b4ef61d0b7669f52f737e9d0
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/unit/test-io-channel-command.c
Log Message:
-----------
tests: mark io-command test as skipped if socat is missing
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220901110414.2892954-1-marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 5bf060252274f3b12ee2a58687493a3dff2c8a6c
https://github.com/qemu/qemu/commit/5bf060252274f3b12ee2a58687493a3dff2c8a6c
Author: Brad Smith <brad@comstyle.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/vm/netbsd
Log Message:
-----------
tests/vm: update NetBSD to 9.3
Update NetBSD to 9.3
Signed-off-by: Brad Smith <brad@comstyle.com>
Message-Id: <YxacoSbT1cZR4SKr@humpty.home.comstyle.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 039fb5490695438d013b1c4ff8c63aadf441a99b
https://github.com/qemu/qemu/commit/039fb5490695438d013b1c4ff8c63aadf441a99b
Author: Bin Meng <bin.meng@windriver.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M .gitlab-ci.d/windows.yml
Log Message:
-----------
.gitlab-ci.d/windows.yml: Drop the sed processing in the 64-bit build
The sed processing of build/config-host.mak seems to be no longer
needed, and there is no such in the 32-bit build too. Drop it.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20220908132817.1831008-5-bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: d1592cbe07fa7b653aa9dde2eb8dafbe1de16885
https://github.com/qemu/qemu/commit/d1592cbe07fa7b653aa9dde2eb8dafbe1de16885
Author: Patrick Venture <venture@google.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/qtest/npcm7xx_emc-test.c
Log Message:
-----------
tests/qtest: npcm7xx-emc-test: Skip checking MAC
The register tests walks all the registers to verify they are initially
0 when appropriate. However, if the MAC address is set in the register
space, this should not be checked against 0.
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Signed-off-by: Patrick Venture <venture@google.com>
Message-Id: <20220906163138.2831353-1-venture@google.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: a772ddc1c013c3ff54cd6bc5f1e4a9107093fc01
https://github.com/qemu/qemu/commit/a772ddc1c013c3ff54cd6bc5f1e4a9107093fc01
Author: Mauro Matteo Cascella <mcascell@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/qtest/fuzz-lsi53c895a-test.c
Log Message:
-----------
qtest/fuzz-lsi53c895a-test: set guest RAM to 2G
test_lsi_do_msgout_cancel_req does not run on machines with small size
memory. Reduce guest memory from 4G to 2G to alleviate the problem.
Reported-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Message-Id: <20220902133853.834065-1-mcascell@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: fa7ce0b0282300c8c06a6c6857949168ec31a762
https://github.com/qemu/qemu/commit/fa7ce0b0282300c8c06a6c6857949168ec31a762
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/tcg/i386/Makefile.target
A tests/tcg/i386/test-3dnow.c
M tests/tcg/i386/test-avx.py
A tests/tcg/i386/test-mmx.c
A tests/tcg/i386/test-mmx.py
M tests/tcg/x86_64/Makefile.target
Log Message:
-----------
tests/tcg: i386: add MMX and 3DNow! tests
Adjust the test-avx.py generator to produce tests specifically for
MMX and 3DNow. Using a separate generator introduces some code
duplication, but is a simpler approach because of test-avx's extra
complexity to support 3- and 4-operand AVX instructions.
If needed, a common library can be introduced later.
While at it, for consistency move all the -cpu max rules to the
same place.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e02907cc12df4765cc92f8b0c193a10c1841c82e
https://github.com/qemu/qemu/commit/e02907cc12df4765cc92f8b0c193a10c1841c82e
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/tcg/i386/test-avx.py
Log Message:
-----------
tests/tcg: refine MMX support in SSE tests
Extend the support to memory operands, and skip MMX instructions that
were introduced in SSE times, because they are now covered in test-mmx.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e121d7606bc9041619d8c6e0524a1ccdbbdd6547
https://github.com/qemu/qemu/commit/e121d7606bc9041619d8c6e0524a1ccdbbdd6547
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M tests/tcg/i386/test-i386.c
Log Message:
-----------
tests/tcg: remove old SSE tests
The new testsuite is much more comprehensive, so remove the old one;
it is also buggy (the pinsrw test uses incorrect constraints, with =
instead of +, and the golden output for the fxsave tests differs depending
on how the C library uses SSE and AVX instructions).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5e03b6daf66dfb0f5512a0dfc9e21e749b6f67b7
https://github.com/qemu/qemu/commit/5e03b6daf66dfb0f5512a0dfc9e21e749b6f67b7
Author: Claudio Fontana <cfontana@suse.de>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M audio/audio.c
M audio/audio.h
M qemu-options.hx
M softmmu/vl.c
Log Message:
-----------
audio: add help option for -audio and -audiodev
add a simple help option for -audio and -audiodev
to show the list of available drivers, and document them.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20220908081441.7111-1-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 034668c329bb3e257a1f259571bd462938522e7a
https://github.com/qemu/qemu/commit/034668c329bb3e257a1f259571bd462938522e7a
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M target/i386/ops_sse.h
Log Message:
-----------
target/i386: correctly mask SSE4a bit indices in register operands
SSE4a instructions EXTRQ and INSERTQ have two bit index operands, that can be
immediates or taken from an XMM register. In both cases, the fields are
6-bit wide and the top two bits in the byte are ignored. translate.c is
doing that correctly for the immediate case, but not for the XMM case, so
fix it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: ca4b1b43bc5ac25c56a3a7a4a2252d6fdc8dcf02
https://github.com/qemu/qemu/commit/ca4b1b43bc5ac25c56a3a7a4a2252d6fdc8dcf02
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M target/i386/ops_sse.h
M target/i386/ops_sse_header.h
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: fix INSERTQ implementation
INSERTQ is defined to not modify any bits in the lower 64 bits of the
destination, other than the ones being replaced with bits from the
source operand. QEMU instead is using unshifted bits from the source
for those bits.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5c2f60bd1b6fc7164118a6270eefbf0b6dafc4ae
https://github.com/qemu/qemu/commit/5c2f60bd1b6fc7164118a6270eefbf0b6dafc4ae
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: REPZ and REPNZ are mutually exclusive
The later prefix wins if both are present, make it show in s->prefix too.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: efcca7ef172a6844423670aa62f93099feb58b8c
https://github.com/qemu/qemu/commit/efcca7ef172a6844423670aa62f93099feb58b8c
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: introduce insn_get_addr
The "O" operand type in the Intel SDM needs to load an 8- to 64-bit
unsigned value, while insn_get is limited to 32 bits. Extract the code
out of disas_insn and into a separate function.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 9ee37d3bb89c8743e8b1a0e69af8efb6e25bb7db
https://github.com/qemu/qemu/commit/9ee37d3bb89c8743e8b1a0e69af8efb6e25bb7db
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M Makefile
Log Message:
-----------
build: remove extra parentheses causing missing rebuilds
Because of two stray parentheses at the end of the definition of
ninja-cmd-goals, the test that is last in the .check-TESTSUITENAME.deps
variable will not be rebuilt. Fix that.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: df22fbb751dc72f321218c3fb192730a47ad59a9
https://github.com/qemu/qemu/commit/df22fbb751dc72f321218c3fb192730a47ad59a9
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths:
M roms/qboot
Log Message:
-----------
qboot: update to latest submodule
Include patch "Place setup_data at location specified by host"
from Jason A. Donenfeld.
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: a65c9527fd78dbea7f6f24f8c581a91281f355d9
https://github.com/qemu/qemu/commit/a65c9527fd78dbea7f6f24f8c581a91281f355d9
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M tests/qtest/e1000-test.c
M tests/qtest/es1370-test.c
Log Message:
-----------
tests: Fix error strings
They were copy-pasted from e1000e and never changed.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902165126.1482-7-quintela@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: abad185c6bf5bea46a999b623690ef42ea20cb02
https://github.com/qemu/qemu/commit/abad185c6bf5bea46a999b623690ef42ea20cb02
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M meson.build
Log Message:
-----------
meson-build: Enable CONFIG_REPLICATION only when replication is set
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902165126.1482-8-quintela@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: b3ad62c14f6905fe28fcd276f3029525b44bbe18
https://github.com/qemu/qemu/commit/b3ad62c14f6905fe28fcd276f3029525b44bbe18
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M tests/qtest/bios-tables-test.c
Log Message:
-----------
bios-tables-test: Make oem-fields tests be consistent
Every other test function is named:
test_acpi_<machine>_<test>()
Just make this test the same. Once there, rename "acpi/oem-fields" to
"acpi/piix4/oem-fields" so it is consistent with everything else.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902173452.1904-2-quintela@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: d007981ae1d56924f5f532a6c458980d675f3ca6
https://github.com/qemu/qemu/commit/d007981ae1d56924f5f532a6c458980d675f3ca6
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M tests/qtest/bios-tables-test.c
Log Message:
-----------
bios-tables-test: Sort all x86_64 tests by machine type
No code change here, just move test around.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902173452.1904-3-quintela@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 34b1f2c62095c483e10c591ec02e91c7d365ea2a
https://github.com/qemu/qemu/commit/34b1f2c62095c483e10c591ec02e91c7d365ea2a
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M tests/qtest/bios-tables-test.c
Log Message:
-----------
bios-tables-test: Only run test for machine types compiled in
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902173452.1904-4-quintela@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 08ed0988d6d589a9cb4d092765bd8f2272d1e8e9
https://github.com/qemu/qemu/commit/08ed0988d6d589a9cb4d092765bd8f2272d1e8e9
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M tests/qtest/intel-hda-test.c
Log Message:
-----------
tests: Only run intel-hda-tests if machine type is compiled in
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902173452.1904-5-quintela@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 1dbea8185281f9c6c09a2fe8c333c6e26c5c741f
https://github.com/qemu/qemu/commit/1dbea8185281f9c6c09a2fe8c333c6e26c5c741f
Author: Juan Quintela <quintela@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M tests/qtest/fuzz-sb16-test.c
Log Message:
-----------
tests: sb16 has both pc and q35 tests
Check that the machines are compiled in before calling it
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220902173452.1904-6-quintela@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 7eab180f903931a5fac16b253d115706f008eade
https://github.com/qemu/qemu/commit/7eab180f903931a5fac16b253d115706f008eade
Author: Thomas Huth <thuth@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M .gitlab-ci.d/cirrus.yml
Log Message:
-----------
gitlab-ci: Update the FreeBSD 13 job from 13.0 to 13.1
The FreeBSD 13 job in our CI started failing since the python port
stopped working after 13.1 has been released. Thus update our CI
job to FreeBSD 13.1 to get it working again.
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220920102041.45067-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 582a098e6ca00dd42f317dad8affd13e5a20bc42
https://github.com/qemu/qemu/commit/582a098e6ca00dd42f317dad8affd13e5a20bc42
Author: Thomas Huth <thuth@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M docs/about/deprecated.rst
M docs/interop/qemu-ga.rst
M qga/main.c
M tests/data/test-qga-config
M tests/unit/test-qga.c
Log Message:
-----------
qga: Replace 'blacklist' command line and config file options by 'block-rpcs'
Let's use a more appropriate wording for this command line and config
file option. The old ones are still accepted for compatibility reasons,
but marked as deprecated now so that it could be removed in a future
version of QEMU.
This change is based on earlier patches from Philippe Mathieu-Daudé,
with the idea for the new option name suggested by BALATON Zoltan.
And while we're at it, replace the "?" in the help text with "help"
since that does not have the problem of conflicting with the wildcard
character of the shells.
Message-Id: <20220727092135.302915-2-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 0e4ef702e82baf1797ea02e40f39acabe46923aa
https://github.com/qemu/qemu/commit/0e4ef702e82baf1797ea02e40f39acabe46923aa
Author: Thomas Huth <thuth@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M qga/commands-posix.c
M qga/commands-win32.c
M qga/guest-agent-core.h
M qga/main.c
M qga/qapi-schema.json
Log Message:
-----------
qga: Replace 'blacklist' and 'whitelist' in the guest agent sources
Let's use better, more inclusive wording here.
Message-Id: <20220727092135.302915-3-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Commit: 1b3a3383df62e32485161712405c2e3dd8b478b0
https://github.com/qemu/qemu/commit/1b3a3383df62e32485161712405c2e3dd8b478b0
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M Makefile
M accel/kvm/kvm-all.c
M audio/audio.c
M audio/audio.h
M hw/ppc/spapr_pci.c
M hw/smbios/smbios.c
M qemu-options.hx
M roms/qboot
M scripts/coverity-scan/COMPONENTS.md
M softmmu/vl.c
M target/i386/ops_sse.h
M target/i386/ops_sse_header.h
M target/i386/tcg/excp_helper.c
M target/i386/tcg/helper-tcg.h
M target/i386/tcg/sysemu/excp_helper.c
M target/i386/tcg/tcg-cpu.c
M target/i386/tcg/translate.c
M target/i386/tcg/user/excp_helper.c
M tests/tcg/i386/Makefile.target
A tests/tcg/i386/test-3dnow.c
M tests/tcg/i386/test-avx.py
M tests/tcg/i386/test-i386.c
A tests/tcg/i386/test-mmx.c
A tests/tcg/i386/test-mmx.py
M tests/tcg/i386/x86.csv
M tests/tcg/x86_64/Makefile.target
M tests/unit/check-block-qdict.c
M tests/unit/test-qga.c
M tests/unit/test-visitor-serialization.c
Log Message:
-----------
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
* add help option for -audio and -audiodev
* another missing memory barrier for dirty pages
* target/i386: Raise #GP on unaligned m128 accesses
* coverity fixes + improvements to components
* add MMX and 3DNow! tests
* SSE4a fixes
* target/i386: TCG translation cleanups
* update qboot submodule
# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmMocZcUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroNV7Qf+NEoB8R0ug+ClMRe1Qqt8FXEd0eXE
# nT19q4rOWfmW4/L+wI6gpxhbxrxOuLwoZ8YvD8c6rQAdexMoHoeTvA1PAca4zZTo
# ISmW3bXsoHN2uGLPz4CKhjKBLCANtDkh3EWCwRFkLSRCLSRDhKPrG1Ue3fOgQ6GO
# riROcxbyYzvU/4uefSW+xG/Im9gftNF6occZZ59LrK7Xd8kwlb+E+EdsmzFw5f8O
# Q9irVQ8pX9ZM4BK2KiT16nZ0uSRwJqSJKbLI670nUEsj1jQCIgU3srgZHjAIvoir
# yivDs6oktgS/HkPD5CQoTX+fVDgEDM1TTF6P8r7uJopPXpzz+AHswfSJmg==
# =RVCS
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 19 Sep 2022 09:41:43 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: (21 commits)
qboot: update to latest submodule
build: remove extra parentheses causing missing rebuilds
target/i386: introduce insn_get_addr
target/i386: REPZ and REPNZ are mutually exclusive
target/i386: fix INSERTQ implementation
target/i386: correctly mask SSE4a bit indices in register operands
audio: add help option for -audio and -audiodev
tests/tcg: remove old SSE tests
tests/tcg: refine MMX support in SSE tests
tests/tcg: i386: add MMX and 3DNow! tests
tests/tcg: i386: fix typos in 3DNow! instructions
tests: unit: add NULL-pointer check
tests: test-qga: close socket on failure to connect
tests: unit: simplify test-visitor-serialization list tests
smbios: sanitize type from external type before checking have_fields_bitmap
coverity: put NUBus under m68k component
coverity: add new RISC-V component
spapr_pci: fix leak in spapr_phb_vfio_get_loc_code
kvm: fix memory leak on failure to read stats descriptors
target/i386: Raise #GP on unaligned m128 accesses when required.
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 2906f933dd1de6d94c54881cc16ea7390a6ba300
https://github.com/qemu/qemu/commit/2906f933dd1de6d94c54881cc16ea7390a6ba300
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M .gitlab-ci.d/cirrus.yml
M .gitlab-ci.d/windows.yml
M docs/about/deprecated.rst
M docs/interop/qemu-ga.rst
M meson.build
M qga/commands-posix.c
M qga/commands-win32.c
M qga/guest-agent-core.h
M qga/main.c
M qga/qapi-schema.json
M tests/data/test-qga-config
M tests/qtest/bios-tables-test.c
M tests/qtest/e1000-test.c
M tests/qtest/es1370-test.c
M tests/qtest/fuzz-lsi53c895a-test.c
M tests/qtest/fuzz-sb16-test.c
M tests/qtest/intel-hda-test.c
M tests/qtest/npcm7xx_emc-test.c
M tests/unit/test-io-channel-command.c
M tests/unit/test-qga.c
M tests/vm/netbsd
Log Message:
-----------
Merge tag 'pull-request-2022-09-20' of https://gitlab.com/thuth/qemu into
staging
* Skip tests if the corresponding feature is missing
* Update NetBSD VM test to version 9.3
* Update the FreeBSD CI to version 13.1
* Some small fixes for the qtests
* Update wordings in the QEMU guest-agent
# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmMpvqURHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbXtaQ//ap4P8Gdg7HyShflpHj3+Z+UC/THtcCAD
# F5Oj/E89wYJZJvWpjELLUf+218O+zbcKkv6z25AHo37JRSLQMzsD21RpDYcu8qnN
# Xk77KrOLFaVRRo6e3FAi5I+uWsm1h/9jJfC/sFrzfKGnWcW5pTzXUkbvWT3LZo/q
# d0wJCMn/+h0j6kqhjm8mhFCsGsSaUKFCMzm/6rsWxVsMsVnlTyYhg/IzhocKrkVD
# 9ZWz+jAv+h4F0CLl/SeRvZFq4LEGZoP3KHWrDAgEO9i1yC+tNpGDFyV/hJXwapcm
# jYGaPPgS2dLToMXf5uubfmyptircQKqdpC2Hl8UwgUS6OgwA2YRCxad8rrrdBezq
# 2Nb8KissVB8ySL1Asf00gxioJNwLKrY+4NIeDVxAQ56f1/9kd0w0ylrweR492V/p
# z3Yrs3uqqALR1jWfB7/Rh4EN2R0oe6bnlfb8bB6lzPKynXQicZLeoOnNPbkOQMw8
# HgjKVFT130ydXJKMJkgEQmi4JUGoaKqSKCmlSaHz9TAobwNiVBXaH0cyuX5QEuoX
# WgZosiF5nBzdbhkC2IPcQYHzIIkelfx9j9mKE0PNfUSkFgMiywcI5TfqabPWGeaA
# rxYPU4EZmbgCZPlBVdPFwog/BXap2EIo9+xtINM0COQDoy+Q/l5Z3keHhpjayBBS
# qWc6CRSmhLs=
# =sHK+
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 20 Sep 2022 09:22:45 EDT
# gpg: using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg: issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg: aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg: aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg: aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5
* tag 'pull-request-2022-09-20' of https://gitlab.com/thuth/qemu:
qga: Replace 'blacklist' and 'whitelist' in the guest agent sources
qga: Replace 'blacklist' command line and config file options by 'block-rpcs'
gitlab-ci: Update the FreeBSD 13 job from 13.0 to 13.1
tests: sb16 has both pc and q35 tests
tests: Only run intel-hda-tests if machine type is compiled in
bios-tables-test: Only run test for machine types compiled in
bios-tables-test: Sort all x86_64 tests by machine type
bios-tables-test: Make oem-fields tests be consistent
meson-build: Enable CONFIG_REPLICATION only when replication is set
tests: Fix error strings
qtest/fuzz-lsi53c895a-test: set guest RAM to 2G
tests/qtest: npcm7xx-emc-test: Skip checking MAC
.gitlab-ci.d/windows.yml: Drop the sed processing in the 64-bit build
tests/vm: update NetBSD to 9.3
tests: mark io-command test as skipped if socat is missing
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Compare: https://github.com/qemu/qemu/compare/832e9e33bc51...2906f933dd1d
- [Qemu-commits] [qemu/qemu] 52281c: KVM: use store-release to mark dirty pages as harv...,
Paolo Bonzini <=