Show a cover letter.

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

{
    "id": 53250,
    "url": "http://patches.dpdk.org/api/covers/53250/?format=api",
    "web_url": "http://patches.dpdk.org/cover/53250/",
    "project": {
        "id": 1,
        "url": "http://patches.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"
    },
    "msgid": "<20190503140901.59064-1-bruce.richardson@intel.com>",
    "date": "2019-05-03T14:08:57",
    "name": "[RFC,0/4] allow vm_power_manager to build using pkg-config",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "http://patches.dpdk.org/cover/53250/mbox/",
    "series": [
        {
            "id": 4555,
            "url": "http://patches.dpdk.org/api/series/4555/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4555",
            "date": "2019-05-03T14:08:57",
            "name": "allow vm_power_manager to build using pkg-config",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4555/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/53250/comments/",
    "headers": {
        "X-Mailer": "git-send-email 2.21.0",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Precedence": "list",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Date": "Fri,  3 May 2019 15:08:57 +0100",
        "X-Mailman-Version": "2.1.15",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "Cc": "dev@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "To": "david.hunt@intel.com",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,426,1549958400\"; d=\"scan'208\";a=\"147884554\"",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B5B8C5A6A;\n\tFri,  3 May 2019 16:09:10 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 174095A4A\n\tfor <dev@dpdk.org>; Fri,  3 May 2019 16:09:08 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 May 2019 07:09:07 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.222.236])\n\tby orsmga003.jf.intel.com with ESMTP; 03 May 2019 07:09:06 -0700"
        ],
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Amp-File-Uploaded": "False",
        "Subject": "[dpdk-dev] [RFC PATCH 0/4] allow vm_power_manager to build using\n\tpkg-config",
        "MIME-Version": "1.0",
        "Message-Id": "<20190503140901.59064-1-bruce.richardson@intel.com>",
        "X-ExtLoop1": "1",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Original-To": "patchwork@dpdk.org"
    },
    "content": "The vm_power_manager builds using meson as part of a DPDK build, but did\nnot support building using make and the libdpdk.pc file. Unfortunately,\nadding this support was not as easy as for other examples, as the\nvm_power_manager example was depending on a non-public header file in the\npower library. Since this header is needed to write real applications, like\nthe example, this patchset makes the header public.\n\nA second, more minor, complication was that the build selected at\ncompile-time which of two C files to include in the app using DPDK\nbuild-time variables.  Since these vars are not available when building\noutside the DPDK build-system we need to change this to always compiling\nboth files, and using macros to select the correct set of functions to use.\n[In this case, merging the files into one was also considered, and would\nwork fine, it just wouldn't scale as well as keeping the files separate if\nsolutions for other architectures were added later].\n\n\nBruce Richardson (4):\n  power: make channel commands header public\n  power: add namespace prefix to public header elements\n  examples/vm_power_manager: always compile all C files\n  examples/vm_power_manager: support build using pkg-config\n\n examples/vm_power_manager/Makefile            | 85 ++++++++++++++-----\n examples/vm_power_manager/channel_manager.c   |  2 +-\n examples/vm_power_manager/channel_monitor.c   | 73 ++++++++--------\n examples/vm_power_manager/channel_monitor.h   | 10 +--\n examples/vm_power_manager/guest_cli/main.c    |  2 +-\n .../guest_cli/vm_power_cli_guest.c            | 10 +--\n .../guest_cli/vm_power_cli_guest.h            |  4 +-\n examples/vm_power_manager/main.c              |  2 +-\n examples/vm_power_manager/meson.build         | 16 ++--\n examples/vm_power_manager/oob_monitor_nop.c   |  4 +\n examples/vm_power_manager/oob_monitor_x86.c   |  4 +\n examples/vm_power_manager/vm_power_cli.c      |  1 -\n lib/librte_power/Makefile                     |  4 +-\n lib/librte_power/channel_commands.h           | 85 -------------------\n lib/librte_power/guest_channel.c              |  8 +-\n lib/librte_power/guest_channel.h              |  6 +-\n lib/librte_power/meson.build                  |  4 +-\n lib/librte_power/power_kvm_vm.c               | 16 ++--\n lib/librte_power/rte_channel_commands.h       | 85 +++++++++++++++++++\n 19 files changed, 235 insertions(+), 186 deletions(-)\n delete mode 100644 lib/librte_power/channel_commands.h\n create mode 100644 lib/librte_power/rte_channel_commands.h"
}