[PATCH RESEND v2 1/9] configure: option to disable host block devices

2020-10-18 Thread Joelle van Dyne
From: osy Some hosts (iOS) have a sandboxed filesystem and do not provide low-level APIs for interfacing with host block devices. Signed-off-by: Joelle van Dyne --- configure | 4 meson.build| 1 + block/file-posix.c | 8 +++- 3 files changed, 12 insertions(+), 1 dele

[PATCH RESEND v2 9/9] block: check availablity for preadv/pwritev on mac

2020-10-18 Thread Joelle van Dyne
From: osy macOS 11/iOS 14 added preadv/pwritev APIs. Due to weak linking, configure will succeed with CONFIG_PREADV even when targeting a lower OS version. We therefore need to check at run time if we can actually use these APIs. Signed-off-by: Joelle van Dyne --- block/file-posix.c | 12 +

[PATCH RESEND v2 2/9] configure: cross-compiling without cross_prefix

2020-10-18 Thread Joelle van Dyne
From: osy The iOS toolchain does not use the host prefix naming convention. We add a new option `--enable-cross-compile` that forces cross-compile even without a cross_prefix. Signed-off-by: Joelle van Dyne --- configure | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff

[PATCH RESEND v2 4/9] coroutine: add libucontext as external library

2020-10-18 Thread Joelle van Dyne
From: osy iOS does not support ucontext natively for aarch64 and the sigaltstack is also unsupported (even worse, it fails silently, see: https://openradar.appspot.com/13002712 ) As a workaround we include a library implementation of ucontext and add it as a build option. Signed-off-by: Joelle

[PATCH RESEND v2 7/9] tcg: mirror mapping RWX pages for iOS optional

2020-10-18 Thread Joelle van Dyne
From: osy This allows jailbroken devices with entitlements to switch the option off. Signed-off-by: Joelle van Dyne --- include/sysemu/tcg.h | 2 +- accel/tcg/tcg-all.c | 27 +- accel/tcg/translate-all.c | 60 +-- bsd-user/main.c

[PATCH RESEND v2 8/9] tcg: support JIT on Apple Silicon

2020-10-18 Thread Joelle van Dyne
From: osy https://developer.apple.com/documentation/apple_silicon/porting_just-in-time_compilers_to_apple_silicon For < iOS 14, reverse engineered functions from libsystem_pthread.dylib is implemented to handle APRR supported SoCs. The following rules apply for JIT write protect: * JIT write-

Re: [PATCH RESEND v2 0/9] iOS and Apple Silicon host support

2020-10-18 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20201019051953.90107-...@getutm.app/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20201019051953.90107-...@getutm.app Subject: [PATCH RESEND v2 0/9] iOS and Apple Silicon host sup

Re: [PATCH v26 13/17] vfio: create mapped iova list when vIOMMU is enabled

2020-10-18 Thread Kirti Wankhede
On 9/26/2020 3:53 AM, Alex Williamson wrote: On Wed, 23 Sep 2020 04:54:15 +0530 Kirti Wankhede wrote: Create mapped iova list when vIOMMU is enabled. For each mapped iova save translated address. Add node to list on MAP and remove node from list on UNMAP. This list is used to track dirty pa

[PATCH 8/30] powerpc tcg: Fix Lesser GPL version number

2020-10-18 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section. Signed-off-by: Chetan Pant --- hw/ppc/ppce500_spin.c

Re: [PATCH] ati: mask x y display parameter values

2020-10-18 Thread P J P
+-- On Sun, 18 Oct 2020, BALATON Zoltan wrote --+ | The s->regs.[src|dst]_[xy] values should not be over 0x3fff because we mask | them on register write in ati.c Yes, those register values are set to zero(0). | and here [src|dst]_[x|y] local variables are declared unsigned so negative | value

Re: [PULL 25/33] tests/acceptance: Add a test for the N800 and N810 arm machines

2020-10-18 Thread Thomas Huth
On 17/10/2020 19.51, Philippe Mathieu-Daudé wrote: > Hi Peter, Igor, Thomas, > > On 2/28/20 5:38 PM, Peter Maydell wrote: >> From: Thomas Huth >> >> Old kernels from the Meego project can be used to check that Linux >> is at least starting on these machines. >> >> Signed-off-by: Thomas Huth >> R

Re: [PATCH V2 00/10] COLO project queued patches 20-Oct

2020-10-18 Thread Jason Wang
On 2020/10/16 下午1:51, Zhang Chen wrote: From: Zhang Chen Hi Jason, this series include latest COLO related patches. please check and merge it. Li Zhijian (2): colo-compare: fix missing compare_seq initialization colo-compare: check mark in mutual exclusion Pan Nengyuan (1): net/fil

[PATCH] hw/block/nvme: fix aer logic

2020-10-18 Thread Klaus Jensen
From: Klaus Jensen Fix same flawed logic in the handling of event masking. Before this patch the device would erroneously a) queue up events even though that event type is masked b) issue AERs for queued events in response to events getting cleared c) respond to new AERs with queued events

<    1   2