Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816826/?format=api
{ "id": 816826, "url": "http://patchwork.ozlabs.org/api/patches/816826/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170921120415.155548393@redhat.com/", "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": "<20170921120415.155548393@redhat.com>", "list_archive_url": null, "date": "2017-09-21T12:03:42", "name": "[1/2] qemu: sync linux-headers with KVM", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1dd8629f232a45aa8d671b6f89c6e1b49a8158d3", "submitter": { "id": 2826, "url": "http://patchwork.ozlabs.org/api/people/2826/?format=api", "name": "Marcelo Tosatti", "email": "mtosatti@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170921120415.155548393@redhat.com/mbox/", "series": [ { "id": 4364, "url": "http://patchwork.ozlabs.org/api/series/4364/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4364", "date": "2017-09-21T12:03:42", "name": "support RT_PRIO_HC hypercall", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4364/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816826/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816826/checks/", "tags": {}, "related": [], "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>)", "ext-mx05.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com", "ext-mx05.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=mtosatti@redhat.com" ], "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 3xyb2r117kz9t43\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 22:07:32 +1000 (AEST)", "from localhost ([::1]:53373 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 1dv0GQ-0001nc-8C\n\tfor incoming@patchwork.ozlabs.org; Thu, 21 Sep 2017 08:07:30 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:38511)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <mtosatti@redhat.com>) id 1dv0EY-0000qv-Et\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 08:05:40 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <mtosatti@redhat.com>) id 1dv0EU-0007cV-GT\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 08:05:34 -0400", "from mx1.redhat.com ([209.132.183.28]:46594)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <mtosatti@redhat.com>) id 1dv0EU-0007cD-9t\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 08:05:30 -0400", "from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 930FA2CE95A;\n\tThu, 21 Sep 2017 12:05:28 +0000 (UTC)", "from amt.cnet (ovpn-116-16.gru2.redhat.com [10.97.116.16])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 4E29960E3B;\n\tThu, 21 Sep 2017 12:05:28 +0000 (UTC)", "from amt.cnet (localhost [127.0.0.1])\n\tby amt.cnet (Postfix) with ESMTP id BC68A105057;\n\tThu, 21 Sep 2017 09:05:09 -0300 (BRT)", "(from marcelo@localhost)\n\tby amt.cnet (8.14.7/8.14.7/Submit) id v8LC59QA008874;\n\tThu, 21 Sep 2017 09:05:09 -0300" ], "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com 930FA2CE95A", "Message-Id": "<20170921120415.155548393@redhat.com>", "User-Agent": "quilt/0.60-1", "Date": "Thu, 21 Sep 2017 09:03:42 -0300", "From": "Marcelo Tosatti <mtosatti@redhat.com>", "To": "kvm@vger.kernel.org, qemu-devel@nongnu.org", "References": "<20170921120341.590850215@redhat.com>", "Content-Disposition": "inline; filename=sync-linux-headers", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.29]);\n\tThu, 21 Sep 2017 12:05:28 +0000 (UTC)", "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]", "X-Received-From": "209.132.183.28", "Subject": "[Qemu-devel] [patch 1/2] qemu: sync linux-headers with KVM", "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": "Marcelo Tosatti <mtosatti@redhat.com>", "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": "Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>", "diff": "Index: qemu-fifoprio/linux-headers/linux/kvm.h\n===================================================================\n--- qemu-fifoprio.orig/linux-headers/linux/kvm.h\n+++ qemu-fifoprio/linux-headers/linux/kvm.h\n@@ -929,6 +929,7 @@ struct kvm_ppc_resize_hpt {\n #define KVM_CAP_PPC_SMT_POSSIBLE 147\n #define KVM_CAP_HYPERV_SYNIC2 148\n #define KVM_CAP_HYPERV_VP_INDEX 149\n+#define KVM_CAP_VCPU_RT_PRIO_HC 150\n \n #ifdef KVM_CAP_IRQ_ROUTING\n \n@@ -1355,6 +1356,8 @@ struct kvm_s390_ucas_mapping {\n /* Available with KVM_CAP_S390_CMMA_MIGRATION */\n #define KVM_S390_GET_CMMA_BITS _IOWR(KVMIO, 0xb8, struct kvm_s390_cmma_log)\n #define KVM_S390_SET_CMMA_BITS _IOW(KVMIO, 0xb9, struct kvm_s390_cmma_log)\n+/* Available with KVM_CAP_VCPU_RT_PRIO_HC */\n+#define KVM_SET_VCPU_RT_PRIO_HC\t_IOW(KVMIO, 0xba, struct kvm_vcpu_rt_prio)\n \n #define KVM_DEV_ASSIGN_ENABLE_IOMMU\t(1 << 0)\n #define KVM_DEV_ASSIGN_PCI_2_3\t\t(1 << 1)\nIndex: qemu-fifoprio/linux-headers/asm-x86/kvm.h\n===================================================================\n--- qemu-fifoprio.orig/linux-headers/asm-x86/kvm.h\n+++ qemu-fifoprio/linux-headers/asm-x86/kvm.h\n@@ -353,6 +353,11 @@ struct kvm_xcrs {\n \t__u64 padding[16];\n };\n \n+struct kvm_vcpu_rt_prio {\n+\t__u32 enabled;\n+\t__u32 sched_priority;\n+};\n+\n /* definition of registers in kvm_run */\n struct kvm_sync_regs {\n };\nIndex: qemu-fifoprio/linux-headers/linux/kvm_para.h\n===================================================================\n--- qemu-fifoprio.orig/linux-headers/linux/kvm_para.h\n+++ qemu-fifoprio/linux-headers/linux/kvm_para.h\n@@ -15,6 +15,7 @@\n #define KVM_E2BIG\t\tE2BIG\n #define KVM_EPERM\t\tEPERM\n #define KVM_EOPNOTSUPP\t\t95\n+#define KVM_EINVAL\t\tEINVAL\n \n #define KVM_HC_VAPIC_POLL_IRQ\t\t1\n #define KVM_HC_MMU_OP\t\t\t2\n@@ -25,6 +26,7 @@\n #define KVM_HC_MIPS_EXIT_VM\t\t7\n #define KVM_HC_MIPS_CONSOLE_OUTPUT\t8\n #define KVM_HC_CLOCK_PAIRING\t\t9\n+#define KVM_HC_RT_PRIO\t\t\t10\n \n /*\n * hypercalls use architecture specific\n", "prefixes": [ "1/2" ] }