Re: [PATCH] hw/net/vmxnet3: Log guest-triggerable errors using LOG_GUEST_ERROR

2021-12-15 Thread Jason Wang
On Wed, Dec 15, 2021 at 10:47 PM Philippe Mathieu-Daudé wrote: > > The "Interrupt Cause" register (VMXNET3_REG_ICR) is read-only. > Write accesses are ignored. Log them with as LOG_GUEST_ERROR > instead of aborting: > > [R +0.239743] writeq 0xe0002031 0x46291a5a55460800 > ERROR:hw/net/vmxnet3.

[PATCH] hw/net/vmxnet3: Log guest-triggerable errors using LOG_GUEST_ERROR

2021-12-15 Thread Philippe Mathieu-Daudé
The "Interrupt Cause" register (VMXNET3_REG_ICR) is read-only. Write accesses are ignored. Log them with as LOG_GUEST_ERROR instead of aborting: [R +0.239743] writeq 0xe0002031 0x46291a5a55460800 ERROR:hw/net/vmxnet3.c:1819:vmxnet3_io_bar1_write: code should not be reached Thread 1 "qemu-sys