Received: from eggs.gnu.org ([2001:4830:134:3::10]:57530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eK4OI-00026c-M7 for qemu-devel@nongnu.org; Wed, 29 Nov 2017 10:35:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eK4OF-0003Aa-H9 for qemu-devel@nongnu.org; Wed, 29 Nov 2017 10:35:14 -0500 Date: Wed, 29 Nov 2017 16:35:01 +0100 From: Cornelia Huck Message-ID: <20171129163501.1e83432c.cohuck@redhat.com> In-Reply-To: <40e115a4-476b-4b0a-c151-3f708b9e0a80@redhat.com> References: <20171128203326.6062-1-david@redhat.com> <20171128203326.6062-5-david@redhat.com> <20171129161351.7908b6b0.cohuck@redhat.com> <40e115a4-476b-4b0a-c151-3f708b9e0a80@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 for-2.12 04/15] s390x/ioinst: pass the retaddr to all IO instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Hildenbrand Cc: qemu-s390x@nongnu.org, qemu-devel@nongnu.org, Christian Borntraeger , Richard Henderson , Alexander Graf On Wed, 29 Nov 2017 16:14:40 +0100 David Hildenbrand wrote: > On 29.11.2017 16:13, Cornelia Huck wrote: > > On Tue, 28 Nov 2017 21:33:14 +0100 > > David Hildenbrand wrote: > > > >> TCG needs the retaddr when injecting an interrupt. Let's just pass it > >> along and use 0 for KVM. The value will be completely ignored for KVM. > > > > Can we get a #define for that? Just to make it clear at a glance that > > we're passing an ignored value and not some magic thing. > > If you can come up with a good name, I can't :) KVM_FAKE_RA KVM_RA_UNUSED KVM_RA_IGNORED ?