Show a cover letter.

GET /api/covers/816995/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 816995,
    "url": "http://patchwork.ozlabs.org/api/covers/816995/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/150600964184.30533.472565821627831467.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": "<150600964184.30533.472565821627831467.stgit@bahia.lan>",
    "list_archive_url": null,
    "date": "2017-09-21T16:00:41",
    "name": "[v2,0/2] kvm: use kvm_vm_check_extension() with VM capabilities",
    "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/150600964184.30533.472565821627831467.stgit@bahia.lan/mbox/",
    "series": [
        {
            "id": 4429,
            "url": "http://patchwork.ozlabs.org/api/series/4429/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4429",
            "date": "2017-09-21T16:00:41",
            "name": "kvm: use kvm_vm_check_extension() with VM capabilities",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/4429/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/816995/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 3xyhH96Xvfz9t42\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 02:03:27 +1000 (AEST)",
            "from localhost ([::1]:54425 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 1dv3wh-00027V-ED\n\tfor incoming@patchwork.ozlabs.org; Thu, 21 Sep 2017 12:03:23 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:48707)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <groug@kaod.org>) id 1dv3uK-0007ZU-Bt\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 12:00:57 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <groug@kaod.org>) id 1dv3uG-000591-3q\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 12:00:56 -0400",
            "from 2.mo173.mail-out.ovh.net ([178.33.251.49]:34890)\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 1dv3uF-00058Z-UT\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 12:00:52 -0400",
            "from player687.ha.ovh.net (b9.ovh.net [213.186.33.59])\n\tby mo173.mail-out.ovh.net (Postfix) with ESMTP id 2932573769\n\tfor <qemu-devel@nongnu.org>; Thu, 21 Sep 2017 18:00:49 +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 player687.ha.ovh.net (Postfix) with ESMTPA id 716D82C007D;\n\tThu, 21 Sep 2017 18:00:42 +0200 (CEST)"
        ],
        "From": "Greg Kurz <groug@kaod.org>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Thu, 21 Sep 2017 18:00:41 +0200",
        "Message-ID": "<150600964184.30533.472565821627831467.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": "16298527055598885326",
        "X-VR-SPAMSTATE": "OK",
        "X-VR-SPAMSCORE": "-100",
        "X-VR-SPAMCAUSE": "gggruggvucftvghtrhhoucdtuddrfeelledriedvgdellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]",
        "X-Received-From": "178.33.251.49",
        "Subject": "[Qemu-devel] [PATCH v2 0/2] kvm: use kvm_vm_check_extension() with\n\tVM capabilities",
        "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": "Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>,\n\tqemu-ppc@nongnu.org, David 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": "Some VM capabilities are currently checked with kvm_check_extension(). This\ndoesn't have any impact for most host architectures because they don't depend\non the KVM type. However, this is a problem for server-class ppc hosts that\ncan support the PR and HV KVM types. Both implementations can co-exist in the\nkernel at the same time and we decide which one will be used with the \"type\"\nargument of the KVM_CREATE_VM ioctl.\n\nEach KVM type has a different set of capabilities, and checking them with\nkvm_check_extension() will always cause KVM to assume we're in HV mode,\neven if they are VM specific and we have explicitely requested to run in\nPR mode. This may produce unexpected results.\n\nSimilar issues were recently fixed in the ppc code:\n\nhttps://github.com/qemu/qemu/commit/70a0c19e83aa4c71c879d51e426e89e4b3d4e014\nhttps://github.com/dgibson/qemu/commit/b152d74ebaed61f89fa1ab2c9b1526d9e9dabae5\n\nThis series focuses on capabilities that are checked by the common code.\n\n--\nGreg\n\n---\n\nGreg Kurz (2):\n      kvm: check KVM_CAP_SYNC_MMU with kvm_vm_check_extension()\n      kvm: check KVM_CAP_NR_VCPUS with kvm_vm_check_extension()\n\n\n accel/kvm/kvm-all.c    |   51 +++++++++++++++++++++++++-----------------------\n accel/stubs/kvm-stub.c |    4 ++--\n include/sysemu/kvm.h   |    2 +-\n 3 files changed, 30 insertions(+), 27 deletions(-)"
}