Re: Let's remove some deprecated stuff

2021-04-30 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 4/29/21 3:46 PM, Gerd Hoffmann wrote: > >> Hmm. Not so easy I suspect. While most sound cards map to a single >> device there are exceptions. pcspk is build-in and hda is two devices. > > What do you mean by "pcspk is build-in"? > > Do you mean "the 'pcspk'

Re: Let's remove some deprecated stuff

2021-04-30 Thread Gerd Hoffmann
On Thu, Apr 29, 2021 at 05:05:35PM +0200, Philippe Mathieu-Daudé wrote: > On 4/29/21 3:46 PM, Gerd Hoffmann wrote: > > > Hmm. Not so easy I suspect. While most sound cards map to a single > > device there are exceptions. pcspk is build-in and hda is two devices. > > What do you mean by "pcspk

Re: [RFC PATCH v2 2/4] hw/arm/virt: Parse -smp cluster parameter in virt_smp_parse

2021-04-30 Thread Andrew Jones
On Fri, Apr 30, 2021 at 08:41:25AM +0200, Andrew Jones wrote: > On Fri, Apr 30, 2021 at 01:09:00PM +0800, wangyanan (Y) wrote: > > But I think the requirement for ARM "if even one parameter other than cpus > > or maxcpus > > is provided then all parameters must be provided" will be better. This can

RE: [PATCH v2 07/12] virtio-gpu: Add virtio_gpu_resource_create_blob

2021-04-30 Thread Kasireddy, Vivek
Hi Gerd, > > res->remapsz = QEMU_ALIGN_UP(res->remapsz, > > qemu_real_host_page_size); > > > > res->remapped = mmap(NULL, res->remapsz, PROT_READ, @@ -152,7 > > +155,9 @@ void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource > > *res) > > pdata = res->remapped; > >

Re: [PATCH v3 3/3] hw/core/loader: clear uninitialized ROM space

2021-04-30 Thread Stefano Garzarella
On Thu, Apr 29, 2021 at 04:13:26PM +0200, Laurent Vivier wrote: As for "hw/elf_ops: clear uninitialized segment space" we need to clear the uninitialized space when the ELF is set in ROM. Signed-off-by: Laurent Vivier Reviewed-by: Stefano Garzarella

[PATCH] docs/system: riscv: Include shakti_c machine documentation

2021-04-30 Thread Bin Meng
shakti_c machine documentation was missed in the riscv target doc. Signed-off-by: Bin Meng --- docs/system/target-riscv.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/system/target-riscv.rst b/docs/system/target-riscv.rst index 8d5946fbbb..4b3c78382c 100644 --- a/docs/system/targe

[PATCH v2 2/8] hw/riscv: virt: Switch to use qemu_fdt_setprop_string_array() helper

2021-04-30 Thread Bin Meng
From: Bin Meng Since commit 78da6a1bca22 ("device_tree: add qemu_fdt_setprop_string_array helper"), we can use the new helper to set the compatible strings for the SiFive test device node. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- Changes in v2: - use "static const char * con

[PATCH v2 1/8] hw/riscv: sifive_u: Switch to use qemu_fdt_setprop_string_array() helper

2021-04-30 Thread Bin Meng
From: Bin Meng Since commit 78da6a1bca22 ("device_tree: add qemu_fdt_setprop_string_array helper"), we can use the new helper to set the clock name for the ethernet controller node. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- Changes in v2: - use "static const char * const" for

[PATCH v2 6/8] docs/system/riscv: sifive_u: Document '-dtb' usage

2021-04-30 Thread Bin Meng
From: Bin Meng Update the 'sifive_u' machine documentation to mention the '-dtb' option that can be used to pass a custom DTB to QEMU. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- (no changes since v1) docs/system/riscv/sifive_u.rst | 47 +- 1 fi

[PATCH v2 7/8] hw/riscv: Use macros for BIOS image names

