Re: [RFC PATCH 2/2] tests/tcg/mips64el: Run float tests

2021-12-26 Thread Philippe Mathieu-Daudé
On 12/26/21 03:25, Jiaxun Yang wrote: > 在2021年12月26日十二月 上午12:19,Philippe Mathieu-Daudé写道: >> Unfortunately this fails: >> >> $ make run-tcg-tests-mips64el-linux-user >> ... >> Files float_convs.out and tests/tcg/mips64el/float_convs.ref differ >> --- float_convs.out 2021-12-26 01:03:48.

[Bug 1749393] Re: sbrk() not working under qemu-user with a PIE-compiled binary?

2021-12-26 Thread frank
i can confirm that focal-proposed package fixes problems for arm64 and armhf on hostarch amd64 note: tried ppa listed here which fixes for arm64 but breaks armhf: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1928075/comments/15 steps for installing proposed Package: cat

[PATCH 1/3] jackaudio: use ifdefs to hide unavailable functions

2021-12-26 Thread Volker Rümelin
On Windows the jack_set_thread_creator() function and on MacOS the pthread_setname_np() function with a thread pointer paramater is not available. Use #ifdefs to remove the jack_set_thread_creator() function call and the qjack_thread_creator() function in both cases. The qjack_thread_creator() fun

[PATCH 2/3] dsoundaudio: fix crackling audio recordings

2021-12-26 Thread Volker Rümelin
Audio recordings with the DirectSound backend don't sound right. A look a the Microsoft online documentation tells us why. >From the DirectSound Programming Guide, Capture Buffer Information: 'You can safely copy data from the buffer only up to the read cursor.' Change the code to read up to the

[PATCH 0/3] misc. audio fixes

2021-12-26 Thread Volker Rümelin
Three unrelated audio fixes. The first one is a build fix for the Jack Audio backend on Windows and MacOS. Volker Rümelin (3):   jackaudio: use ifdefs to hide unavailable functions   dsoundaudio: fix crackling audio recordings   hw/audio/intel-hda: fix stream reset  audio/dsoundaudio.c  | 7 +

[PATCH 3/3] hw/audio/intel-hda: fix stream reset

2021-12-26 Thread Volker Rümelin
Quote from: High Definition Audio Specification 1.0a, section 3.3.35 Offset 80: {IOB}SDnCTL Stream Reset (SRST): Writing a 1 causes the corresponding stream to be reset. The Stream Descriptor registers (except the SRST bit itself) ... are reset. Change the code to reset the Stream Descriptor Cont

Re: [PATCH v10 1/3] migration/dirtyrate: implement vCPU dirtyrate calculation periodically

2021-12-26 Thread Hyman
在 2021/12/23 19:12, Peter Xu 写道: Hi, Yong, On Tue, Dec 14, 2021 at 07:07:32PM +0800, huang...@chinatelecom.cn wrote: From: Hyman Huang(黄勇) Introduce the third method GLOBAL_DIRTY_LIMIT of dirty tracking for calculate dirtyrate periodly for dirty restraint. Implement thread for calculate d

Re: [PATCH v10 3/3] cpus-common: implement dirty page limit on virtual CPU

2021-12-26 Thread Hyman
在 2021/12/24 13:14, Peter Xu 写道: On Tue, Dec 14, 2021 at 07:07:34PM +0800, huang...@chinatelecom.cn wrote: +void qmp_vcpu_dirty_limit(bool enable, + bool has_cpu_index, + uint64_t cpu_index, + bool has_dirty_rate, +

Re: [RFC v2 00/12] target/ppc: powerpc_excp improvements

2021-12-26 Thread Cédric Le Goater
Hello Fabiano, On 12/20/21 19:18, Fabiano Rosas wrote: This changed a lot since v1, basically what remains is the idea that we want to have some sort of array of interrupts and some sort of separation between processors. At the end of this series we'll have: - One file with all interrupt imple

Re: [PATCH] target/ppc: Fix e6500 boot

2021-12-26 Thread Cédric Le Goater
On 12/25/21 22:53, BALATON Zoltan wrote: On Sat, 25 Dec 2021, ma...@locati.it wrote: I have tried to launch a freshly compiled qemu from git master on a NXP T2080RDB devkit that has a e6500 CPU in combination with a freshly compiled kernel 5.16-rc6 I have Debian SID ppc64 up and running using

[PATCH v2] net/filter: Optimize filter_send to coroutine

2021-12-26 Thread Rao Lei
This patch is to improve the logic of QEMU main thread sleep code in qemu_chr_write_buffer() where it can be blocked and can't run other coroutines during COLO IO stress test. Our approach is to put filter_send() in a coroutine. In this way, filter_send() will call qemu_coroutine_yield() in qemu_c

Re: [PATCH v4 2/3] acpi: tpm: Add missing device identification objects

2021-12-26 Thread Shannon Zhao
On 2021/12/23 10:23, Stefan Berger wrote: Add missing device identification objects _STR and _UID. They will appear as files 'description' and 'uid' under Linux sysfs. Cc: Shannon Zhao Cc: Michael S. Tsirkin Cc: Igor Mammedov Cc: Ani Sinha Fixes: https://gitlab.com/qemu-project/qemu/-/iss

RE: [PATCH v2] net/filter: Optimize filter_send to coroutine

2021-12-26 Thread Zhang, Chen
> -Original Message- > From: Rao, Lei > Sent: Monday, December 27, 2021 9:20 AM > To: Zhang, Chen ; lizhij...@cn.fujitsu.com; > jasow...@redhat.com > Cc: qemu-devel@nongnu.org; Rao, Lei ; Li Zhijian > > Subject: [PATCH v2] net/filter: Optimize filter_send to coroutine > > This patch i

Re: [PATCH] tpm: fixed be_buffer_size size in in tpm_crb

2021-12-26 Thread Stefan Berger
On 12/25/21 07:38, Yuri Konotopov wrote: Trying to boot VM with TPM 2.0 CRB in passthrough mode without this change I got "Requested buffer size of 3968 is smaller than host TPM's fixed buffer size of 4096". I suppose the host has a TIS interface. The reason it gives this message is that the

Re: [PATCH] tpm: fixed be_buffer_size size in in tpm_crb

2021-12-26 Thread Stefan Berger
On 12/26/21 21:24, Stefan Berger wrote: On 12/25/21 07:38, Yuri Konotopov wrote: Trying to boot VM with TPM 2.0 CRB in passthrough mode without this change I got "Requested buffer size of 3968 is smaller than host TPM's fixed buffer size of 4096". I suppose the host has a TIS interface. T

Re: [ PATCH v3 08/10] target/riscv: Add sscofpmf extension support

2021-12-26 Thread Frank Chang
Atish Patra 於 2021年10月26日 週二 上午3:57寫道: > The Sscofpmf ('Ss' for Privileged arch and Supervisor-level extensions, > and 'cofpmf' for Count OverFlow and Privilege Mode Filtering) > extension allows the perf to handle overflow interrupts and filtering > support. This patch provides a framework for p

Re: [PATCH] tpm: fixed be_buffer_size size in in tpm_crb

2021-12-26 Thread Yuri Konotopov
27.12.2021 06:24, Stefan Berger пишет: I suppose the host has a TIS interface. Hello, Stefan. I do not think so. There is only tpm_crb tpm kernel module compiled in my system # systemd-cryptenroll --tpm2-device=list PATH    DEVICE  DRIVER /dev/tpmrm0 MSFT0101:00 tpm_crb The rea