get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/4913/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 4913,
    "url": "http://patchwork.dpdk.org/api/patches/4913/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1432695691-22360-1-git-send-email-huawei.xie@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1432695691-22360-1-git-send-email-huawei.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1432695691-22360-1-git-send-email-huawei.xie@intel.com",
    "date": "2015-05-27T03:01:31",
    "name": "[dpdk-dev] vhost: enable live migration",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d83b144d29e5c4e24c574ae5a28936dad273a699",
    "submitter": {
        "id": 16,
        "url": "http://patchwork.dpdk.org/api/people/16/?format=api",
        "name": "Huawei Xie",
        "email": "huawei.xie@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1432695691-22360-1-git-send-email-huawei.xie@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/4913/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/4913/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id A24C6B38D;\n\tWed, 27 May 2015 05:01:46 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id E0849590C\n\tfor <dev@dpdk.org>; Wed, 27 May 2015 05:01:43 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga103.fm.intel.com with ESMTP; 26 May 2015 20:01:39 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga003.jf.intel.com with ESMTP; 26 May 2015 20:01:38 -0700",
            "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id t4R31aqS006742;\n\tWed, 27 May 2015 11:01:36 +0800",
            "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t4R31YpY022395; Wed, 27 May 2015 11:01:36 +0800",
            "(from hxie5@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t4R31XEt022391; \n\tWed, 27 May 2015 11:01:33 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.13,502,1427785200\"; d=\"scan'208\";a=\"577321291\"",
        "From": "Huawei Xie <huawei.xie@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 27 May 2015 11:01:31 +0800",
        "Message-Id": "<1432695691-22360-1-git-send-email-huawei.xie@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] vhost: enable live migration",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When we migrate VM, without this feature, qemu will report error:\n\"migrate: Migration disabled: vhost lacks VHOST_F_LOG_ALL feature\".\n\nSigned-off-by: Krishna Murthy  <krishna.j.murthy@intel.com>\n---\n lib/librte_vhost/virtio-net.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c\nindex 4672e67..fced2ab 100644\n--- a/lib/librte_vhost/virtio-net.c\n+++ b/lib/librte_vhost/virtio-net.c\n@@ -66,7 +66,8 @@ static struct virtio_net_config_ll *ll_root;\n /* Features supported by this lib. */\n #define VHOST_SUPPORTED_FEATURES ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | \\\n \t\t\t\t(1ULL << VIRTIO_NET_F_CTRL_VQ) | \\\n-\t\t\t\t(1ULL << VIRTIO_NET_F_CTRL_RX))\n+\t\t\t\t(1ULL << VIRTIO_NET_F_CTRL_RX) | \\\n+\t\t\t\t(1ULL << VHOST_F_LOG_ALL))\n static uint64_t VHOST_FEATURES = VHOST_SUPPORTED_FEATURES;\n \n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}