2021-04-30 Thread Bin Meng
From: Bin Meng The OpenSBI BIOS image names are used by many RISC-V machines. Let's define macros for them. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- (no changes since v1) include/hw/riscv/boot.h | 5 + hw/riscv/sifive_u.c | 6 ++ hw/riscv/spike.c| 6 ++--

[PATCH v2 3/8] hw/riscv: Support the official CLINT DT bindings

2021-04-30 Thread Bin Meng
From: Bin Meng Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings") adds the official DT bindings for CLINT, which uses "sifive,clint0" as the compatible string. "riscv,clint0" is now legacy and has to be kept for backward compatibility of legacy systems. Signed-off-by: Bi

[PATCH v2 4/8] hw/riscv: Support the official PLIC DT bindings

2021-04-30 Thread Bin Meng
From: Bin Meng The official DT bindings of PLIC uses "sifive,plic-1.0.0" as the compatible string in the upstream Linux kernel. "riscv,plic0" is now legacy and has to be kept for backward compatibility of legacy systems. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- Changes in v2:

[PATCH v2 8/8] hw/riscv: microchip_pfsoc: Support direct kernel boot

2021-04-30 Thread Bin Meng
From: Bin Meng At present the Microchip Icicle Kit machine only supports using '-bios' to load the HSS, and does not support '-kernel' for direct kernel booting just like other RISC-V machines do. One has to use U-Boot which is chain-loaded by HSS, to load a kernel for testing. This is not so con

[PATCH v2 5/8] docs/system/riscv: Correct the indentation level of supported devices

2021-04-30 Thread Bin Meng
From: Bin Meng The supported device bullet list has an additional space before each entry, which makes a wrong indentation level. Correct it. Signed-off-by: Bin Meng --- (no changes since v1) docs/system/riscv/microchip-icicle-kit.rst | 20 +++ docs/system/riscv/sifive_u.rst

