[PATCH] tests/Makefile: test-image-locking needs CONFIG_POSIX

2020-08-02 Thread Thomas Huth
test-image-locking.c uses the qemu_lock_fd_test() function which is only available on Posix-like systems. Signed-off-by: Thomas Huth --- tests/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.include b/tests/Makefile.include index 5ff731be2b..430119db74 10064

[Bug 1883984] Re: QEMU S/390x sqxbr (128-bit IEEE 754 square root) crashes qemu-system-s390x

2020-08-02 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/388545 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1883984 Title: QEMU S/390x sqxbr (128-bit

Re: [Bug 1888606] [NEW] Heap-use-after-free in virtio_gpu_ctrl_response

2020-08-02 Thread Gerd Hoffmann
Hi, > > The ASAN trace: > > ==29798==ERROR: AddressSanitizer: heap-use-after-free on address > > 0x60d050e8 at pc 0x560629814761 bp 0x7ffe916eb1e0 sp 0x7ffe916eb1d8 > > READ of size 8 at 0x60d050e8 thread T0 > > #0 0x560629814760 in virtio_gpu_ctrl_response > > /home/alxndr/Develop

Re: [PATCH v4 4/7] hw/riscv: Use pre-built bios image of generic platform for virt & sifive_u

2020-08-02 Thread Bin Meng
Hi Alistair, On Wed, Jul 29, 2020 at 1:10 PM Bin Meng wrote: > > Hi Alistair, > > On Wed, Jul 29, 2020 at 1:05 PM Alistair Francis wrote: > > > > On Tue, Jul 28, 2020 at 9:51 PM Bin Meng wrote: > > > > > > Hi Alistair, > > > > > > On Wed, Jul 29, 2020 at 2:26 AM Alistair Francis > > > wrote:

[Bug 1883984] Re: QEMU S/390x sqxbr (128-bit IEEE 754 square root) crashes qemu-system-s390x

2020-08-02 Thread Christian Ehrhardt 
** Also affects: qemu (Ubuntu) Importance: Undecided Status: New ** Changed in: qemu (Ubuntu) Status: New => In Progress ** Changed in: qemu (Ubuntu) Assignee: (unassigned) => Christian Ehrhardt  (paelzer) -- You received this bug notification because you are a member of

Re: [Bug 1889943] Improper TCP/IP packet splitting on e1000e/vmxnet3

2020-08-02 Thread Yan Vugenfirer
Hello Patrick, If you are using QEMU version 4.2, then it is missing recent patches fixing IPv6 and TSO behaviour: https://www.mail-archive.com/qemu-devel@nongnu.org/msg723411.html https://www.mail-archive.com/qemu-devel@nongnu.org/msg723412.html Can you check that the above patches solve your

Re: [PATCH v2] target/ppc: Fix SPE unavailable exception triggering

2020-08-02 Thread David Gibson
On Mon, Jul 27, 2020 at 10:55:53AM -0700, Matthieu Bucchianeri wrote: > When emulating certain floating point instructions or vector instructions on > PowerPC machines, QEMU did not properly generate the SPE/Embedded Floating- > Point Unavailable interrupt. See the buglink further below for referen

Re: [PATCH] qapi: Delete unwanted indentation of top-level expressions

2020-08-02 Thread Markus Armbruster
Queued.

Re: [PATCH] configure: Require pixman for vhost-user-gpu.

2020-08-02 Thread Thomas Huth
On 02/08/2020 00.44, Rafael Kitover wrote: > Use the test from Makefile to check if vhost-user-gpu is being built, > and if so require pixman. Fixes: 9b52b17ba5 ("configure: Allow to build tools without pixman") ... sorry, I missed that there is indeed a tool that requires pixman. > Signed-off-b

[PULL 0/1] Seabios 20200803 patches

2020-08-02 Thread Gerd Hoffmann
The following changes since commit d74824cf7c8b352f9045e949dc636c7207a41eee: Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20200731' into staging (2020-07-31 10:28:13 +0100) are available in the Git repository at: git://git.kraxel.org/qemu tags/seabios-20200803-pull-request for y

[PULL 1/1] seabios: update to master snapshot

2020-08-02 Thread Gerd Hoffmann
seabios master branch got a few bugfixes, so update to a newer snapshot to pick them up for 5.1-rc3. shortlog Kevin O'Connor (2): vgabios: Fix preserve memory flag in handle_1000 ldnoexec: Add script to remove ET_EXEC flag from intermediate build objects Paul Menzel (1):

[Bug 1890069] [NEW] QEMU is not allowing multiple cores with mips architecture

2020-08-02 Thread Skyler Mäntysaari
Public bug reported: I may have found a bug as when trying to boot up an QEMU VM with the following command: "qemu-system-mips -M malta -m 512 -hda hda.img -kernel vmlinux-4.19.0-10-4kc-malta -initrd initrd.img-4.19.0-10-4kc- malta -append "root=/dev/sda1 console=ttyS0" -nographic -device e1000,ne

[Bug 1890069] [NEW] QEMU is not allowing multiple cores with mips architecture

2020-08-02 Thread Launchpad Bug Tracker
You have been subscribed to a public bug: I may have found a bug as when trying to boot up an QEMU VM with the following command: "qemu-system-mips -M malta -m 512 -hda hda.img -kernel vmlinux-4.19.0-10-4kc-malta -initrd initrd.img-4.19.0-10-4kc- malta -append "root=/dev/sda1 console=ttyS0" -nogra

[PATCH] docs/nvdimm: add 'pmem=on' for the device dax backend file

2020-08-02 Thread Jingqi Liu
At the end of live migration, QEMU uses msync() to flush the data to the backend storage. When the backend file is a character device dax, the pages explicitly avoid the page cache. It will return failure from msync(). The following warning is output. "warning: qemu_ram_msync: failed to sync m

[Bug 1889943] Re: Improper TCP/IP packet splitting on e1000e/vmxnet3

2020-08-02 Thread Patrick Magauran
Some more clarifications: It appears the QEMU does turn on the vnet_hdr flag of the tap interface in most cases, not just host-only networks. My previous assumption was due to the way the libvirt manages it, only setting it if the virtio interface is used. Still, for software fragmentation imple

[Bug 1404278] Re: tap connections not working on windows host

2020-08-02 Thread hakan
Hi, I want to run u-boot for x86_64 architecture in windows10 and I am using qemu-5.0.0, the latest version of qemu. The TAP adapter for Linux (host) worked successfully and I communicated between u-boot (guest) and Linux (host), but the result for Windows (host) failed. I installed the Tap Netwo

Re: [PATCH 2/2] accel/tcg: interrupt/exception handling uses bql_interrupt flag

2020-08-02 Thread Alex Bennée
Paolo Bonzini writes: > Yes, that is correct. It's more work but also more maintainable. I originally suggested keeping the locking choice up in the main loop because I suspect most guests will stick to BQL IRQs until they find it is a bottle neck. cpu_handle_interrupt/exception have never be

Re: [PATCH 1/2] hw/core: Add bql_interrupt flag to CPUClass

2020-08-02 Thread Alex Bennée
Eduardo Habkost writes: > On Fri, Jul 31, 2020 at 03:14:02PM -0400, Robert Foley wrote: >> On Fri, 31 Jul 2020 at 13:44, Eduardo Habkost wrote: >> > > >> > > +static inline void cpu_class_disable_bql_interrupt(CPUClass *cc) >> > > +{ >> > > +cc->bql_interrupt = false; >> > > +} >> > >> > C

Re: [PATCH v2] hw/net/net_tx_pkt: fix assertion failure in net_tx_pkt_add_raw_fragment()

2020-08-02 Thread Dmitry Fleytman
> On 1 Aug 2020, at 19:42, Mauro Matteo Cascella wrote: > > An assertion failure issue was found in the code that processes network > packets > while adding data fragments into the packet context. It could be abused by a > malicious guest to abort the QEMU process on the host. This patch repla

[PATCH v2] linux-user: syscall: ioctls: support DRM_IOCTL_I915_GETPARAM

2020-08-02 Thread chengang
From: Chen Gang Another DRM_IOCTL_I915 patches will be sent next. Signed-off-by: Chen Gang --- linux-user/ioctls.h| 3 +++ linux-user/syscall.c | 35 +++ linux-user/syscall_defs.h | 8 linux-user/syscall_types.h | 4 4 files chang

Re: [PATCH v7 46/47] iotests: Add test for commit in sub directory

2020-08-02 Thread Andrey Shinkevich
On 25.06.2020 18:22, Max Reitz wrote: Add a test for committing an overlay in a sub directory to one of the images in its backing chain, using both relative and absolute filenames. Signed-off-by: Max Reitz --- tests/qemu-iotests/020 | 44 ++ tests/qemu

Re: [PATCH v7 47/47] iotests: Test committing to overridden backing

2020-08-02 Thread Andrey Shinkevich
On 25.06.2020 18:22, Max Reitz wrote: Signed-off-by: Max Reitz --- tests/qemu-iotests/040 | 61 ++ tests/qemu-iotests/040.out | 4 +-- 2 files changed, 63 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/040 b/tests/qemu-iotests/040 inde

Re: [PATCH v7 45/47] iotests: Add filter mirror test cases

2020-08-02 Thread Andrey Shinkevich
On 25.06.2020 18:22, Max Reitz wrote: This patch adds some test cases how mirroring relates to filters. One of them tests what happens when you mirror off a filtered COW node, two others use the mirror filter node as basically our only example of an implicitly created filter node so far (besides