[{"id":1773501,"web_url":"http://patchwork.ozlabs.org/comment/1773501/","msgid":"<c2bb9668-3056-c0bf-a794-878f1e4a058c@de.ibm.com>","list_archive_url":null,"date":"2017-09-22T11:27:16","subject":"Re: [Qemu-devel] [PATCH/RFC 0/3] ais fixups for 2.11","submitter":{"id":590,"url":"http://patchwork.ozlabs.org/api/people/590/","name":"Christian Borntraeger","email":"borntraeger@de.ibm.com"},"content":"On 09/22/2017 10:38 AM, Christian Borntraeger wrote:\n> Conny, this seem to work on KVM (needs more testing and review).\n> Can you check what happens with TCG?\n> \n> Patch 1 is the known base patch,\n> Patch 2 fixes the ais detection to be based on the flic interfaces\n> Patch 3 disables ais for all compat machines <= 2.10\n> \n> \n> \n> Christian Borntraeger (3):\n>   s390x/ais: disable ais facility as it is broken\n>   s390x/ais: enable ais when migration is available\n>   s390x/ais: disable ais for compat machines\n> \n>  hw/intc/s390_flic.c                | 11 +++++++++--\n>  hw/intc/s390_flic_kvm.c            | 10 +++++++++-\n>  hw/s390x/s390-virtio-ccw.c         | 18 ++++++++++++++++--\n>  include/hw/s390x/s390-virtio-ccw.h |  3 +++\n>  include/hw/s390x/s390_flic.h       |  1 +\n>  target/s390x/cpu_models.c          |  6 ++++++\n>  target/s390x/kvm.c                 |  3 +--\n>  7 files changed, 45 insertions(+), 7 deletions(-)\n> \n\nFWIW, with patch 1 backported to 2.10 and patches 1,2,3 on top of current master (as 211)\nI started some crossmigration test and successfully tested\nthe following combinations with KVM and -cpu host on an 4.13 kernel\n\nMachine s390-ccw-virtio-2.11\n211-->211  \t\n\nMachine s390-ccw-virtio-2.10\n211-->210,211\t\n210-->210,211\t\n\nMachine s390-ccw-virtio-2.9\n211-->29,210,211\n210-->29,210,211\n29--->29,210,211\n\nMachine s390-ccw-virtio-2.8\n211-->28,29,210,211\n210-->28,29,210,211\n29--->28,29,210,211\n28--->28,29,210,211\n\nMachine s390-ccw-virtio-2.7\n211-->27,28,29,210,211\n210-->27,28,29,210,211\n29--->27,28,29,210,211\n28--->27,28,29,210,211\n27--->27,28,29,210,211\n\nMachine s390-ccw-virtio-2.6\n211-->26 27 28 29 210 211\n210-->26 27 28 29 210 211\n29--->26 27 28 29 210 211\n28--->26 27 28 29 210 211\n27--->26 27 28 29 210 211\n26--->26 27 28 29 210 211","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzB6c1bDTz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 21:27:52 +1000 (AEST)","from localhost ([::1]:58092 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dvM7a-0000bm-CV\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 07:27:50 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:39442)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <borntraeger@de.ibm.com>) id 1dvM7G-0000bS-OI\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 07:27:31 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <borntraeger@de.ibm.com>) id 1dvM7D-0000qk-IV\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 07:27:30 -0400","from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34324)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <borntraeger@de.ibm.com>)\n\tid 1dvM7D-0000pp-9I\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 07:27:27 -0400","from pps.filterd (m0098409.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8MBNqAY004431\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 07:27:22 -0400","from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2d4ywry6fm-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 07:27:21 -0400","from localhost\n\tby e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <qemu-devel@nongnu.org> from <borntraeger@de.ibm.com>;\n\tFri, 22 Sep 2017 12:27:19 +0100","from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195)\n\tby e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted; \n\tFri, 22 Sep 2017 12:27:17 +0100","from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com\n\t[9.149.105.59])\n\tby b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v8MBRG5w29687990; Fri, 22 Sep 2017 11:27:16 GMT","from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 3908CA4051;\n\tFri, 22 Sep 2017 12:23:15 +0100 (BST)","from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id E5866A4040;\n\tFri, 22 Sep 2017 12:23:14 +0100 (BST)","from oc7330422307.ibm.com (unknown [9.152.224.107])\n\tby d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP;\n\tFri, 22 Sep 2017 12:23:14 +0100 (BST)"],"To":"Cornelia Huck <cohuck@redhat.com>","References":"<20170922083855.102341-1-borntraeger@de.ibm.com>","From":"Christian Borntraeger <borntraeger@de.ibm.com>","Date":"Fri, 22 Sep 2017 13:27:16 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.0","MIME-Version":"1.0","In-Reply-To":"<20170922083855.102341-1-borntraeger@de.ibm.com>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-US","Content-Transfer-Encoding":"7bit","X-TM-AS-GCONF":"00","x-cbid":"17092211-0040-0000-0000-000003DC490B","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17092211-0041-0000-0000-000025DD87A9","Message-Id":"<c2bb9668-3056-c0bf-a794-878f1e4a058c@de.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-22_03:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709220159","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]","X-Received-From":"148.163.156.1","Subject":"Re: [Qemu-devel] [PATCH/RFC 0/3] ais fixups for 2.11","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Halil Pasic <pasic@linux.vnet.ibm.com>,\n\tYi Min Zhao <zyimin@linux.vnet.ibm.com>,\n\tDavid Hildenbrand <david@redhat.com>,\n\tqemu-devel <qemu-devel@nongnu.org>, Alexander Graf <agraf@suse.de>,\n\t\"Jason J . Herne\" <jjherne@linux.vnet.ibm.com>,\n\tRichard Henderson <rth@twiddle.net>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1773578,"web_url":"http://patchwork.ozlabs.org/comment/1773578/","msgid":"<b86a3d64-6f04-3467-431c-834a24e03375@de.ibm.com>","list_archive_url":null,"date":"2017-09-22T13:08:22","subject":"Re: [Qemu-devel] [PATCH/RFC 0/3] ais fixups for 2.11","submitter":{"id":590,"url":"http://patchwork.ozlabs.org/api/people/590/","name":"Christian Borntraeger","email":"borntraeger@de.ibm.com"},"content":"On 09/22/2017 01:27 PM, Christian Borntraeger wrote:\n> On 09/22/2017 10:38 AM, Christian Borntraeger wrote:\n>> Conny, this seem to work on KVM (needs more testing and review).\n>> Can you check what happens with TCG?\n>>\n>> Patch 1 is the known base patch,\n>> Patch 2 fixes the ais detection to be based on the flic interfaces\n>> Patch 3 disables ais for all compat machines <= 2.10\n>>\n>>\n>>\n>> Christian Borntraeger (3):\n>>   s390x/ais: disable ais facility as it is broken\n>>   s390x/ais: enable ais when migration is available\n>>   s390x/ais: disable ais for compat machines\n>>\n>>  hw/intc/s390_flic.c                | 11 +++++++++--\n>>  hw/intc/s390_flic_kvm.c            | 10 +++++++++-\n>>  hw/s390x/s390-virtio-ccw.c         | 18 ++++++++++++++++--\n>>  include/hw/s390x/s390-virtio-ccw.h |  3 +++\n>>  include/hw/s390x/s390_flic.h       |  1 +\n>>  target/s390x/cpu_models.c          |  6 ++++++\n>>  target/s390x/kvm.c                 |  3 +--\n>>  7 files changed, 45 insertions(+), 7 deletions(-)\n>>\n> \n> FWIW, with patch 1 backported to 2.10 and patches 1,2,3 on top of current master (as 211)\n> I started some crossmigration test and successfully tested\n> the following combinations with KVM and -cpu host on an 4.13 kernel\n\nThis was on the same host migration in a file and back from a file.\nOn the same host kenrel 4.11.12 (no AIS support in KVM at all)\nand 4.12.14  (AIS support, but no migration) also survived the test matrix\nfor migration into/from file.","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=208.118.235.17; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [208.118.235.17])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzDMW03p1z9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 23:09:11 +1000 (AEST)","from localhost ([::1]:58850 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dvNhd-0002ic-42\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 09:09:09 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:40272)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <borntraeger@de.ibm.com>) id 1dvNh6-0002bj-Js\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 09:08:40 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <borntraeger@de.ibm.com>) id 1dvNh3-0004ds-AZ\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 09:08:36 -0400","from mx0a-001b2d01.pphosted.com ([148.163.156.1]:49672)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <borntraeger@de.ibm.com>)\n\tid 1dvNh3-0004dI-1W\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 09:08:33 -0400","from pps.filterd (m0098393.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8MD6FHg069736\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 09:08:28 -0400","from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2d52bquf38-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 09:08:28 -0400","from localhost\n\tby e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <qemu-devel@nongnu.org> from <borntraeger@de.ibm.com>;\n\tFri, 22 Sep 2017 14:08:26 +0100","from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194)\n\tby e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted; \n\tFri, 22 Sep 2017 14:08:23 +0100","from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com\n\t[9.149.105.232])\n\tby b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v8MD8MS725428070; Fri, 22 Sep 2017 13:08:22 GMT","from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 50D6152045;\n\tFri, 22 Sep 2017 13:03:18 +0100 (BST)","from oc7330422307.ibm.com (unknown [9.145.151.184])\n\tby d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id EB97A52043; \n\tFri, 22 Sep 2017 13:03:17 +0100 (BST)"],"From":"Christian Borntraeger <borntraeger@de.ibm.com>","To":"Cornelia Huck <cohuck@redhat.com>","References":"<20170922083855.102341-1-borntraeger@de.ibm.com>\n\t<c2bb9668-3056-c0bf-a794-878f1e4a058c@de.ibm.com>","Date":"Fri, 22 Sep 2017 15:08:22 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.0","MIME-Version":"1.0","In-Reply-To":"<c2bb9668-3056-c0bf-a794-878f1e4a058c@de.ibm.com>","Content-Type":"text/plain; charset=utf-8","Content-Language":"en-US","Content-Transfer-Encoding":"7bit","X-TM-AS-GCONF":"00","x-cbid":"17092213-0008-0000-0000-000004994FA4","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17092213-0009-0000-0000-00001E2A8F8D","Message-Id":"<b86a3d64-6f04-3467-431c-834a24e03375@de.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-22_05:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709220183","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]","X-Received-From":"148.163.156.1","Subject":"Re: [Qemu-devel] [PATCH/RFC 0/3] ais fixups for 2.11","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Halil Pasic <pasic@linux.vnet.ibm.com>,\n\tYi Min Zhao <zyimin@linux.vnet.ibm.com>,\n\tDavid Hildenbrand <david@redhat.com>,\n\tqemu-devel <qemu-devel@nongnu.org>, Alexander Graf <agraf@suse.de>,\n\t\"Jason J . Herne\" <jjherne@linux.vnet.ibm.com>,\n\tRichard Henderson <rth@twiddle.net>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]