Signed-off-by: Michael Tokarev
---
tests/avocado/acpi-bits.py | 4 ++--
tests/avocado/acpi-bits/bits-tests/testacpi.py2 | 4 ++--
tests/decode/err_pattern_group_ident2.decode| 2 +-
tests/docker/common.rc | 2 +-
tests/migration/guestperf-batc
Signed-off-by: Michael Tokarev
---
hw/tpm/tpm_tis.h| 2 +-
hw/tpm/tpm_tis_common.c | 2 +-
hw/tpm/tpm_tis_i2c.c| 4 ++--
hw/tpm/tpm_tis_isa.c| 2 +-
hw/tpm/tpm_tis_sysbus.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h
i
Signed-off-by: Michael Tokarev
---
hw/i2c/pm_smbus.c | 2 +-
hw/i2c/pmbus_device.c | 2 +-
hw/i2c/smbus_slave.c| 2 +-
hw/ide/ahci_internal.h | 4 ++--
hw/ide/cmd646.c | 2 +-
hw/ide/core.c | 2 +-
hw/usb/ccid-card-emulated.c | 2 +-
hw/usb/h
Signed-off-by: Michael Tokarev
---
hw/pci-bridge/cxl_downstream.c | 2 +-
hw/pci-bridge/pci_expander_bridge.c | 2 +-
hw/pci-host/bonito.c| 2 +-
hw/pci-host/designware.c| 4 ++--
hw/pci-host/dino.c | 2 +-
hw/pci-host/gpex-acpi.c | 2
Signed-off-by: Michael Tokarev
---
hw/acpi/aml-build.c | 6 +++---
hw/acpi/hmat.c | 2 +-
hw/acpi/nvdimm.c | 2 +-
hw/block/hd-geometry.c | 4 ++--
hw/block/pflash_cfi01.c | 2 +-
hw/char/cadence_uart.c | 2 +-
hw/c
Signed-off-by: Michael Tokarev
---
docs/devel/qapi-code-gen.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst
index 7f78183cd4..b0852da97b 100644
--- a/docs/devel/qapi-code-gen.rst
+++ b/docs/devel/qapi-code-gen.rst
Signed-off-by: Michael Tokarev
---
hw/net/cadence_gem.c | 10 +-
hw/net/dp8393x.c | 2 +-
hw/net/e1000_regs.h | 2 +-
hw/net/e1000x_regs.h | 2 +-
hw/net/fsl_etsec/rings.c | 2 +-
hw/net/igb_regs.h | 4 ++--
hw/net/mcf_fec.c | 2 +-
hw/net/
Signed-off-by: Michael Tokarev
---
qga/channel-posix.c | 2 +-
qga/commands-posix-ssh.c | 2 +-
qga/commands-posix.c | 2 +-
qga/commands-win32.c | 4 ++--
qga/main.c| 2 +-
qga/vss-win32/install.cpp | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff
Signed-off-by: Michael Tokarev
---
bsd-user/errno_defs.h| 2 +-
bsd-user/freebsd/target_os_siginfo.h | 2 +-
bsd-user/freebsd/target_os_stack.h | 4 ++--
bsd-user/freebsd/target_os_user.h| 2 +-
bsd-user/qemu.h | 2 +-
bsd-user/signal-common.h
Signed-off-by: Michael Tokarev
---
accel/tcg/tb-maint.c | 2 +-
backends/tpm/tpm_ioctl.h | 2 +-
chardev/char-socket.c | 6 +++---
chardev/char.c | 2 +-
contrib/plugins/cache.c| 2 +-
contrib/plugins/lockstep.c | 2 +-
crypto/afalg.c | 2 +-
crypto/block-
Signed-off-by: Michael Tokarev
---
scripts/checkpatch.pl | 2 +-
scripts/ci/gitlab-pipeline-status | 2 +-
scripts/codeconverter/codeconverter/qom_macros.py | 2 +-
scripts/oss-fuzz/minimize_qtest_trace.py | 8
scripts/performance/topN
Signed-off-by: Michael Tokarev
---
target/hexagon/README | 2 +-
target/hexagon/fma_emu.c| 2 +-
target/hexagon/idef-parser/README.rst | 2 +-
target/hexagon/idef-parser/idef-parser.h| 2 +-
target/hexagon/idef-parser/parser-helpers.c | 6 +
Signed-off-by: Michael Tokarev
---
hw/xen/xen_pvdev.c | 2 +-
include/hw/xen/interface/arch-x86/xen-x86_64.h | 2 +-
include/hw/xen/interface/arch-x86/xen.h| 2 +-
include/hw/xen/interface/event_channel.h | 2 +-
include/hw/xen/interface/grant_table.h
Signed-off-by: Michael Tokarev
---
host/include/i386/host/cpuinfo.h | 2 +-
hw/i386/acpi-build.c | 4 ++--
hw/i386/amd_iommu.c | 4 ++--
hw/i386/intel_iommu.c| 4 ++--
hw/i386/kvm/xen_xenstore.c | 2 +-
hw/i386/kvm/xenstore_impl.c | 2 +-
hw/i386/pc
Signed-off-by: Michael Tokarev
---
hw/mips/malta.c | 2 +-
target/mips/cpu-defs.c.inc | 2 +-
target/mips/tcg/msa_helper.c| 12 ++--
target/mips/tcg/mxu_translate.c | 6 +++---
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/hw/mips/malta.c b/h
Signed-off-by: Michael Tokarev
---
util/cpuinfo-aarch64.c | 4 ++--
util/cpuinfo-i386.c| 4 ++--
util/cpuinfo-ppc.c | 2 +-
util/main-loop.c | 2 +-
util/oslib-posix.c | 2 +-
util/qdist.c | 2 +-
util/qemu-sockets.c| 2 +-
util/rcu.c | 2 +-
8 files ch
Signed-off-by: Michael Tokarev
---
tcg/aarch64/tcg-target.c.inc | 2 +-
tcg/arm/tcg-target.c.inc | 4 ++--
tcg/riscv/tcg-target.c.inc | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc
index 35ca80cd56..547152
This is interesting.
So, I forgot to remove old, already sent patches from the work dir
(usually I remove whole thing but didn't do that now). So I had
2 patch series in the same dir, one old already sent and applied,
and one new. And did git send-email series/* - which obviously
included both.
Peter Maydell writes:
> On Tue, 22 Aug 2023 at 16:50, Alex Bennée wrote:
>> I've already wasted enough of my time debugging aliased variables in
>> deeply nested loops.
>
> In theory we could try to enable -Wshadow and deal with
> all the existing cases of aliasing, which would then
> allow us t
Signed-off-by: Michael Tokarev
---
audio/mixeng.h| 2 +-
hw/audio/fmopl.c | 8
hw/audio/fmopl.h | 2 +-
hw/audio/gusemu_hal.c | 4 ++--
hw/audio/intel-hda-defs.h | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/audio/mixeng.h b/
Signed-off-by: Michael Tokarev
---
target/hexagon/README | 2 +-
target/hexagon/fma_emu.c| 2 +-
target/hexagon/idef-parser/README.rst | 2 +-
target/hexagon/idef-parser/idef-parser.h| 2 +-
target/hexagon/idef-parser/parser-helpers.c | 6 +
07.08.2023 13:56, Michael Tokarev wrote:
https://gitlab.com/mjt0k/qemu.git tags/trivial-patches-pull
This is what happens when one does development in ENOCOFFEE mode.. :)
Obviously these 3 patches together with the cover letter should not have been
sent to the mailing list, it's an old stu
Signed-off-by: Michael Tokarev
---
host/include/i386/host/cpuinfo.h | 2 +-
hw/i386/acpi-build.c | 4 ++--
hw/i386/amd_iommu.c | 4 ++--
hw/i386/intel_iommu.c| 4 ++--
hw/i386/kvm/xen_xenstore.c | 2 +-
hw/i386/kvm/xenstore_impl.c | 2 +-
hw/i386/pc
Signed-off-by: Michael Tokarev
---
tests/avocado/acpi-bits.py | 4 ++--
tests/avocado/acpi-bits/bits-tests/testacpi.py2 | 4 ++--
tests/decode/err_pattern_group_ident2.decode| 2 +-
tests/docker/common.rc | 2 +-
tests/migration/guestperf-batc
Signed-off-by: Michael Tokarev
---
hw/acpi/aml-build.c | 6 +++---
hw/acpi/hmat.c | 2 +-
hw/acpi/nvdimm.c | 2 +-
hw/block/hd-geometry.c | 4 ++--
hw/block/pflash_cfi01.c | 2 +-
hw/char/cadence_uart.c | 2 +-
hw/c
Signed-off-by: Michael Tokarev
---
hw/tpm/tpm_tis.h| 2 +-
hw/tpm/tpm_tis_common.c | 2 +-
hw/tpm/tpm_tis_i2c.c| 4 ++--
hw/tpm/tpm_tis_isa.c| 2 +-
hw/tpm/tpm_tis_sysbus.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h
i
Signed-off-by: Michael Tokarev
---
hw/riscv/microchip_pfsoc.c| 2 +-
hw/riscv/virt.c | 4 ++--
include/hw/riscv/riscv_hart.h | 2 +-
target/riscv/cpu.h| 2 +-
target/riscv/cpu_bits.h | 4 ++--
tar
Signed-off-by: Michael Tokarev
---
include/block/block_int-common.h | 2 +-
include/chardev/char-fe.h| 4 ++--
include/crypto/akcipher.h| 2 +-
include/crypto/ivgen.h | 4 ++--
include/elf.h| 4 ++--
include/hw/acpi/aml-build.h | 2 +-
include/hw
Signed-off-by: Michael Tokarev
---
host/include/ppc/host/cpuinfo.h | 2 +-
hw/ppc/ppc.c| 2 +-
hw/ppc/prep_systemio.c | 2 +-
hw/ppc/spapr.c | 8
hw/ppc/spapr_hcall.c| 2 +-
hw/ppc/spapr_nvdimm.c
Signed-off-by: Michael Tokarev
---
accel/tcg/tb-maint.c | 2 +-
backends/tpm/tpm_ioctl.h | 2 +-
chardev/char-socket.c | 6 +++---
chardev/char.c | 2 +-
contrib/plugins/cache.c| 2 +-
contrib/plugins/lockstep.c | 2 +-
crypto/afalg.c | 2 +-
crypto/block-
Signed-off-by: Michael Tokarev
---
scripts/checkpatch.pl | 2 +-
scripts/ci/gitlab-pipeline-status | 2 +-
scripts/codeconverter/codeconverter/qom_macros.py | 2 +-
scripts/oss-fuzz/minimize_qtest_trace.py | 8
scripts/performance/topN
Signed-off-by: Michael Tokarev
---
hw/net/cadence_gem.c | 10 +-
hw/net/dp8393x.c | 2 +-
hw/net/e1000_regs.h | 2 +-
hw/net/e1000x_regs.h | 2 +-
hw/net/fsl_etsec/rings.c | 2 +-
hw/net/igb_regs.h | 4 ++--
hw/net/mcf_fec.c | 2 +-
hw/net/
Signed-off-by: Michael Tokarev
---
qga/channel-posix.c | 2 +-
qga/commands-posix-ssh.c | 2 +-
qga/commands-posix.c | 2 +-
qga/commands-win32.c | 4 ++--
qga/main.c| 2 +-
qga/vss-win32/install.cpp | 4 ++--
6 files changed, 8 insertions(+), 8 deletions(-)
diff
Signed-off-by: Michael Tokarev
---
hw/pci-bridge/cxl_downstream.c | 2 +-
hw/pci-bridge/pci_expander_bridge.c | 2 +-
hw/pci-host/bonito.c| 2 +-
hw/pci-host/designware.c| 4 ++--
hw/pci-host/dino.c | 2 +-
hw/pci-host/gpex-acpi.c | 2
Signed-off-by: Michael Tokarev
---
hw/i2c/pm_smbus.c | 2 +-
hw/i2c/pmbus_device.c | 2 +-
hw/i2c/smbus_slave.c| 2 +-
hw/ide/ahci_internal.h | 4 ++--
hw/ide/cmd646.c | 2 +-
hw/ide/core.c | 2 +-
hw/usb/ccid-card-emulated.c | 2 +-
hw/usb/h
Signed-off-by: Michael Tokarev
---
ui/cocoa.m| 2 +-
ui/keymaps.h | 2 +-
ui/sdl2-2d.c | 2 +-
ui/sdl2.c | 2 +-
ui/vnc-enc-zrle.c.inc | 2 +-
ui/vnc-enc-zywrle.h | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ui/cocoa.m b/ui/c
Signed-off-by: Michael Tokarev
---
hw/xen/xen_pvdev.c | 2 +-
include/hw/xen/interface/arch-x86/xen-x86_64.h | 2 +-
include/hw/xen/interface/arch-x86/xen.h| 2 +-
include/hw/xen/interface/event_channel.h | 2 +-
include/hw/xen/interface/grant_table.h
Signed-off-by: Michael Tokarev
---
block.c | 2 +-
block/block-copy.c | 4 ++--
block/export/vduse-blk.c | 2 +-
block/export/vhost-user-blk-server.c | 2 +-
block/export/vhost-user-blk-server.h | 2 +-
block/file-posix.c
Signed-off-by: Michael Tokarev
---
hw/mips/malta.c | 2 +-
target/mips/cpu-defs.c.inc | 2 +-
target/mips/tcg/msa_helper.c| 12 ++--
target/mips/tcg/mxu_translate.c | 6 +++---
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/hw/mips/malta.c b/h
Signed-off-by: Michael Tokarev
---
util/cpuinfo-aarch64.c | 4 ++--
util/cpuinfo-i386.c| 4 ++--
util/cpuinfo-ppc.c | 2 +-
util/main-loop.c | 2 +-
util/oslib-posix.c | 2 +-
util/qdist.c | 2 +-
util/qemu-sockets.c| 2 +-
util/rcu.c | 2 +-
8 files ch
Signed-off-by: Michael Tokarev
---
hw/display/bochs-display.c | 2 +-
hw/display/qxl.c | 2 +-
hw/display/ssd0303.c | 2 +-
hw/display/ssd0323.c | 2 +-
hw/display/xlnx_dp.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/display/bochs-display
Signed-off-by: Michael Tokarev
---
docs/devel/qapi-code-gen.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst
index 7f78183cd4..b0852da97b 100644
--- a/docs/devel/qapi-code-gen.rst
+++ b/docs/devel/qapi-code-gen.rst
Signed-off-by: Michael Tokarev
---
bsd-user/errno_defs.h| 2 +-
bsd-user/freebsd/target_os_siginfo.h | 2 +-
bsd-user/freebsd/target_os_stack.h | 4 ++--
bsd-user/freebsd/target_os_user.h| 2 +-
bsd-user/qemu.h | 2 +-
bsd-user/signal-common.h
This is a v2 of large tree-wide spelling patch set.
Mostly fixes spelling errors in comments, but also in
some messages too, in documentation, in trace event
formats and so on.
I tried to group the fixes into more-or-less reasonable
chunks, but due to large amount of changes it's a trade-
off, - e
Signed-off-by: Michael Tokarev
---
tcg/aarch64/tcg-target.c.inc | 2 +-
tcg/arm/tcg-target.c.inc | 4 ++--
tcg/riscv/tcg-target.c.inc | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc
index 35ca80cd56..547152
This line is supposed to be unreachable, but if we're going to
have it at all, SIGABRT via abort() is subject to the same signal
peril that created this function in the first place.
We can _exit immediately without peril.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 2 +-
1 file c
The set of fatal signals is really immaterial. If one arrives,
and is unhandled, then the qemu process dies and the parent gets
the correct signal.
It is only for those signals which we would like to perform a
guest core dump instead of a host core dump that we need to catch.
Signed-off-by: Rich
Because we trap so many signals for use by the guest,
we have to take extra steps to exit properly.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 52 -
1 file changed, 28 insertions(+), 24 deletions(-)
diff --git a/linux-user/signal.c b/l
Protect the host's use of SIGPROF by remapping TARGET_SIGPROF
to one of the RT signals.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 9d16e3c8c5..b8913968cc 1006
Do not return a valid signal number in one domain
when given an invalid signal number in the other domain.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 72 -
1 file changed, 38 insertions(+), 34 deletions(-)
diff --git a/linux-user/signa
Install the host signal handler at the same time we are
probing the target signals for SIG_IGN/SIG_DFL. Ignore
unmapped target signals.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 47 +
1 file changed, 22 insertions(+), 25 deletions(-)
Describe the convoluted way by which we can see
ERROR:../alt/accel/tcg/cpu-exec.c:532:cpu_exec_longjmp_cleanup: assertion
failed: (cpu == current_cpu)
Bail out! ERROR:../alt/accel/tcg/cpu-exec.c:532:cpu_exec_longjmp_cleanup:
assertion failed: (cpu == current_cpu)
for encountering an an abort()
From: Helge Deller
If there is an internal program error in the qemu source code which
raises SIGSEGV or SIGBUS, we currently assume the signal belongs to
the guest.
With an artificial error introduced, we will now print
QEMU internal SIGSEGV {si_code=1, si_addr=(nil)}
QEMU v8.1.50 target x86_6
More signal cleanups. Mostly tested by temporarily adding an
abort, divide by zero, undefined instruction, null dereference,
within the implementation of a guest syscall to induce an error.
r~
Helge Deller (1):
linux-user: Detect and report host crashes
Richard Henderson (9):
linux-user:
These signals, when not spoofed via kill(), are always bugs.
Use die_with_backtrace to report this sensibly.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 68ceb2e4
Make host_signal_handler slightly easier to read.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 145 ++--
1 file changed, 85 insertions(+), 60 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index a6917eadd8..68ceb2e4bd 10
On 8/22/2023 7:00 AM, Isaku Yamahata wrote:
On Fri, Aug 18, 2023 at 05:49:51AM -0400,
Xiaoyao Li wrote:
diff --git a/target/i386/kvm/tdx.c b/target/i386/kvm/tdx.c
index 56cb826f6125..3198bc9fd5fb 100644
--- a/target/i386/kvm/tdx.c
+++ b/target/i386/kvm/tdx.c
...
+static inline uint32_t host_
Hello,
On behalf of the QEMU Team, I'd like to announce the availability of
the QEMU 8.1.0 release. This release contains 2900+ commits from 250
authors.
You can grab the tarball from our download page here:
https://www.qemu.org/download/#source
The full list of changes are available at:
h
在 2023/8/23 09:14, gaosong 写道:
> 在 2023/8/22 下午8:26, Bibo Mao 写道:
>> Implement the callback for getting the architecture-dependent CPU
>> ID, the cpu ID is physical id described in ACPI MADT table, this
>> will be used for cpu hotplug.
>>
>> Signed-off-by: Bibo Mao
>> Change-Id: I53bcfb9f4279e4
- Add meson detection of rutabaga_gfx
- Build virtio-gpu-rutabaga.c + associated vga/pci files when
present
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Reviewed-by: Emmanouil Pitsidianakis
---
v3: Fix alignment issues (Akihiko)
hw/display/meson.
This change enables rutabaga to receive virtio-gpu-3d hypercalls
when it is active.
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Reviewed-by: Emmanouil Pitsidianakis
---
v3: Whitespace fix (Akihiko)
v9: reorder virtio_gpu_have_udmabuf() after checkin
From: "Dr. David Alan Gilbert"
Define a new capability type 'VIRTIO_PCI_CAP_SHARED_MEMORY_CFG' to allow
defining shared memory regions with sizes and offsets of 2^32 and more.
Multiple instances of the capability are allowed and distinguished
by a device-specific 'id'.
Signed-off-by: Dr. David A
This adds basic documentation for virtio-gpu.
Suggested-by: Akihiko Odaki
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Reviewed-by: Emmanouil Pitsidianakis
---
v2: - Incorporated suggestions by Akihiko Odaki
- Listed the currently supported caps
From: Gerd Hoffmann
Use VIRTIO_GPU_SHM_ID_HOST_VISIBLE as id for virtio-gpu.
Signed-off-by: Antonio Caggiano
Tested-by: Alyssa Ross
Acked-by: Michael S. Tsirkin
---
hw/display/virtio-gpu-pci.c| 14 ++
hw/display/virtio-gpu.c| 1 +
hw/display/virtio-vga.c| 33
This adds initial support for gfxstream and cross-domain. Both
features rely on virtio-gpu blob resources and context types, which
are also implemented in this patch.
gfxstream has a long and illustrious history in Android graphics
paravirtualization. It has been powering graphics in the Android
This modifies the common virtio-gpu.h file have the fields and
defintions needed by gfxstream/rutabaga, by VirtioGpuRutabaga.
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Reviewed-by: Emmanouil Pitsidianakis
---
v1: void *rutabaga --> struct rutabaga
From: Antonio Caggiano
This adds preparatory functions needed to:
- decode blob cmds
- tracking iovecs
Signed-off-by: Antonio Caggiano
Signed-off-by: Dmitry Osipenko
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Reviewed-by: Emmanouil Pi
From: Gurchetan Singh
Changes since v10:
- Licensing and comment fixes
- Official "release commits" issued for rutabaga_gfx_ffi,
gfxstream, aemu-base. For example, see crrev.com/c/4778941
- The release commits can make packaging easier, though once
again all known users will likely just bu
From: Antonio Caggiano
The feature can be enabled when a backend wants it.
Signed-off-by: Antonio Caggiano
Reviewed-by: Marc-André Lureau
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Akihiko Odaki
---
hw/display/virtio-gpu-base.c
在 2023/8/22 下午8:26, Bibo Mao 写道:
Implement the callback for getting the architecture-dependent CPU
ID, the cpu ID is physical id described in ACPI MADT table, this
will be used for cpu hotplug.
Signed-off-by: Bibo Mao
Change-Id: I53bcfb9f4279e491f33e8b99a9102534ad53409e
---
Drop Chang-Id.
Ot
This patch fixes a bug in the memory translation for target/arm.
If in realm space, e.g., R-EL2 executing code from an executable
memory page currently results in a level 3 permission fault.
As we cannot access secure memory from an insecure space,
QEMU checks on each memory translation if the i
Stephen Brennan writes:
> Marc-André Lureau writes:
>> I am a bit reluctant to change the dump format by default. But since the
>> flatten format is more "complicated" than the "normal" format, perhaps we
>> can assume all users will handle it.
>>
>> The change is probably late for 8.1 though..
>
On 8/22/23 15:05, Philippe Mathieu-Daudé wrote:
On 22/8/23 19:51, Richard Henderson wrote:
Replace the separate defines with TCG_TARGET_HAS_extr_i64_i32,
so that the two parts of backend-specific type changing cannot
be out of sync.
Reported-by: Philippe Mathieu-Daudé
Signed-off-by: Richard He
Hi Emmanouil,
On 22/8/23 21:18, Emmanouil Pitsidianakis wrote:
Handle output IO messages in the transmit (TX) virtqueue.
It allocates a VirtIOSoundPCMBlock for each IO message and copies the
data buffer to it. When the IO buffer is written to the host's sound
card, the guest will be notified th
On 22/8/23 22:34, Richard Henderson wrote:
This line is supposed to be unreachable, but if we're going to
have it at all, SIGABRT via abort() is subject to the same signal
peril that created this function in the first place.
:)
Reviewed-by: Philippe Mathieu-Daudé
We can _exit immediately wi
On 22/8/23 22:34, Richard Henderson wrote:
Because we trap so many signals for use by the guest,
we have to take extra steps to exit properly.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 52 -
1 file changed, 28 insertions(+), 24 del
On 22/8/23 19:51, Richard Henderson wrote:
Replace the separate defines with TCG_TARGET_HAS_extr_i64_i32,
so that the two parts of backend-specific type changing cannot
be out of sync.
Reported-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
include/tcg/tcg-opc.h| 4 +
On 22/8/23 19:29, Richard Henderson wrote:
On 8/22/23 10:22, Philippe Mathieu-Daudé wrote:
} else {
tcg_gen_shli_i32(t1, arg, 8); /* t1 = xab. (IZ=0) */
/* .ab. (IZ=1) */
}
tcg_gen_or_i32(ret, t0, t1);
On 8/22/23 12:54, Warner Losh wrote:
As a practical matter, they both consume about the same resources until the
MAP_ANON
region starts to get populated with data...
With PROT_NONE, I think they would have the same effect. If it is to be a
backing store for
something like malloc, then MAP_ANON
Because we trap so many signals for use by the guest,
we have to take extra steps to exit properly.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 52 -
1 file changed, 28 insertions(+), 24 deletions(-)
diff --git a/linux-user/signal.c b/l
Supercedes: 20230812164314.352131-1-del...@gmx.de
("[PATCH] Fix signal handler to detect crashes in qemu-linux-user")
Fixes the issues I pointed out vs Helge's v2.
r~
Helge Deller (1):
linux-user: Detect and report host crashes
Richard Henderson (2):
linux-user: Split out die_with_signal
This line is supposed to be unreachable, but if we're going to
have it at all, SIGABRT via abort() is subject to the same signal
peril that created this function in the first place.
We can _exit immediately without peril.
Signed-off-by: Richard Henderson
---
linux-user/signal.c | 2 +-
1 file c
From: Helge Deller
If there is an internal program error in the qemu source code which
raises SIGSEGV or SIGBUS, we currently assume the signal belongs to
the guest.
With an artificial error introduced, we will now print
QEMU internal SIGSEGV {si_code=1, si_addr=(nil)}
QEMU v8.1.50 target x86_6
On Tue, Aug 22, 2023 at 1:33 PM Andrey Drobyshev
wrote:
>
> On 8/16/23 12:22, Andrey Drobyshev wrote:
> > On 7/31/23 17:51, Andrey Drobyshev wrote:
> >> On 7/24/23 16:11, Andrey Drobyshev wrote:
> >>> On 7/11/23 20:25, Andrey Drobyshev wrote:
> v1 --> v2:
> * Fixed line indentation;
> >
On Tue, Aug 22, 2023 at 12:11 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 8/22/23 11:03, Warner Losh wrote:
> > Hmm, bug with linux-user as well, because here we should
> re-establish the reserved_va
> > reservation.
> >
> >
> > ... of the shared memory region we just
On Mon, Aug 14, 2023 at 04:58:02PM +0800, Sam Li wrote:
> The zoned format feature can be tested by:
> $ tests/qemu-iotests/check zoned-qcow2
>
> Signed-off-by: Sam Li
> ---
> tests/qemu-iotests/tests/zoned-qcow2 | 135 ++
> tests/qemu-iotests/tests/zoned-qcow2.out | 140
On Mon, Aug 14, 2023 at 04:58:01PM +0800, Sam Li wrote:
> By adding zone operations and zoned metadata, the zoned emulation
> capability enables full emulation support of zoned device using
> a qcow2 file. The zoned device metadata includes zone type,
> zoned device state and write pointer of each
22.08.2023 22:33, Michael Tokarev wrote:
22.08.2023 22:02, timothee.coca...@gmail.com wrote:
Hi,
Maybe its too late for the 8.1 window, but I noticed that this patchset
fixes a segfault in qemu-system-ppc (and other 32 bits archs ?) introduced by
commit fb2c53c.
Therefore maybe it would be rele
On Thu, Aug 17, 2023 at 02:50:20PM +0200, Kevin Wolf wrote:
> The functions read the parents list in the generic block layer, so we
> need to hold the graph lock already there. The BlockDriver
> implementations actually modify the graph, so it has to be a writer
> lock.
>
> Signed-off-by: Kevin Wo
On Thu, Aug 17, 2023 at 02:50:19PM +0200, Kevin Wolf wrote:
> Instead of taking the writer lock internally, require callers to already
> hold it when calling bdrv_unref_child(). These callers will typically
> already hold the graph lock once the locking work is completed, which
> means that they ca
On Thu, Aug 17, 2023 at 02:50:18PM +0200, Kevin Wolf wrote:
> Instead of taking the writer lock internally, require callers to already
> hold it when calling bdrv_root_unref_child(). These callers will
> typically already hold the graph lock once the locking work is
> completed, which means that th
On 8/22/23 09:53, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé
---
Reviewed-by: Daniel Henrique Barboza
target/ppc/translate.c | 10 +-
target/ppc/translate/vsx-impl.c.inc | 19 ++-
2 files changed, 3 insertions(+), 26 dele
On Thu, Aug 17, 2023 at 02:50:16PM +0200, Kevin Wolf wrote:
> The function reads the parents list, so it needs to hold the graph lock.
>
> Signed-off-by: Kevin Wolf
> ---
> block.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/block.c b/block.c
> index 7df8780d6e..a82389f742 100644
22.08.2023 22:02, timothee.coca...@gmail.com wrote:
Hi,
Maybe its too late for the 8.1 window, but I noticed that this patchset
fixes a segfault in qemu-system-ppc (and other 32 bits archs ?) introduced by
commit fb2c53c.
Therefore maybe it would be relevant to get merge it before 8.2.
It's de
On Thu, Aug 17, 2023 at 02:50:15PM +0200, Kevin Wolf wrote:
> The function reads the parents list, so it needs to hold the graph lock.
>
> Signed-off-by: Kevin Wolf
> ---
> block.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi
signature.asc
Descrip
On Thu, Aug 17, 2023 at 02:50:14PM +0200, Kevin Wolf wrote:
> This adds GRAPH_RDLOCK annotations to declare that callers of
> bdrv_child_perm() need to hold a reader lock for the graph because
> some implementations access the children list of a node.
>
> The callers of bdrv_child_perm() convenien
On Thu, Aug 17, 2023 at 02:50:13PM +0200, Kevin Wolf wrote:
> The function reads the parents list, so it needs to hold the graph lock.
>
> This happens to result in BlockDriver.bdrv_set_perm() to be called with
> the graph lock held. For consistency, make it the same for all of the
> BlockDriver c
On Tue, Aug 22, 2023 at 01:44:49PM +0200, David Hildenbrand wrote:
> Currently, when using a true R/O NVDIMM (ROM memory backend) with a label
> area, the VM can easily crash QEMU by trying to write to the label area,
> because the ROM memory is mmap'ed without PROT_WRITE.
>
> [root@vm-0 ~]# n
On Thu, Aug 17, 2023 at 02:50:12PM +0200, Kevin Wolf wrote:
> The function reads the parents list, so it needs to hold the graph lock.
>
> Signed-off-by: Kevin Wolf
> ---
> include/block/block_int-common.h| 6 ++---
> include/block/block_int-global-state.h | 8 +++---
> includ
On Thu, Aug 17, 2023 at 02:50:11PM +0200, Kevin Wolf wrote:
> Instead of taking the writer lock internally, require callers to already
> hold it when calling bdrv_attach_child_common(). These callers will
> typically already hold the graph lock once the locking work is
> completed, which means that
1 - 100 of 331 matches
Mail list logo