Re: [PATCH v13 11/13] virtio-gpu: Handle resource blob commands

2024-06-01 Thread Akihiko Odaki
On 2024/05/27 12:02, Dmitry Osipenko wrote: From: Antonio Caggiano Support BLOB resources creation, mapping and unmapping by calling the new stable virglrenderer 0.10 interface. Only enabled when available and via the blob config. E.g. -device virtio-vga-gl,blob=true Signed-off-by: Antonio

Re: [PATCH] accel/kvm: Fix two lines with hard-coded tabs

2024-06-01 Thread Zhao Liu
On Fri, May 31, 2024 at 06:09:52PM +0100, Peter Maydell wrote: > Date: Fri, 31 May 2024 18:09:52 +0100 > From: Peter Maydell > Subject: [PATCH] accel/kvm: Fix two lines with hard-coded tabs > X-Mailer: git-send-email 2.34.1 > > In kvm-all.c, two lines have been accidentally indented with >

Re: [PATCH v13 03/13] virtio-gpu: Handle virtio_gpu_virgl_init() failure

2024-06-01 Thread Akihiko Odaki
On 2024/05/27 12:02, Dmitry Osipenko wrote: virtio_gpu_virgl_init() may fail, leading to a further Qemu crash because Qemu assumes it never fails. Check virtio_gpu_virgl_init() return code and don't execute virtio commands on error. Failed virtio_gpu_virgl_init() will result in a timed out

Re: [PATCH] machine: allow early use of machine_require_guest_memfd

2024-06-01 Thread Zhao Liu
On Fri, May 31, 2024 at 01:26:36PM +0200, Paolo Bonzini wrote: > Date: Fri, 31 May 2024 13:26:36 +0200 > From: Paolo Bonzini > Subject: [PATCH] machine: allow early use of machine_require_guest_memfd > X-Mailer: git-send-email 2.45.1 > > Ask the ConfidentialGuestSupport object whether to use

[Bug 1524546] Re: qemu-img rebase error message mentions wrong file name

2024-06-01 Thread Anchal Nigam
What to do if the old file has been moved? Say the backing file was /path/to/os.qcow2 and it was moved to /new/path/to/os.qcow2. How can we tell snapshot.qcow2 to update the backing file from /path/to/os.qcow2 to /new/path/to/os.qcow2? -- You received this bug notification because you are a

[PATCH v2 0/2] AWS Nitro Enclave emulation

2024-06-01 Thread Dorjoy Chowdhury
This is v2 submission for AWS Nitro Enclave emulation in QEMU. v1 is at: https://mail.gnu.org/archive/html/qemu-devel/2024-05/msg03524.html Changes in v2: - moved eif.c and eif.h files from hw/i386 to hw/core Hi, Hope everyone is doing well. I am working on adding AWS Nitro Enclave[1]

[PATCH v2 2/2] machine/nitro-enclave: new machine type for AWS nitro enclave

2024-06-01 Thread Dorjoy Chowdhury
AWS nitro enclaves[1] is an Amazon EC2[2] feature that allows creating isolated execution environments, called enclaves, from Amazon EC2 instances which are used for processing highly sensitive data. Enclaves have no persistent storage and no external networking. The enclave VMs are based on

[PATCH v2 1/2] machine/microvm: support for loading EIF image

2024-06-01 Thread Dorjoy Chowdhury
An EIF (Enclave Image Format)[1] image is used to boot an AWS nitro enclave[2] virtual machine. The EIF file contains the necessary kernel, cmdline, ramdisk(s) sections to boot. This commit adds support for loading EIF image using the microvm machine code. For microvm to boot from an EIF file,

Re: [PATCH V2 2/3] target/i386: call cpu_exec_realizefn before x86_cpu_filter_features

