[PATCH] hw/core: fix link error with --disable-fdt

2021-03-16 Thread Anthoine Bourgeois
The link error appends only with x86_64-softmmu as the only target. Fixes: a33ff6d2c6bd480fbab3bc9f748655a9269881eb ("hw/core: implement a guest-loader to support static hypervisor guests") Signed-off-by: Anthoine Bourgeois --- hw/core/meson.build | 2 +- 1 file changed, 1 inser

Re: [PATCH] virtio-vga: fix virtio-vga bar ordering

2020-04-22 Thread Anthoine Bourgeois
On Wed, Apr 22, 2020 at 12:46:57PM +0200, Gerd Hoffmann wrote: This fix exchange the modern io bar with the modern memory bar, replacing the msix bar that is never impacted anyway. Well, msix was placed in bar 4 intentionally. That keeps bar 1 (default msix location) free, so we have the

[PATCH v2 1/2] virtio-vga: fix virtio-vga bar ordering

2020-04-22 Thread Anthoine Bourgeois
are incompatible because virtio-vga failed to initialize with this option. This fix sets the modern io bar to the bar #5 to avoid conflict. Signed-off-by: Anthoine Bourgeois --- hw/display/virtio-vga.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/display/virtio-vga.c b/hw/display/virtio-vga.c index

[PATCH v2 2/2] virtio-pci: update virtio pci bar layout documentation

2020-04-22 Thread Anthoine Bourgeois
The modern io bar was never documented. Signed-off-by: Anthoine Bourgeois --- hw/virtio/virtio-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 4cb784389c..d028c17c24 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c

[PATCH] virtio-vga: fix virtio-vga bar ordering

2020-04-21 Thread Anthoine Bourgeois
are incompatible because virtio-vga failed to initialize with this option. This fix exchange the modern io bar with the modern memory bar, replacing the msix bar that is never impacted anyway. Signed-off-by: Anthoine Bourgeois --- hw/display/virtio-vga.c | 2 +- hw/virtio/virtio-pci.c | 1 + 2 files changed

Re: [Qemu-devel] [PATCH] scsi: Don't deference in_buf if NULL

2018-01-05 Thread Anthoine Bourgeois
the LHS is already bool, the RHS uses a single ! to convert a bitwise test into a bool with the correct sense)? It seems correct and clearer. With Eric's modification: Tested-by: Anthoine Bourgeois <anthoine.bourge...@gmail.com>