Cover Letter Detail
Show a cover letter.
GET /api/covers/807462/?format=api
{ "id": 807462, "url": "http://patchwork.ozlabs.org/api/covers/807462/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/cover/20170830082702.3011-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": "<20170830082702.3011-1-Sergio.G.DelReal@gmail.com>", "list_archive_url": null, "date": "2017-08-30T08:26:49", "name": "[v2,00/13] 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/20170830082702.3011-1-Sergio.G.DelReal@gmail.com/mbox/", "series": [ { "id": 548, "url": "http://patchwork.ozlabs.org/api/series/548/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=548", "date": "2017-08-30T08:26:49", "name": "add support for Hypervisor.framework in QEMU", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/548/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/807462/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=\"bmaWVBKd\"; 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 3xhzD007Djz9t0M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 18:28:14 +1000 (AEST)", "from localhost ([::1]:48977 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 1dmyM6-0002Jj-EA\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 04:28:10 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:60422)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <sergio.g.delreal@gmail.com>) id 1dmyLQ-0002JZ-PA\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 04:27:30 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <sergio.g.delreal@gmail.com>) id 1dmyLM-0000Ev-LO\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 04:27:28 -0400", "from mail-vk0-x234.google.com ([2607:f8b0:400c:c05::234]:38259)\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 1dmyLM-0000ER-FB\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 04:27:24 -0400", "by mail-vk0-x234.google.com with SMTP id x85so1240497vkx.5\n\tfor <qemu-devel@nongnu.org>; Wed, 30 Aug 2017 01:27:23 -0700 (PDT)", "from localhost.localdomain ([191.109.6.85])\n\tby smtp.gmail.com with ESMTPSA id\n\th74sm1079197vka.8.2017.08.30.01.27.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 01:27:21 -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:mime-version\n\t:content-transfer-encoding;\n\tbh=3YaedaiZ61Oe2OaDo+9w+NihWmsC0i2CDXTpjRajFYk=;\n\tb=bmaWVBKd7pqB7TF5PJ5aIG+ee9OFyStZgmPAlxA+n8DVE9vCqbJPNh92n6n3l/YvVC\n\tBMvk3ZNvyOZBsLxzXjvAkkvazLLE4RJahsuZ6fEWB8aXaH7F22HNDvLb8Mk/5W2U/u9R\n\tr8OJSdAVKR7Y+2jpF71QUOMANfq/TIWKGFoBrw1zqXE4UObbD+5dVdT903kjTyww0pOp\n\tR6Au1DScALxjpj0EdCkMKhAHDIbGBeXRhCLiNZF30IF/6oNfJT5usFosAWitSVMNF4dV\n\tOdm0QvaKGbHsavLFf6EmY6oZLaiD2DLbSQLnBwN5qxnMJ/pDaf6PG+R/sdPwHU1wS7AN\n\tJRpg==", "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:mime-version\n\t:content-transfer-encoding;\n\tbh=3YaedaiZ61Oe2OaDo+9w+NihWmsC0i2CDXTpjRajFYk=;\n\tb=XyUCiIifvQyvClhUW1/vtbG3RtutiC7pP+BzbOYu3EECryZ8KWgJXeneF8/Fw2qMYG\n\tACOHbUqnNILPztFKUuPGSjjurHRw8Ef9QFHKwI40bm2gy88Fn8VAIPTERzZoev8+9A+2\n\tg8vIZMhYDml7ciMMUuUZb/9dSReqWJ/YXDqsyDuzyGaloiPkIbp/rh6qeVSwGpgH2cPk\n\ttTDCe1FDpDMzsu9BOQ4R9vUKukMrqVROK0AIt84NLepgk49O89whdnUpzVHMK+YLT5aj\n\tSyA8F0QBAhh7rPm8d2hYO9PQqP8K3bDrSgZycuA94b62Z6bIFln1++sANLuOpsh2kEnS\n\tB4qg==", "X-Gm-Message-State": "AHYfb5iC4fqROiUBIIIVZKdKvEPKDTaG1KX+2uYfHkAKU7mr/8NLA0Gw\n\txGw3iu4bC74wZZ4T", "X-Received": "by 10.31.154.82 with SMTP id c79mr337741vke.91.1504081642239;\n\tWed, 30 Aug 2017 01:27:22 -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": "Wed, 30 Aug 2017 03:26:49 -0500", "Message-Id": "<20170830082702.3011-1-Sergio.G.DelReal@gmail.com>", "X-Mailer": "git-send-email 2.11.0", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "2607:f8b0:400c:c05::234", "Subject": "[Qemu-devel] [PATCH v2 00/13] 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>", "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 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 (13):\n hvf: add support for Hypervisor.framework in the configure script\n hvf: add code base from Google's QEMU repository\n hvf: add compilation rules to Makefile.objs\n hvf: run hvf code through checkpatch.pl and fix style issues\n hvf: add fields to CPUState and CPUX86State; add definitions\n hvf: use new helper functions for put/get xsave\n apic: add function to apic that will be used by hvf\n hvf: implement hvf_get_supported_cpuid\n hvf: refactor cpuid code\n hvf: implement vga dirty page tracking\n hvf: move fields from CPUState to CPUX86State\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 | 92 +-\n hw/intc/apic.c | 11 +\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 | 83 +-\n target/i386/cpu.h | 30 +\n target/i386/hvf-all.c | 1136 ++++++++++++++++++\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/x86hvf.c | 463 ++++++++\n target/i386/hvf-utils/x86hvf.h | 39 +\n target/i386/kvm.c | 2 -\n 35 files changed, 8987 insertions(+), 32 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/x86hvf.c\n create mode 100644 target/i386/hvf-utils/x86hvf.h" }