2024-06-01 Thread Zhao Liu
On Fri, May 31, 2024 at 10:13:47AM -0700, Chen, Zide wrote: > Date: Fri, 31 May 2024 10:13:47 -0700 > From: "Chen, Zide" > Subject: Re: [PATCH V2 2/3] target/i386: call cpu_exec_realizefn before > x86_cpu_filter_features > > On 5/30/2024 11:30 PM, Zhao Liu wrote: > > Hi Zide, > > > > On Fri,

Re: [PATCH] accel/tcg: nochain should disable goto_ptr

2024-06-01 Thread Richard Henderson
On 6/1/24 00:57, niugen wrote: on 2024/6/1 01:32, Richard Henderson wrote: On 5/31/24 03:17, NiuGenen wrote: Signed-off-by: NiuGenen ---   accel/tcg/cpu-exec.c | 2 +-   1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index

Re: Unexpected error in rme_configure_one() at ../target/arm/kvm-rme.c:159

2024-06-01 Thread Gavin Shan
Hi Jean and Ard, On 6/1/24 01:09, Jean-Philippe Brucker wrote: On Fri, May 31, 2024 at 04:23:13PM +1000, Gavin Shan wrote: I got a chance to try CCA software components, suggested by [1]. However, the edk2 is stuck somewhere. I didn't reach to stage of loading guest kernel yet. I'm replying

Re: [PATCH RFC 0/8] Add Counter delegation ISA extension support

2024-06-01 Thread Daniel Henrique Barboza
Hi Atish, I see that Rajnesh sent some patches that were built on top of this work [1], and this series no longer applies neither to alistair's risc-to-apply.next nor to master. If you could send a rebased version of this series that would be great. Thanks, Daniel [1]

[PATCH 4/5] tests/lcitool: Install mingw-w64-tools for the Windows cross-builds

2024-06-01 Thread Thomas Huth
Beside g++ we also need the mingw-w64-tools for properly building the code in qga/vss-win32/ , so let's install that package now, too. Signed-off-by: Thomas Huth --- tests/lcitool/projects/qemu-win-installer.yml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 5/5] tests/docker/dockerfiles: Run lcitool-refresh to update Fedora and Alpine

2024-06-01 Thread Thomas Huth
Run "make lcitool-refresh" to update the dockerfiles with the recent changes to the lcitool. Signed-off-by: Thomas Huth --- tests/docker/dockerfiles/alpine.docker | 4 ++-- tests/docker/dockerfiles/fedora-win64-cross.docker | 6 -- tests/docker/dockerfiles/fedora.docker

[PATCH 0/5] tests: Update Fedora and Alpine containers via lcitool

2024-06-01 Thread Thomas Huth
According to QEMU's support policy, Fedora 38 and Alpine 3.18 are not supported anymore, so let's bump the containers to a newer version. Both, Alpine 3.20 and Fedora 40 ship with Python 3.12 that breaks our old version of Avocado since the "imp" module has been removed there. To work around this

[PATCH 2/5] tests/lcitool: Bump to latest libvirt-ci and update Fedora and Alpine version

2024-06-01 Thread Thomas Huth
Update to the latest version of lcitool. It dropped support for Fedora 38 and Alpine 3.18, so we have to update these to newer versions here, too. Python 3.12 dropped the "imp" module which we still need for running Avocado. Fortunately Fedora 40 still ships with a work-around package that we can

[PATCH 1/5] tests/lcitool: Delete obsolete centos-stream-8.yml file

2024-06-01 Thread Thomas Huth
We've missed to delete this file when removing support for CentOS 8. Since the current upstream version of the lcitool removed support for CentOS 8 now, too, we have to remove the file before updating. Signed-off-by: Thomas Huth --- tests/lcitool/targets/centos-stream-8.yml | 3 --- 1 file

[PATCH 3/5] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job

2024-06-01 Thread Thomas Huth
The latest version of Clang (version 18 from Fedora 40) now reports bad function pointer casts as undefined behavior. Unfortunately, we are still doing this in quite a lot of places in the QEMU code and some of them are not easy to fix. So for the time being, temporarily switch this off in the