Re: [PATCH v9 4/7] qapi: add blockdev-replace command

2024-10-04 Thread Vladimir Sementsov-Ogievskiy
On 02.10.24 17:41, Vladimir Sementsov-Ogievskiy wrote: On 26.06.24 14:53, Vladimir Sementsov-Ogievskiy wrote: diff --git a/qapi/block-core.json b/qapi/block-core.json index df5e07debd..0a6f08a6e0 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -6148,3 +6148,91 @@   ##   { 'struct

Re: [PATCH v3 13/14] hw/vmapple/virtio-blk: Add support for apple virtio-blk

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf Apple has its own virtio-blk PCI device ID where it deviates from the official virtio-pci spec slightly: It puts a new "apple type" field at a static offset in config space and introduces a new barrier command. This patch firs

Re: [PATCH v3 11/14] hw/vmapple/bdif: Introduce vmapple backdoor interface

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf The VMApple machine exposes AUX and ROOT block devices (as well as USB OTG emulation) via virtio-pci as well as a special, simple backdoor platform device. This patch implements this backdoor platform device to the best of my

Re: [PATCH v3 12/14] hw/vmapple/cfg: Introduce vmapple cfg region

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf Instead of device tree or other more standardized means, VMApple passes platform configuration to the first stage boot loader in a binary encoded format that resides at a dedicated RAM region in physical address space. This pa

Re: [PATCH v3 14/14] hw/vmapple/vmapple: Add vmapple machine type

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf Apple defines a new "vmapple" machine type as part of its proprietary macOS Virtualization.Framework vmm. This machine type is similar to the virt one, but with subtle differences in base devices, a few special vmapple device a

Re: [PATCH v3 06/14] hw: Add vmapple subdir

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf We will introduce a number of devices that are specific to the vmapple target machine. To keep them all tidily together, let's put them into a single target directory. Signed-off-by: Alexander Graf Signed-off-by: Phil Dennis-

Re: [PATCH v3 07/14] hw/misc/pvpanic: Add MMIO interface

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf In addition to the ISA and PCI variants of pvpanic, let's add an MMIO platform device that we can use in embedded arm environments. Signed-off-by: Alexander Graf Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathie

Re: [PATCH v3 08/14] hvf: arm: Ignore writes to CNTP_CTL_EL0

2024-10-04 Thread Akihiko Odaki
On 2024/09/28 17:57, Phil Dennis-Jordan wrote: From: Alexander Graf MacOS unconditionally disables interrupts of the physical timer on boot and then continues to use the virtual one. We don't really want to support a full physical timer emulation, so let's just ignore those writes. Signed-off-

[PATCH v2] block/file-posix: optimize append write

2024-10-04 Thread Sam Li
When the file-posix driver emulates append write, it holds the lock whenever accessing wp, which limits the IO queue depth to one. The write IO flow can be optimized to allow concurrent writes. The lock is held in two cases: 1. Assumed that the write IO succeeds, update the wp before issuing the w