Re: [RFC PATCH v2 3/3] hw/block/pflash: use memory_region_init_rom_device_from_file()

2021-03-01 Thread Philippe Mathieu-Daudé
On 3/1/21 7:13 PM, Stefan Hajnoczi wrote: > On Mon, Mar 01, 2021 at 12:53:29PM +0100, Philippe Mathieu-Daudé wrote: >> If the block drive is read-only we will model a "protected" flash >> device. We can thus use memory_region_init_rom_device_from_file() >> which mmap the backing file when creating

Re: [PATCH] i386/acpi: restore device paths for pre-5.1 vms

2021-03-01 Thread Thomas Lamprecht
On 01.03.21 20:59, Vitaly Cheptsov wrote: > After fixing the _UID value for the primary PCI root bridge in > af1b80ae it was discovered that this change updates Windows > configuration in an incompatible way causing network configuration > failure unless DHCP is used. More details provided on the l

Re: [PATCH V3 05/10] sungem: switch to use qemu_receive_packet() for loopback

2021-03-01 Thread Mark Cave-Ayland
On 02/03/2021 05:54, Jason Wang wrote: This patch switches to use qemu_receive_packet() which can detect reentrancy and return early. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Jason Wang --- hw/net/sungem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net

Re: Some more questions with regards to QEMU clock record and replay

2021-03-01 Thread Pavel Dovgalyuk
On 01.03.2021 20:16, Arnabjyoti Kalita wrote: Hello all, I am really thankful for the wonderful answers in my last post linked below- https://lists.nongnu.org/archive/html/qemu-discuss/2021-02/msg00131.html In continuation with the last post, I have a few more questions to ask - My experiment

Re: [PATCH qemu v14] spapr: Implement Open Firmware client interface

2021-03-01 Thread Alexey Kardashevskiy
On 02/03/2021 14:35, David Gibson wrote: On Wed, Feb 24, 2021 at 04:41:30PM +1100, Alexey Kardashevskiy wrote: The PAPR platform which describes an OS environment that's presented by a combination of a hypervisor and firmware. The features it specifies require collaboration between the firmwa

Re: [Bug 1917394] [NEW] command lspci does not show the IVSHMEM device

2021-03-01 Thread ChangLimin
Can you give the lspci messages? The below is my output. There is a RAM memory device. $ lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] 00:01.1 IDE interface: Intel Corporation 82371SB

Re: [RFC PATCH v2 17/17] cpu: Restrict "hw/core/sysemu-cpu-ops.h" to target/cpu.c

2021-03-01 Thread Philippe Mathieu-Daudé
On 3/1/21 10:51 PM, Philippe Mathieu-Daudé wrote: > Somehow similar to commit 78271684719 ("cpu: tcg_ops: move to > tcg-cpu-ops.h, keep a pointer in CPUClass"): > > We cannot in principle make the SysEmu Operations field definitions > conditional on CONFIG_SOFTMMU in code that is included by both

Re: [RFC v2 24/24] target/arm: wrap call to aarch64_sve_change_el in tcg_enabled()

2021-03-01 Thread Claudio Fontana
Probably I should describe here that after this patch, configure --enable-tcg --disable-kvm is now buildable. Ciao, Claudio On 3/1/21 5:49 PM, Claudio Fontana wrote: > Signed-off-by: Claudio Fontana > --- > target/arm/cpu-sysemu.c | 12 +++- > 1 file changed, 7 insertions(+), 5 delet

Re: [PATCH v4 4/6] vt82c686: Add emulation of VT8231 south bridge

2021-03-01 Thread Philippe Mathieu-Daudé
On 2/25/21 8:47 PM, BALATON Zoltan wrote: > Add emulation of VT8231 south bridge ISA part based on the similar > VT82C686B but implemented in a separate subclass that holds the > differences while reusing parts that can be shared. > > Signed-off-by: BALATON Zoltan > --- > hw/isa/vt82c686.c

Re: [PATCH v4 3/6] vt82c686: Add VT8231_SUPERIO based on VIA_SUPERIO

2021-03-01 Thread Philippe Mathieu-Daudé
On 2/25/21 8:47 PM, BALATON Zoltan wrote: > The VT8231 south bridge is very similar to VT82C686B but there are > some differences in register addresses and functionality, e.g. the > VT8231 only has one serial port. This commit adds VT8231_SUPERIO > subclass based on the abstract VIA_SUPERIO class t

Re: [RFC v2 10/24] target/arm: only perform TCG cpu and machine inits if tcg enabled

2021-03-01 Thread Claudio Fontana
On 3/2/21 4:36 AM, Richard Henderson wrote: > On 3/1/21 8:49 AM, Claudio Fontana wrote: >> @@ -1321,6 +1323,7 @@ static void arm_cpu_realizefn(DeviceState *dev, Error >> **errp) >> } >> } >> >> +#ifdef CONFIG_TCG >> { >> uint64_t scale; >> >> @@ -1346,7 +1349,

Re: [PATCH v4 5/6] hw/pci-host: Add emulation of Marvell MV64361 PPC system controller

2021-03-01 Thread Philippe Mathieu-Daudé
On 2/25/21 8:47 PM, BALATON Zoltan wrote: > The Marvell Discovery II aka. MV64361 is a PowerPC system controller > chip that is used on the pegasos2 PPC board. This adds emulation of it > that models the device enough to boot guests on this board. The > mv643xx.h header with register definitions is

Re: [Bug 1917394] [NEW] command lspci does not show the IVSHMEM device

2021-03-01 Thread Sean Kuo
Hi ChangLimin, Thanks for your reply. I checked again to find the device... I thought the name was ivshmem. I don't find any driver code for IVSHMEM in the linux and qemu repo. Can you give me some help? 00:10.0 RAM memory: Red Hat, Inc. Inter-VM shared memory (rev 01) Subsystem: Red Hat, Inc. QE

<    1   2   3   4   5