[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: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH v2] s390x/misc_helper.c: wrap s390_virtio_hypercall in BQL |
Date: |
Mon, 24 Apr 2017 00:47:20 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
address@hidden http://www.aurel32.net