Cover Letter Detail
Show a cover letter.
GET /api/covers/809848/?format=api
{ "id": 809848, "url": "http://patchwork.ozlabs.org/api/covers/809848/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/150456160452.17000.3290192176290246589.stgit@bahia.lan/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<150456160452.17000.3290192176290246589.stgit@bahia.lan>", "list_archive_url": null, "date": "2017-09-04T21:46:44", "name": "[0/4] ppc: fix migration with KVM PR (nested)", "submitter": { "id": 69178, "url": "http://patchwork.ozlabs.org/api/people/69178/?format=api", "name": "Greg Kurz", "email": "groug@kaod.org" }, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/cover/150456160452.17000.3290192176290246589.stgit@bahia.lan/mbox/", "series": [ { "id": 1458, "url": "http://patchwork.ozlabs.org/api/series/1458/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=1458", "date": "2017-09-04T21:46:44", "name": "ppc: fix migration with KVM PR (nested)", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1458/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/809848/comments/", "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 3xmNk40LHcz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 5 Sep 2017 07:47:40 +1000 (AEST)", "from localhost ([::1]:55800 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 1dozDW-0003fA-2s\n\tfor incoming@patchwork.ozlabs.org; Mon, 04 Sep 2017 17:47:38 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:47062)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <groug@kaod.org>) id 1dozCq-0003en-Tk\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 17:47:01 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <groug@kaod.org>) id 1dozCm-0002nA-C1\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 17:46:56 -0400", "from 7.mo178.mail-out.ovh.net ([46.105.58.91]:49442)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <groug@kaod.org>) id 1dozCm-0002mG-5T\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 17:46:52 -0400", "from player728.ha.ovh.net (b6.ovh.net [213.186.33.56])\n\tby mo178.mail-out.ovh.net (Postfix) with ESMTP id 802504AC77\n\tfor <qemu-devel@nongnu.org>; Mon, 4 Sep 2017 23:46:50 +0200 (CEST)", "from bahia.lan (gar31-1-82-66-74-139.fbx.proxad.net [82.66.74.139])\n\t(Authenticated sender: groug@kaod.org)\n\tby player728.ha.ovh.net (Postfix) with ESMTPA id 20B70540076;\n\tMon, 4 Sep 2017 23:46:44 +0200 (CEST)" ], "From": "Greg Kurz <groug@kaod.org>", "To": "qemu-devel@nongnu.org", "Date": "Mon, 04 Sep 2017 23:46:44 +0200", "Message-ID": "<150456160452.17000.3290192176290246589.stgit@bahia.lan>", "User-Agent": "StGit/0.17.1-46-g6855-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "X-Ovh-Tracer-Id": "14540434348238084402", "X-VR-SPAMSTATE": "OK", "X-VR-SPAMSCORE": "-100", "X-VR-SPAMCAUSE": "gggruggvucftvghtrhhoucdtuddrfeelledrvdejgddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd", "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]", "X-Received-From": "46.105.58.91", "Subject": "[Qemu-devel] [PATCH 0/4] ppc: fix migration with KVM PR (nested)", "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": "Thomas Huth <thuth@redhat.com>, qemu-ppc@nongnu.org,\n\tSuraj Jitindar Singh <sjitindarsingh@gmail.com>,\n\tDavid Gibson <david@gibson.dropbear.id.au>", "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>" }, "content": "A guest running with KVM PR ends up irresponsive after migration most of the\ntime. This happens because the HPT allocated by QEMU is likely to have a\ndifferent address on the destination than it had on the source, but we push\nthe source address to KVM.\n\nThis series does a little cleanup and fixes the issue. I could successfully\ntest it with a nested setup (KVM PR running in KVM HV).\n\nHowever, this isn't enough to fix migration when using KVM PR on baremetal...\nCPUs seem to end up looping on H_CEDE in the guest. I can't figure out what's\nhappening... Any suggestion would be appreciated.\n\nCheers,\n\n--\nGreg\n\n---\n\nGreg Kurz (4):\n spapr: only update SDR1 once per-cpu during CAS\n spapr: introduce a helper to compute the address of the HPT\n ppc: kvm: introduce a helper to update SDR1 for a single CPU\n ppc: kvm: update HPT pointer in KVM PR after migration\n\n\n hw/ppc/spapr.c | 15 +++++++++++++++\n hw/ppc/spapr_cpu_core.c | 8 +++-----\n hw/ppc/spapr_hcall.c | 20 +++++++++-----------\n include/hw/ppc/spapr.h | 1 +\n target/ppc/cpu.h | 1 +\n target/ppc/kvm.c | 12 ++++++++----\n target/ppc/kvm_ppc.h | 3 ++-\n target/ppc/machine.c | 7 +++++++\n 8 files changed, 46 insertions(+), 21 deletions(-)" }