{"id":806335,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806335/?format=json","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.0/projects/14/?format=json","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":""},"msgid":"<20170828015654.2530-7-Sergio.G.DelReal@gmail.com>","date":"2017-08-28T01:56:46","name":"[06/14] hvf: add compilation rules to Makefile.objs","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"dd2a34fb98270249b9759a2fb2d3f2cd189620df","submitter":{"id":70675,"url":"http://patchwork.ozlabs.org/api/1.0/people/70675/?format=json","name":"Sergio Andres Gomez Del Real","email":"sergio.g.delreal@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170828015654.2530-7-Sergio.G.DelReal@gmail.com/mbox/","series":[{"id":56,"url":"http://patchwork.ozlabs.org/api/1.0/series/56/?format=json","date":"2017-08-28T01:56:40","name":"add support for Hypervisor.framework in QEMU","version":1,"mbox":"http://patchwork.ozlabs.org/series/56/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806335/checks/","tags":{},"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=\"lCjcByzf\"; 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 3xgZg31nVWz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 11:58:23 +1000 (AEST)","from localhost ([::1]:36497 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 1dm9Jl-0004vc-3G\n\tfor incoming@patchwork.ozlabs.org; Sun, 27 Aug 2017 21:58:21 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:42023)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <sergio.g.delreal@gmail.com>) id 1dm9J0-0004tc-5B\n\tfor qemu-devel@nongnu.org; Sun, 27 Aug 2017 21:57:34 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <sergio.g.delreal@gmail.com>) id 1dm9Iz-000133-ET\n\tfor qemu-devel@nongnu.org; Sun, 27 Aug 2017 21:57:34 -0400","from mail-vk0-x243.google.com ([2607:f8b0:400c:c05::243]:37141)\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 1dm9Iz-00012j-9r\n\tfor qemu-devel@nongnu.org; Sun, 27 Aug 2017 21:57:33 -0400","by mail-vk0-x243.google.com with SMTP id z187so1877434vkd.4\n\tfor <qemu-devel@nongnu.org>; Sun, 27 Aug 2017 18:57:33 -0700 (PDT)","from localhost.localdomain ([191.109.6.191])\n\tby smtp.gmail.com with ESMTPSA id\n\ty12sm2696824uad.22.2017.08.27.18.57.31\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 18:57:32 -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:in-reply-to:references;\n\tbh=xDlDbWu0zXLCsA6gj1jo7zWQAbGCqKCPKriTqserxJ4=;\n\tb=lCjcByzft0hfsgPL+hHY7I202vsRbuyOjjPIZwQdnE2JOECLyWHFuxyO4qzETIin6Y\n\tV8P3MK2SH9u1ggyEAWfCWX2NshxBoMYefZo/G8v7qrpUTxizyZ4C6AuYgZMHtlPKhGCr\n\tuUiHoSKlcwHRyeODulRD1D+TDqqe7KUUToXUI7738YXRfoB56aFyZogkrv7yZ3DFU4uT\n\tByQETjpAFxWrTWQt72UqkYxQVZMjN/70MKDdc955nq/G9FPOXeDoy6IyT3Eti6iVcupL\n\tzYL5VFQaT2rKXMAG2SB/ybHIo4IvJp8Y2+1UKicURQasKh7Y4gnh2KM/qoI1fQ1XuNcF\n\tOP8w==","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:in-reply-to\n\t:references;\n\tbh=xDlDbWu0zXLCsA6gj1jo7zWQAbGCqKCPKriTqserxJ4=;\n\tb=JnBTrvqTArvwx7vWKtH3vu/Gxk3UvqrWP0FQYQDqUy6CfgEIrShNSYzGBSEjxUyRpL\n\tKyAAK//ECLDpYA5Nowp9Iuleh0q1I5vup8CoVRvIZaEj3gV231CGpRMP64d4zqHJrNrU\n\ta7VKg1IEoLbvDDPYc7doHkTalyfQdGJxIEiT5s0PQIKYEC6Xm8iZ5h4frA+M8acBmLaV\n\td3BhR6x/mxWamXPqyJ6//vQYOYnMN3A5wEvV0JQ6n92NE0ZLxdok4SIfz/tcMgfNvVp+\n\tCRI9gVV0Km+I71V7dqWS+HMFsC/IKFj/7PvVr20n/viNUySPsucNJ6h+dX3VUeeopdoj\n\tOsOw==","X-Gm-Message-State":"AHYfb5gSqth+/p1QTVcHaOoKJmZ7stjitYIfoNrQB2iu/hSKxL+QgfKI\n\t6SGZIfoV6oakCGz1","X-Received":"by 10.31.207.69 with SMTP id f66mr3737715vkg.145.1503885452472; \n\tSun, 27 Aug 2017 18:57:32 -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":"Sun, 27 Aug 2017 20:56:46 -0500","Message-Id":"<20170828015654.2530-7-Sergio.G.DelReal@gmail.com>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170828015654.2530-1-Sergio.G.DelReal@gmail.com>","References":"<20170828015654.2530-1-Sergio.G.DelReal@gmail.com>","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2607:f8b0:400c:c05::243","Subject":"[Qemu-devel] [PATCH 06/14] hvf: add compilation rules to\n\tMakefile.objs","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":"This commit adds to target/i386/Makefile.objs the necessary rules so\nthat the new files for hvf are compiled by the build system.\nIt also adds handling of the -enable-hvf argument in the main function\nin vl.c.\n\nSigned-off-by: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>\n---\n target/i386/Makefile.objs | 1 +\n vl.c                      | 7 +++++++\n 2 files changed, 8 insertions(+)","diff":"diff --git a/target/i386/Makefile.objs b/target/i386/Makefile.objs\nindex 6a26e9d9f0..0bef89c099 100644\n--- a/target/i386/Makefile.objs\n+++ b/target/i386/Makefile.objs\n@@ -12,4 +12,5 @@ obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-windows.o\n endif\n ifdef CONFIG_DARWIN\n obj-$(CONFIG_HAX) += hax-all.o hax-mem.o hax-darwin.o\n+obj-$(CONFIG_HVF) += hvf-utils/ hvf-all.o\n endif\ndiff --git a/vl.c b/vl.c\nindex 8e247cc2a2..de7d2a3858 100644\n--- a/vl.c\n+++ b/vl.c\n@@ -3751,6 +3751,13 @@ int main(int argc, char **argv, char **envp)\n                 olist = qemu_find_opts(\"machine\");\n                 qemu_opts_parse_noisily(olist, \"accel=hax\", false);\n                 break;\n+#if defined(__APPLE__)\n+            case QEMU_OPTION_enable_hvf:\n+                olist = qemu_find_opts(\"machine\");\n+                qemu_opts_parse_noisily(olist, \"accel=hvf\", false);\n+                hvf_disable(0);\n+                break;\n+#endif\n             case QEMU_OPTION_M:\n             case QEMU_OPTION_machine:\n                 olist = qemu_find_opts(\"machine\");\n","prefixes":["06/14"]}