Re: [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed

2021-04-30 Thread Markus Armbruster
gust...@noronha.eti.br writes: > From: Gustavo Noronha Silva > > Applications such as Gnome may use Alt-Tab and Super-Tab for different > purposes, some use Ctrl-arrows so we want to allow qemu to handle > everything when it captures the mouse/keyboard. > > However, Mac OS handles some combos lik

[Bug 1813201] Re: QEMU TCG i386 / x86_64 system emulation crash when executing int instruction

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1813201 Title: QEMU TCG i386 / x86_64 system emulation crash when executing int inst

Re: [PATCH 2/2] ui/cocoa: add option to swap Option and Command, enable by default

2021-04-30 Thread Markus Armbruster
gust...@noronha.eti.br writes: > From: Gustavo Noronha Silva > > On Mac OS X the Option key maps to Alt and Command to Super/Meta. This change > swaps them around so that Alt is the key closer to the space bar and > Meta/Super > is between Control and Alt, like on non-Mac keyboards. > > It is a

[Bug 1904954] Re: lan9118 bug peeked received message size not equal to actual received message size

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1904954 Title: lan9118 bug peeked received message size not equal to actual received

Re: [PATCH v4 0/3] nvdimm: Enable sync-dax property for nvdimm

2021-04-30 Thread David Gibson
On Thu, Apr 29, 2021 at 10:02:23PM +0530, Aneesh Kumar K.V wrote: > On 4/29/21 9:25 PM, Stefan Hajnoczi wrote: > > On Wed, Apr 28, 2021 at 11:48:21PM -0400, Shivaprasad G Bhat wrote: > > > The nvdimm devices are expected to ensure write persistence during power > > > failure kind of scenarios. > >

Re: [PATCH v2 1/7] target/ppc: move opcode table logic to translate.c

2021-04-30 Thread David Gibson
On Thu, Apr 29, 2021 at 01:21:24PM -0300, Bruno Larsen (billionai) wrote: 65;6203;1c> code motion to remove opcode callback table from > translate_init.c.inc to translate.c in preparation to remove > the #include from translate.c. Also created > destroy_ppc_opcodes and removed that logic from ppc_

Re: [PATCH v2 3/7] target/ppc: Isolated SPR read/write callbacks

2021-04-30 Thread David Gibson
On Thu, Apr 29, 2021 at 01:21:26PM -0300, Bruno Larsen (billionai) wrote: > Moved all SPR read/write callback, and some related functions, to a > new file specific for it. These callbacks are TCG only, so separating > them is required to support the flag disable-tcg. > > Making the spr_noaccess fu

[Bug 1758819] Re: HVF Illegal instruction: 4, High Sierra, v2.12-rc0

2021-04-30 Thread Thomas Huth
Looks like this should have been fixed here: https://gitlab.com/qemu-project/qemu/-/commit/118f2aadbc66aaae4e8d52 ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.lau

[Bug 1922611] Re: Acceptance Tests: migration fails on sparc target

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1922611 Title: Acceptance Tests: migration fails on sparc target Status in QEMU: Fi

[Bug 1880518] Re: issue while installing docker inside s390x container

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1880518 Title: issue while installing docker inside s390x container Status in QEMU: Invalid Bug d

[Bug 1909418] Re: QEMU: Heap Overflow vulnerability in SDHCI Component

2021-04-30 Thread Thomas Huth
Fixed here: https://gitlab.com/qemu-project/qemu/-/commit/cffb446e8fd19a14e1634c ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1909418 Title:

[Bug 1917085] Re: [OSS-Fuzz] Issue 30588 pcnet: Loopback-related stack-overflow

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/99ccfaa1edafd79f7a3a0ff7 ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1917085 Title:

[Bug 1921138] Re: tcg.c:3329: tcg fatal error

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/10b8eb94c0902b58 ** Changed in: qemu Status: In Progress => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1921138 Title: tcg.c:332

[Bug 1923861] Re: Hardfault when accessing FPSCR register

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/330ef14e6e749919c5c https://gitlab.com/qemu-project/qemu/-/commit/1df0878cff267128393 ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscrib

Re: [PATCH] virtio-blk: drop deprecated scsi=on|off property

2021-04-30 Thread Markus Armbruster
Eduardo Habkost writes: > On Thu, Apr 29, 2021 at 04:52:21PM +0100, Stefan Hajnoczi wrote: >> The scsi=on|off property was deprecated in QEMU 5.0 and can be removed >> completely at this point. >> >> Drop the scsi=on|off option. It was only available on Legacy virtio-blk >> devices. Linux v5.6 a

Re: [PATCH v2 1/2] meson: Select 'have_system' when virtiofsd is enabled

2021-04-30 Thread Paolo Bonzini
On 29/04/21 10:44, Peter Maydell wrote: On Thu, 29 Apr 2021 at 09:33, Philippe Mathieu-Daudé wrote: When not explicitly select a sysemu target and building virtiofsd, the seccomp/cap-ng libraries are not resolved, leading to this error: $ configure --target-list=i386-linux-user --disable-t

Re: [PATCH] meson: Set implicit_include_directories to false

2021-04-30 Thread Paolo Bonzini
On 29/04/21 04:43, Katsuhiro Ueno wrote: Without this, libvixl cannot be compiled with macOS 11.3 SDK due to include file name conflict (usr/include/c++/v1/version conflicts with VERSION). Signed-off-by: Katsuhiro Ueno --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson

[PATCH] oslib-win32: do not rely on macro to get redefined function name

2021-04-30 Thread Paolo Bonzini
On Windows with glib <2.50, g_poll is redefined to use the variant defined in util/oslib-win32.c. Use the same name in the declaration and definition for ease of grepping. Signed-off-by: Paolo Bonzini --- util/oslib-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uti

Re: [PATCH] virtio-blk: drop deprecated scsi=on|off property

2021-04-30 Thread Peter Krempa
On Fri, Apr 30, 2021 at 09:42:05 +0200, Markus Armbruster wrote: > Eduardo Habkost writes: > > > On Thu, Apr 29, 2021 at 04:52:21PM +0100, Stefan Hajnoczi wrote: > >> The scsi=on|off property was deprecated in QEMU 5.0 and can be removed > >> completely at this point. > >> > >> Drop the scsi=on|

Re: [PATCH 2/2] ui/cocoa: add option to swap Option and Command, enable by default

2021-04-30 Thread 'Gerd Hoffmann '
> @@ -797,12 +806,22 @@ - (bool) handleEventLocked:(NSEvent *)event > qkbd_state_key_event(kbd, Q_KEY_CODE_CTRL_R, false); > } > if (!(modifiers & NSEventModifierFlagOption)) { > -qkbd_state_key_event(kbd, Q_KEY_CODE_ALT, false); > -qkbd_state_key_event(kbd, Q_KEY

Re: [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed

2021-04-30 Thread 'Gerd Hoffmann '
On Thu, Apr 29, 2021 at 08:47:04PM -0300, gust...@noronha.eti.br wrote: > From: Gustavo Noronha Silva > > Applications such as Gnome may use Alt-Tab and Super-Tab for different > purposes, some use Ctrl-arrows so we want to allow qemu to handle > everything when it captures the mouse/keyboard. >

[Bug 1919036] Re: Assertion failure in fifo8_push_all() through am53c974

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1919036 Title: Assertion failure in fifo8_push_all() through am53c974 Status in QEMU:

[Bug 1916112] Re: Illegal instruction crash of QEMU on Jetson Nano

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1916112 Title: Illegal instruction crash of QEMU on Jetson Nano Status in QEMU: Fix

[Bug 1914849] Re: mprotect fails after MacOS 11.2 on arm mac

2021-04-30 Thread Thomas Huth
Fixed here: https://gitlab.com/qemu-project/qemu/-/commit/c118881ee607dcac ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1914849 Titl

[Bug 1879531] Re: Stack-overflow in _eth_get_rss_ex_dst_addr

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/7d6a4f123e00c9dbd ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1879531 Title: Stack-overflow i

[Bug 1922617] Re: qemu-aarch64-static "Illegal instruction" with debootstrap

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1922617 Title: qemu-aarch64-static "Illegal instruction" with debootstrap Status in Q

[Bug 1913012] Re: Installed firmware descriptor files contain (invalid) relative paths

2021-04-30 Thread Thomas Huth
Fixed here: https://gitlab.com/qemu-project/qemu/-/commit/4b956a399969c0c497a ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1913012 Title: In

[Bug 1910826] Re: [OSS-Fuzz] Issue 29224 rtl8139: Stack-overflow in rtlNUMBER_transmit_one

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/5311fb805a4403bba ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1910826 Title: [OSS-F

[Bug 1773743] Re: qemu-user -g xxx -E LD_PROFILE=xxx segfault

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/3ddd9036389f5f577e09 ** Changed in: qemu Status: In Progress => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1773743 Title: qemu-

[Bug 1914353] Re: QEMU: aarch64: :GIC: out-of-bounds access via interrupt ID

2021-04-30 Thread Thomas Huth
Fix has been included here: https://gitlab.com/qemu-project/qemu/-/commit/edfe2eb4360cde4ed5d95bd ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad

[Bug 1605123] Re: PEXT returns wrong values, seemingly switches arguments

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1605123 Title: PEXT returns wrong values, seemingly switches arguments Status in QEMU

Re: [PATCH v1] tests/migration: introduce multifd into guestperf

2021-04-30 Thread Daniel P . Berrangé
On Sat, Mar 20, 2021 at 01:04:56AM +0800, huang...@chinatelecom.cn wrote: > From: Hyman > > Guestperf tool does not cover the multifd-enabled migration > currently, it is worth supporting so that developers can > analysis the migration performance with all kinds of > migration. > > To request th

[Bug 1774412] Re: -icount sleep=on|off documentation is confusing

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1774412 Title: -icount sleep=on|off documentation is confusing Status in QEMU: Fix

[Bug 1407808] Re: virtual console gives strange response to ANSI DSR

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1407808 Title: virtual console gives strange response to ANSI DSR Status in QEMU: F

[Bug 1907817] Re: qemu-aarch64 tcg assertion v5.2.0

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1907817 Title: qemu-aarch64 tcg assertion v5.2.0 Status in QEMU: Fix Released Bug

[Bug 1904331] Re: Coding bug in the function serial_ioport_write in serial.c

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/29daa894b6c31eae074d ** Changed in: qemu Status: Confirmed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1904331 Title: Coding

[Bug 1906905] Re: qemu-system-sparc stucked while booting using ss20_v2.25_rom

2021-04-30 Thread Thomas Huth
Fix has been included here: https://gitlab.com/qemu-project/qemu/-/commit/62a9b228b5fefe0f9e364d ** Changed in: qemu Status: Confirmed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/

[Bug 1906693] Re: Assertion Failure in bdrv_co_write_req_prepare through megasas

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/86b1cf322789b79c8a ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1906693 Title: Assertion Failu

Re: [RFC PATCH v2 2/4] hw/arm/virt: Parse -smp cluster parameter in virt_smp_parse

2021-04-30 Thread wangyanan (Y)
On 2021/4/30 14:41, Andrew Jones wrote: On Fri, Apr 30, 2021 at 01:09:00PM +0800, wangyanan (Y) wrote: Hi Drew, On 2021/4/29 19:02, Andrew Jones wrote: On Thu, Apr 29, 2021 at 04:56:06PM +0800, wangyanan (Y) wrote: On 2021/4/29 15:16, Andrew Jones wrote: On Thu, Apr 29, 2021 at 10:14:37AM

[Bug 1912065] Re: Segfaults in tcg/optimize.c:212 after commit 7c79721606be11b5bc556449e5bcbc331ef6867d

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/ae30e86661b0f4 ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1912065 Title: Segfaults

[Bug 1915925] Re: ARM semihosting HEAPINFO results wrote to wrong address

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1915925 Title: ARM semihosting HEAPINFO results wrote to wrong address Status in QEMU

[Bug 1908551] Re: aarch64 SVE emulation breaks strnlen and strrchr

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/70acaafef2e053a3 ** Changed in: qemu Status: Confirmed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1908551 Title: aarch64 SVE

[Bug 1907137] Re: LDTR not properly emulated when MTE tag checks enabled at EL0

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/cc97b0019bb590b9b3c ** Changed in: qemu Status: In Progress => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1907137 Title: LDTR n

[Bug 1523811] Re: USB assert failure on dev-storage.c

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/39912c14da07a2d ** Changed in: qemu Status: Confirmed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1523811 Title: USB assert f

[Bug 1614609] Re: alphabetical order of monitor options

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1614609 Title: alphabetical order of monitor options Status in QEMU: Fix Released

[Bug 1294227] Re: migration wrong handling of KVM_GET_DIRTY_LOG ioctl

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1294227 Title: migration wrong handling of KVM_GET_DIRTY_LOG ioctl Status in QEMU:

[Bug 1913341] Re: Chardev behavior breaks polling based devices

2021-04-30 Thread Thomas Huth
commit f2c0fb93a44972a96f93510311c93ff4c2c6fab5 ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1913341 Title: Chardev behavior brea

[Bug 1916501] Re: qemu-img convert segfaults with specific URL

2021-04-30 Thread Thomas Huth
https://gitlab.com/qemu-project/qemu/-/commit/0f418a207696b37f05d ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1916501 Title: qemu-img conve

[Bug 1914236] Re: QEMU: scsi: use-after-free in mptsas_process_scsi_io_request() of mptsas1068 emulator

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1914236 Title: QEMU: scsi: use-after-free in mptsas_process_scsi_io_request() of mpt

[Bug 1913344] Re: Exynos4210 UART peripheral data loss

2021-04-30 Thread Thomas Huth
commit 40b4c2ae90e4f864a1015ff748a4af00518ff0c0 ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1913344 Title: Exynos4210 UART peri

[Bug 1912846] Re: Assertion hit on hot-unplugging virtio iommu enabled device

2021-04-30 Thread Thomas Huth
Fixed here: https://gitlab.com/qemu-project/qemu/-/commit/f6ab64c05f8a6229bf6 ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1912846 Title: As

[Bug 1910723] Re: NULL pointer dereference issues in am53c974 SCSI host bus adapter

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1910723 Title: NULL pointer dereference issues in am53c974 SCSI host bus adapter Stat

Re: [PATCH v2] monitor: hmp_qemu_io: acquire aio contex, fix crash

2021-04-30 Thread Max Reitz
On 23.04.21 15:42, Vladimir Sementsov-Ogievskiy wrote: Max reported the following bug: $ ./qemu-img create -f raw src.img 1G $ ./qemu-img create -f raw dst.img 1G $ (echo ' {"execute":"qmp_capabilities"} {"execute":"blockdev-mirror", "arguments":{"job-id":"mirror",

[Bug 1911666] Re: ZDI-CAN-10904: QEMU Plan 9 File System TOCTOU Privilege Escalation Vulnerability

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1911666 Title: ZDI-CAN-10904: QEMU Plan 9 File System TOCTOU Privilege Escalation Vu

[Bug 1906193] Re: riscv32 user mode emulation: fork return values broken

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1906193 Title: riscv32 user mode emulation: fork return values broken Status in QEMU:

[Bug 1715203] Re: Maintain Haiku support

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1715203 Title: Maintain Haiku support Status in QEMU: Fix Released Bug description

Re: [PATCH v2] vhost-user-blk: Fail gracefully on too large queue size

2021-04-30 Thread Kevin Wolf
Am 13.04.2021 um 18:56 hat Kevin Wolf geschrieben: > virtio_add_queue() aborts when queue_size > VIRTQUEUE_MAX_SIZE, so > vhost_user_blk_device_realize() should check this before calling it. > > Simple reproducer: > > qemu-system-x86_64 \ > -chardev null,id=foo \ > -device vhost-user-blk-

[Bug 1909247] Re: QEMU: use after free vulnerability in esp_do_dma() in hw/scsi/esp.c

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1909247 Title: QEMU: use after free vulnerability in esp_do_dma() in hw/scsi/esp.c St

[Bug 1748296] Re: TCG throws Invalid Opcode when executing x86 BMI shlx instruction

2021-04-30 Thread Thomas Huth
Fix has been included here: https://gitlab.com/qemu-project/qemu/-/commit/51909241d26fe6fe18a ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1748

[Bug 1919035] Re: Assertion failure in fifo8_pop_buf() through am53c974

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1919035 Title: Assertion failure in fifo8_pop_buf() through am53c974 Status in QEMU:

[Bug 1923693] Re: Lack of architecture in gdbstub makes debugging confusing

2021-04-30 Thread Thomas Huth
Is there still anything left to do here? ** Changed in: qemu Status: Fix Committed => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1923693 Title: Lack of architecture in gdbstub

[Bug 1923689] Re: sig-abort / coredump observed from aio_ctx_finalize

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1923689 Title: sig-abort / coredump observed from aio_ctx_finalize Status in QEMU:

[Bug 1918302] Re: qemu-system-arm segfaults while servicing SYS_HEAPINFO

2021-04-30 Thread Thomas Huth
The state of this bug is "Fix committed", but the last comments look like there is still work to do ... should this get reset to "New" or can we close this bug now? ** Changed in: qemu Status: Fix Committed => Incomplete -- You received this bug notification because you are a member of qe

[Bug 1920672] Re: Compilation fails with "ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)"

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1920672 Title: Compilation fails with "ld: Error: unable to disambiguate: -no-pie (d

[Bug 1914696] Re: aarch64: migration failed: Segmentation fault (core dumped)

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1914696 Title: aarch64: migration failed: Segmentation fault (core dumped)

[Bug 1909256] Re: compile failure if gnutls headers not on default include path

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1909256 Title: compile failure if gnutls headers not on default include path Status i

Re: [RFC PATCH v2 2/4] hw/arm/virt: Parse -smp cluster parameter in virt_smp_parse

2021-04-30 Thread wangyanan (Y)
On 2021/4/30 15:01, Andrew Jones wrote: On Fri, Apr 30, 2021 at 08:41:25AM +0200, Andrew Jones wrote: On Fri, Apr 30, 2021 at 01:09:00PM +0800, wangyanan (Y) wrote: But I think the requirement for ARM "if even one parameter other than cpus or maxcpus is provided then all parameters must be pr

Re: [RFC PATCH 01/27] virtio-snd: Add virtio sound header file

2021-04-30 Thread Gerd Hoffmann
On Thu, Apr 29, 2021 at 05:34:19PM +0530, Shreyansh Chouhan wrote: > Added device configuration and common definitions to the header > file. > > Signed-off-by: Shreyansh Chouhan > --- > include/hw/virtio/virtio-snd.h | 97 ++ This is the place for the data structu

[Bug 1886076] Re: risc-v pmp implementation error

2021-04-30 Thread Thomas Huth
Fix has been included here: https://gitlab.com/qemu-project/qemu/-/commit/af3fc195e3c8e98b ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bu

Re: [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed

2021-04-30 Thread Gustavo Noronha Silva
Hey Gerd, On Fri, Apr 30, 2021, at 5:05 AM, 'Gerd Hoffmann ' wrote: > Looks all sensible to me, I'd like to have the opinion from the MacOS > experts for this one though. Thanks for the reviews, I'll send a v2 later today! Are there any other people I should CC for the MacOS expertise? It's the

Re: [PATCH v4] hw/smbios: support for type 41 (onboard devices extended information)

2021-04-30 Thread Vincent Bernat
❦ 1 avril 2021 19:11 +02, Vincent Bernat: > Type 41 defines the attributes of devices that are onboard. The > original intent was to imply the BIOS had some level of control over > the enablement of the associated devices. Now that QEMU 6 is released, I think this patch is ready (it still appli

Re: [PATCH v4 05/12] qtest/arm-cpu-features: Restrict sve_tests_sve_off_kvm test to KVM

2021-04-30 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > The sve_tests_sve_off_kvm() test is KVM specific. > Only run it if KVM is available. > > Suggested-by: Andrew Jones > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée > --- > tests/qtest/arm-cpu-features.c | 4 ++-- > 1 file changed, 2 insert

Re: [RFC PATCH 09/27] virtio-snd: Add code for set config function

2021-04-30 Thread Gerd Hoffmann
On Thu, Apr 29, 2021 at 05:34:27PM +0530, Shreyansh Chouhan wrote: > Signed-off-by: Shreyansh Chouhan > --- > hw/audio/virtio-snd.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c > index afa38adee7..edaeffd6b7 100644 > --- a/hw/audi

Re: [RFC PATCH 11/27] virtio-snd: Add macros for logging

2021-04-30 Thread Gerd Hoffmann
On Thu, Apr 29, 2021 at 05:34:29PM +0530, Shreyansh Chouhan wrote: > Signed-off-by: Shreyansh Chouhan > --- > hw/audio/virtio-snd.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c > index caad157705..a93674ea72 100644 > --- a/hw/audi

Re: [RFC PATCH 12/27] virtio-snd: Add control virtqueue handler

2021-04-30 Thread Gerd Hoffmann
Hi, > +} else if (ctrl.code == VIRTIO_SND_R_JACK_INFO) { > +virtio_snd_log("VIRTIO_SND_R_JACK_INFO"); For that kind of tracing / debug logging it is useful to have enum -> string mapping helper function(s). take care, Gerd

Re: [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed

2021-04-30 Thread Gustavo Noronha Silva
Hey Markus, On Fri, Apr 30, 2021, at 4:20 AM, Markus Armbruster wrote: > Please indent like this > ># @full-grab: Capture all key presses, including system combos. This ># requires accessibility permissions, since it performs ># a global grab on key events. (de

Re: [PATCH] block: simplify write-threshold and drop write notifiers

2021-04-30 Thread Max Reitz
On 22.04.21 00:09, Vladimir Sementsov-Ogievskiy wrote: write-notifiers are used only for write-threshold. New code for such purpose should create filters. Let's handle write-threshold simply in generic code and drop write notifiers at all. Also move part of write-threshold API that is used only

[Bug 1907952] Re: qemu-system-aarch64: with "-display gtk" arrow keys are received as just ^[ on ttyAMA0

2021-04-30 Thread Thomas Huth
** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1907952 Title: qemu-system-aarch64: with "-display gtk" arrow keys are received as j

Re: [PATCH v2 1/8] hw/intc: GICv3 ITS initial framework

2021-04-30 Thread Peter Maydell
On Fri, 30 Apr 2021 at 00:36, wrote: > > On Fri, 2021-04-16 at 18:21 +0100, Peter Maydell wrote: > > On Thu, 1 Apr 2021 at 03:41, Shashi Mallela < > > shashi.mall...@linaro.org> wrote: > > > +#define GITS_PIDR2 0xFFE8 > > > > You probably don't want an offset for GITS_PIDR2 specifically. > >

Re: [PATCH 1/2] ui/cocoa: capture all keys and combos when mouse is grabbed

2021-04-30 Thread Gustavo Noronha Silva
Oh by the way, On Fri, Apr 30, 2021, at 7:02 AM, Gustavo Noronha Silva wrote: > ># @full-grab: Capture all key presses, including system combos. This > ># requires accessibility permissions, since it performs > ># a global grab on key events. (default: off) > >

Re: [RFC PATCH 13/27] virtio-snd: Add VIRTIO_SND_R_JACK_INFO handler

2021-04-30 Thread Gerd Hoffmann
Hi, > +virtio_snd_query_info req; > +size_t sz = iov_to_buf(elem->out_sg, elem->out_num, 0, &req, > sizeof(req)); > +assert(sz == sizeof(virtio_snd_query_info)); This assert looks like the guest can trigger it by sending broken messages. This should be avoided, the guest should no

[Bug 1826175] Re: Compilation on MSYS2/MinGW-w64 fails with error: "No rule to make target capstone.lib"

2021-04-30 Thread Thomas Huth
As far as I can see we're using a capstone version now that contains the commit with the fix, so I'm closing this bug. If you are still having problems, please open again or file a new bug ticket. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification becaus

[Bug 1826568] Re: RISC-V Disassembler/translator instruction decoding disagreement

2021-04-30 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/53 ** Changed in: qemu Status: New => Expired ** Bug watch

[Bug 1826401] Re: qemu-system-aarch64 has a high cpu usage on windows

2021-04-30 Thread Thomas Huth
Looking through old bug tickets... is this still an issue with the latest version of QEMU? Or could we close this ticket nowadays? Also, what guest operating systems were you running ? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a m

[PATCH] ui: Fix memory leak in qemu_xkeymap_mapping_table()

2021-04-30 Thread Philippe Mathieu-Daudé
Refactor qemu_xkeymap_mapping_table() to have a single exit point, so we can easily free the memory allocated by XGetAtomName(), This fixes when running a binary configured with --enable-sanitizers: Direct leak of 22 byte(s) in 1 object(s) allocated from: #0 0x561344a7473f in malloc (qemu

Re: [PATCH v4 06/12] qtest/arm-cpu-features: Remove TCG fallback to KVM specific tests

2021-04-30 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > sve_tests_sve_off_kvm() and test_query_cpu_model_expansion_kvm() > tests are now only being run if KVM is available. Drop the TCG > fallback. > > Suggested-by: Andrew Jones > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée -- Alex Bennée

  1   2   3   4   5   6   >