From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxa1Q-000751-MF for qemu-devel@nongnu.org; Thu, 28 Sep 2017 10:42:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxa1L-0008P1-O0 for qemu-devel@nongnu.org; Thu, 28 Sep 2017 10:42:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53816) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxa1L-0008Od-II for qemu-devel@nongnu.org; Thu, 28 Sep 2017 10:42:35 -0400 Date: Thu, 28 Sep 2017 16:42:26 +0200 From: Cornelia Huck Message-ID: <20170928164226.5e3ca82c.cohuck@redhat.com> In-Reply-To: <20170927072030.35737-3-borntraeger@de.ibm.com> References: <20170927072030.35737-1-borntraeger@de.ibm.com> <20170927072030.35737-3-borntraeger@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 2/3] s390x/ais: enable ais when migration is available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: qemu-devel , Alexander Graf , Thomas Huth , David Hildenbrand , Richard Henderson , Michael Roth , Yi Min Zhao , Halil Pasic On Wed, 27 Sep 2017 09:20:29 +0200 Christian Borntraeger wrote: > Instead of unconditionally enabling the KVM AIS capability > in the kvm arch init function, do this in the flic realize function > when we know if migration is available. This requires to initialize > flic before the CPUs (and cpu models). > > Signed-off-by: Christian Borntraeger > Reviewed-by: David Hildenbrand > --- > hw/intc/s390_flic.c | 8 ++------ > hw/intc/s390_flic_kvm.c | 16 +++++++++++----- > hw/s390x/css.c | 4 ++-- > hw/s390x/s390-virtio-ccw.c | 10 +++++++--- > include/hw/s390x/s390_flic.h | 1 - > target/s390x/kvm.c | 10 ++-------- > 6 files changed, 24 insertions(+), 25 deletions(-) Thanks, applied.