Cover Letter Detail
Show a cover letter.
GET /api/covers/809912/?format=api
{ "id": 809912, "url": "http://patchwork.ozlabs.org/api/covers/809912/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20170905035457.3753-1-Sergio.G.DelReal@gmail.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": "<20170905035457.3753-1-Sergio.G.DelReal@gmail.com>", "list_archive_url": null, "date": "2017-09-05T03:54:43", "name": "[v3,00/14] add support for Hypervisor.framework in QEMU", "submitter": { "id": 70675, "url": "http://patchwork.ozlabs.org/api/people/70675/?format=api", "name": "Sergio Andres Gomez Del Real", "email": "sergio.g.delreal@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20170905035457.3753-1-Sergio.G.DelReal@gmail.com/mbox/", "series": [ { "id": 1481, "url": "http://patchwork.ozlabs.org/api/series/1481/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=1481", "date": "2017-09-05T03:54:43", "name": "add support for Hypervisor.framework in QEMU", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/1481/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/809912/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>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"i+ib4Frt\"; dkim-atps=neutral" ], "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 3xmXvD70SZz9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 5 Sep 2017 13:56:07 +1000 (AEST)", "from localhost ([::1]:56706 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 1dp4y4-0001Yq-Hg\n\tfor incoming@patchwork.ozlabs.org; Mon, 04 Sep 2017 23:56:04 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:41391)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <sergio.g.delreal@gmail.com>) id 1dp4xS-0001YI-1m\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 23:55:31 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <sergio.g.delreal@gmail.com>) id 1dp4xM-0007dQ-Uy\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 23:55:26 -0400", "from mail-ua0-x243.google.com ([2607:f8b0:400c:c08::243]:37863)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <sergio.g.delreal@gmail.com>)\n\tid 1dp4xM-0007cg-P8\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 23:55:20 -0400", "by mail-ua0-x243.google.com with SMTP id q29so835146uaf.4\n\tfor <qemu-devel@nongnu.org>; Mon, 04 Sep 2017 20:55:19 -0700 (PDT)", "from localhost.localdomain ([161.10.80.59])\n\tby smtp.gmail.com with ESMTPSA id\n\td206sm1877252vka.29.2017.09.04.20.55.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 04 Sep 2017 20:55:17 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=4qqN2AP5hgcELk84uXzNA7lb2KJrNJx+/Ix5yyM/dfU=;\n\tb=i+ib4Frt2ydwxzdNXMVpfpeqeZP47r3a7tY7GsJxiPidPM7aMrcz3cdjub/0rM3FvO\n\tXx37TxSma4vLCX3NuUhFdizWE/UfHFQ7J6JuUpweffRJWMGhx1OzAnriumi92Khth3SG\n\tU5slf4gX96RbewlSe9SMMnINcmz8RDeghb+6j6H5dqhvSacpruMWS/ybOjzZk0ucBPfq\n\tNdTeXs1w4wQFg/DYmeSDfEN+Z19lCK46vUM6PGuJRZtkQBWXg1aqM95NYvzndjfZv45L\n\tY5PLNvf9gVZjqUU63hCNaa+eHTldSWIjsdlvXvbeqFSlyvu9kyrzlttJsK+BXZxhX8jj\n\t0rOw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=4qqN2AP5hgcELk84uXzNA7lb2KJrNJx+/Ix5yyM/dfU=;\n\tb=Tmo5cmYn78+3xlqIDhU/mJcJwbmNtWRo3rj3Xk80Oel8ci2NayY0T3SijNuDBiTl7J\n\tgR++1RfAVGXaSmaj/7AUgo+qZPKmo2f1cWkHiGivAgYYjKX7sGJYXm2bXYyjVzEwqRGq\n\t+O/MqlnBtz8mQAYQfgMs22D8DD1tzmcp5cnX1bTL9a677rYQ/WC7gY75xi7hC2eKxFZZ\n\tPz3JSgwXS09K4i8kxs7HlLg0I9rSEDuGImCMv1gRPRDEZFBmuHfXiZQv7oEYVkVWl51F\n\tUAgGghAB9gkciWzq5YDEEPCJGZhKrbr8YeS3YanbezjgdM0i26pbZBOXJ2l3xLDBuxx3\n\tyv2w==", "X-Gm-Message-State": "AHPjjUiMPt1Kk0vZtR/xOKk7h8KllL2WperuR45DNGtkBwrrVnSbzg2v\n\tEd+1q7iWrqO3rfw4", "X-Google-Smtp-Source": "ADKCNb7xo9decR9ZSd0sXRWykDJ9mV8zOfFU1tr0SX+5sZyLx92uGnLglkZ6HnffU94UsidcFXPzGw==", "X-Received": "by 10.176.29.12 with SMTP id j12mr1639173uak.3.1504583718592;\n\tMon, 04 Sep 2017 20:55:18 -0700 (PDT)", "From": "Sergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>", "X-Google-Original-From": "Sergio Andres Gomez Del Real\n\t<Sergio.G.DelReal@gmail.com>", "To": "qemu-devel@nongnu.org", "Date": "Mon, 4 Sep 2017 22:54:43 -0500", "Message-Id": "<20170905035457.3753-1-Sergio.G.DelReal@gmail.com>", "X-Mailer": "git-send-email 2.11.0", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "2607:f8b0:400c:c08::243", "Subject": "[Qemu-devel] [PATCH v3 00/14] add support for Hypervisor.framework\n\tin QEMU", "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": "Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>,\n\tpbonzini@redhat.com, stefanha@gmail.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": "================\nChanges in v3:\n (1) Fixed licensing issues in patch 3.\n (2) Revert to late adding of compilation rules in Makefile.objs (patch 8/14);\n files aren't ready to compile earlier.\n (3) Make a single patch just for fixing style (patch 4/14).\n (4) Fix data type for hvf_fd field.\n (5) Add comment that return value of -1 in apic function added in 7/14 means\n \"no interrupt\".\n================\n\n================\nChanges in v2:\n (1) Removed legacy option \"-enable-hvf\" in favor of \"-M accel=hvf\"\n (2) Added missing copyright headers; replace fprintfs for error_report;\n improved commit description.\n (3) Moved patch that adds compilation rules in Makefile.objs right after\n the patch that adds the new files from Google's repo.\n (4) Removed conditional macros from cpus.c and cpu.c\n (5) Moved patch that fixes coding style to patch # 3\n (6) Fix commit message in apic patch\n (7) Squash some commits to avoid code churn\n================\n\nThe following patchset adds to QEMU the supporting for macOS's native\nhypervisor, Hypervisor.framework (hvf). The code base is taken from\nGoogle's Android emulator at\nhttps://android.googlesource.com/platform/external/qemu/+/emu-master-dev.\n\nApart from general code refactoring, some additional features were implemented:\nretrieve the set of features supported by host cpu and hvf (cpuid);\ndirty page tracking for VGA memory area; reimplementation of the event\ninjection mechanism to allow injection of exceptions during vmexits, which is\nexemplified by the injection of a GP fault when the guest vmexits due to\nexecution of the vmcall instruction; changing the emulator's use of CPUState\nstructure in favor of CPUX86State, so as to in the future remove data structures\nthat are uselessly specific to hvf and unified some of the state between kvm/tcg\nand hvf.\nSome features initially planned to implement that didn't make it include:\npage fault handling in the emulator and implementing the dummy_signal to handle\nthe SIG_IPI signal without race conditions. Hopefully these can be implemented\nin the near future.\n\nSergio Andres Gomez Del Real (14):\n hvf: add support for Hypervisor.framework in the configure script\n hvf: add code base from Google's QEMU repository\n hvf: fix licensing issues; isolate task handling code (GPL v2-only)\n hvf: run hvf code through checkpatch.pl and fix style issues\n hvf: add code to cpus.c and do refactoring in preparation for\n compiling\n hvf: handle fields from CPUState and CPUX86State\n apic: add function to apic that will be used by hvf\n hvf: add compilation rules to Makefile.objs\n hvf: use new helper functions for put/get xsave\n hvf: implement hvf_get_supported_cpuid\n hvf: refactor cpuid code\n hvf: implement vga dirty page tracking\n hvf: refactor event injection code for hvf\n hvf: inject General Protection Fault when vmexit through vmcall\n\n configure | 38 +\n cpus.c | 86 ++\n hw/intc/apic.c | 12 +\n include/hw/i386/apic.h | 1 +\n include/qom/cpu.h | 2 +\n include/sysemu/hvf.h | 107 ++\n qemu-options.hx | 10 +-\n target/i386/Makefile.objs | 1 +\n target/i386/cpu-qom.h | 4 +-\n target/i386/cpu.c | 79 +-\n target/i386/cpu.h | 38 +-\n target/i386/hvf-all.c | 963 +++++++++++++++\n target/i386/hvf-i386.h | 48 +\n target/i386/hvf-utils/Makefile.objs | 1 +\n target/i386/hvf-utils/README.md | 7 +\n target/i386/hvf-utils/vmcs.h | 371 ++++++\n target/i386/hvf-utils/vmx.h | 222 ++++\n target/i386/hvf-utils/x86.c | 184 +++\n target/i386/hvf-utils/x86.h | 476 ++++++++\n target/i386/hvf-utils/x86_cpuid.c | 417 +++++++\n target/i386/hvf-utils/x86_cpuid.h | 52 +\n target/i386/hvf-utils/x86_decode.c | 2186 +++++++++++++++++++++++++++++++++++\n target/i386/hvf-utils/x86_decode.h | 325 ++++++\n target/i386/hvf-utils/x86_descr.c | 124 ++\n target/i386/hvf-utils/x86_descr.h | 55 +\n target/i386/hvf-utils/x86_emu.c | 1536 ++++++++++++++++++++++++\n target/i386/hvf-utils/x86_emu.h | 49 +\n target/i386/hvf-utils/x86_flags.c | 333 ++++++\n target/i386/hvf-utils/x86_flags.h | 243 ++++\n target/i386/hvf-utils/x86_gen.h | 53 +\n target/i386/hvf-utils/x86_mmu.c | 273 +++++\n target/i386/hvf-utils/x86_mmu.h | 45 +\n target/i386/hvf-utils/x86_task.c | 201 ++++\n target/i386/hvf-utils/x86_task.h | 18 +\n target/i386/hvf-utils/x86hvf.c | 463 ++++++++\n target/i386/hvf-utils/x86hvf.h | 39 +\n target/i386/kvm.c | 2 -\n 37 files changed, 9031 insertions(+), 33 deletions(-)\n create mode 100644 include/sysemu/hvf.h\n create mode 100644 target/i386/hvf-all.c\n create mode 100644 target/i386/hvf-i386.h\n create mode 100644 target/i386/hvf-utils/Makefile.objs\n create mode 100644 target/i386/hvf-utils/README.md\n create mode 100644 target/i386/hvf-utils/vmcs.h\n create mode 100644 target/i386/hvf-utils/vmx.h\n create mode 100644 target/i386/hvf-utils/x86.c\n create mode 100644 target/i386/hvf-utils/x86.h\n create mode 100644 target/i386/hvf-utils/x86_cpuid.c\n create mode 100644 target/i386/hvf-utils/x86_cpuid.h\n create mode 100644 target/i386/hvf-utils/x86_decode.c\n create mode 100644 target/i386/hvf-utils/x86_decode.h\n create mode 100644 target/i386/hvf-utils/x86_descr.c\n create mode 100644 target/i386/hvf-utils/x86_descr.h\n create mode 100644 target/i386/hvf-utils/x86_emu.c\n create mode 100644 target/i386/hvf-utils/x86_emu.h\n create mode 100644 target/i386/hvf-utils/x86_flags.c\n create mode 100644 target/i386/hvf-utils/x86_flags.h\n create mode 100644 target/i386/hvf-utils/x86_gen.h\n create mode 100644 target/i386/hvf-utils/x86_mmu.c\n create mode 100644 target/i386/hvf-utils/x86_mmu.h\n create mode 100644 target/i386/hvf-utils/x86_task.c\n create mode 100644 target/i386/hvf-utils/x86_task.h\n create mode 100644 target/i386/hvf-utils/x86hvf.c\n create mode 100644 target/i386/hvf-utils/x86hvf.h" }