qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] s390x/misc_helper.c: wrap s390_virtio_hyperc


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH v2] s390x/misc_helper.c: wrap s390_virtio_hypercall in BQL
Date: Sun, 23 Apr 2017 20:09:08 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 04/23/2017 07:47 PM, Aurelien Jarno wrote:
On 2017-04-23 19:38, Philippe Mathieu-Daudé wrote:
Hi Aurelien!

Why don't lock inside s390_virtio_hypercall() directly round the diag500
dispatch call?

s390_virtio_hypercall is shared between TCG and KVM. For KVM the lock is
already done before calling s390_virtio_hypercall in kvm_arch_handle_exit.

Fair enough!

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]