{"id":817593,"url":"http://patchwork.ozlabs.org/api/patches/817593/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-6-f4bug@amsat.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/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":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170922154014.29350-6-f4bug@amsat.org>","list_archive_url":null,"date":"2017-09-22T15:39:45","name":"[05/34] misc: remove duplicated includes","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"e77132ca85e112b891105cd01a0d64fc57d6052d","submitter":{"id":70924,"url":"http://patchwork.ozlabs.org/api/people/70924/?format=json","name":"Philippe Mathieu-Daudé","email":"f4bug@amsat.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-6-f4bug@amsat.org/mbox/","series":[{"id":4657,"url":"http://patchwork.ozlabs.org/api/series/4657/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4657","date":"2017-09-22T15:39:40","name":"remove i386/pc dependency from non-PC world (part 1)","version":1,"mbox":"http://patchwork.ozlabs.org/series/4657/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/817593/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/817593/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>)","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=\"JCxoQNLN\"; 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 3xzHpr6Hvpz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:44:36 +1000 (AEST)","from localhost ([::1]:59587 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 1dvQ82-0007YK-TH\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:44:34 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:41245)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4T-0004QM-4Y\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:40:54 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4R-00035O-0n\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:40:52 -0400","from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:35547)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4Q-00034v-HF; Fri, 22 Sep 2017 11:40:50 -0400","by mail-qk0-x241.google.com with SMTP id o77so871860qke.2;\n\tFri, 22 Sep 2017 08:40:50 -0700 (PDT)","from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.40.44\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:40:49 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=s/wKcSNmf1U9i/9PAV8GUsoUwcaK6iHcVPG7aHNgHME=;\n\tb=JCxoQNLNgFcFpQkNzMCs6hkH/137X1EPXkF+OKEM/56KnEQfhn2ZV4Gt2lbWrUNzXw\n\tpYubDrd+smXs3gPokJDGZFTbK3HUvtowU7g9t/Coli27V/PkYg+YMLYf/A6b7URxz4hR\n\tQKKKwo++xH9qFCNJP+X64Fvbbx/nzcu3W6nFdkgPTVtUvXC+eeDhi/swxEYPUS03jAws\n\tQo6mUm6Hv1L5e9H128FwLnukT3M9o87wGN7JfuvEnzRqO4KjO5QdzLEnzoJC98wrRwch\n\t564ZOgfj6hYgjsbEHmwDPfoi/XNx65ikUbhck+MYM8hdk/BrbgLXo1tGB6JGELWP8Jw1\n\tMVCA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=s/wKcSNmf1U9i/9PAV8GUsoUwcaK6iHcVPG7aHNgHME=;\n\tb=qdQhTIQDH9FOb4n67kR+yGxBTBj16gWN7iEWkfAQVv/CDo4D8SiJop9Ft/rx48hOEF\n\t4WVg4kATciooFwjSEb719gW/6OJLjsS/sbGD7SqAvpoDoXEmsZY3LXE01F2cRY4ikfIo\n\tYre2slVokBohKkbu6KGNohbpjxxOj2sj2nk2Y7JFEAOl8EzmDVJ1PmtH/mYCmURamgkZ\n\t2dFVgvZkh0+Q6tbBqouk9i64ntaCsx6FoQ3WcfabgefcE6kO/4auJ40O0wCw0rViTygw\n\tKZKOA6/SEYv9x9wlOuZWliXUGhwRVRYwUfWTogCf7eo5Pfcoi6qqGyvG3yj+vSDq4Ygh\n\tk76A==","X-Gm-Message-State":"AHPjjUgXN46FAH/UiYZvxaV88ocMzHAB1tuQhVdXifm2A+l3dMYHildD\n\tsJp8RbTKNNnVOMP2q/CpUKU=","X-Google-Smtp-Source":"AOwi7QDYGyAps3kKoP3cRZEFp92pf0SS9jGABcBrxcKwbBfoxJxn19e21niLsPAVcz/GRYBW1cosig==","X-Received":"by 10.55.186.1 with SMTP id k1mr8544821qkf.28.1506094849955;\n\tFri, 22 Sep 2017 08:40:49 -0700 (PDT)","From":"=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>","To":"Peter Maydell <peter.maydell@linaro.org>, Thomas Huth <thuth@redhat.com>,\n\tPaolo Bonzini <pbonzini@redhat.com>, Peter Crosthwaite\n\t<crosthwaite.peter@gmail.com>, \tRichard Henderson <rth@twiddle.net>,\n\tStefano Stabellini <sstabellini@kernel.org>, \n\tAnthony Perard <anthony.perard@citrix.com>, Eduardo Habkost\n\t<ehabkost@redhat.com>, Marcel Apfelbaum <marcel@redhat.com>,\n\tCornelia Huck <cohuck@redhat.com>, Christian Borntraeger\n\t<borntraeger@de.ibm.com>, Alexander Graf <agraf@suse.de>,\n\tStafford Horne <shorne@gmail.com>, =?utf-8?q?Marc-Andr=C3=A9_Lureau?=\n\t<marcandre.lureau@redhat.com>,\n\t\"Daniel P. Berrange\" <berrange@redhat.com>, Gerd Hoffmann\n\t<kraxel@redhat.com>","Date":"Fri, 22 Sep 2017 12:39:45 -0300","Message-Id":"<20170922154014.29350-6-f4bug@amsat.org>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170922154014.29350-1-f4bug@amsat.org>","References":"<20170922154014.29350-1-f4bug@amsat.org>","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:400d:c09::241","Subject":"[Qemu-devel] [PATCH 05/34] misc: remove duplicated includes","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":"qemu-trivial@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathi?=\n\t=?utf-8?b?ZXUtRGF1ZMOp?= <f4bug@amsat.org>, \tqemu-devel@nongnu.org","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":"exec: housekeeping (funny since 02d0e095031)\n\napplied using ./scripts/clean-includes\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n accel/tcg/translate-all.c          | 1 -\n exec.c                             | 3 ---\n hw/arm/spitz.c                     | 1 -\n hw/char/xen_console.c              | 1 -\n hw/core/machine.c                  | 1 -\n hw/s390x/css.c                     | 1 -\n target/openrisc/exception_helper.c | 1 -\n tests/vhost-user-test.c            | 1 -\n util/qemu-sockets.c                | 1 -\n vl.c                               | 1 -\n 10 files changed, 12 deletions(-)","diff":"diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c\nindex 2d1ed06065..fb2ad21092 100644\n--- a/accel/tcg/translate-all.c\n+++ b/accel/tcg/translate-all.c\n@@ -31,7 +31,6 @@\n #include \"tcg.h\"\n #if defined(CONFIG_USER_ONLY)\n #include \"qemu.h\"\n-#include \"exec/exec-all.h\"\n #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)\n #include <sys/param.h>\n #if __FreeBSD_version >= 700104\ndiff --git a/exec.c b/exec.c\nindex a25a4c6018..a1fe82189c 100644\n--- a/exec.c\n+++ b/exec.c\n@@ -18,8 +18,6 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"qapi/error.h\"\n-#ifndef _WIN32\n-#endif\n \n #include \"qemu/cutils.h\"\n #include \"cpu.h\"\n@@ -51,7 +49,6 @@\n #include \"trace-root.h\"\n \n #ifdef CONFIG_FALLOCATE_PUNCH_HOLE\n-#include <fcntl.h>\n #include <linux/falloc.h>\n #endif\n \ndiff --git a/hw/arm/spitz.c b/hw/arm/spitz.c\nindex feccdb00d3..ac1e15cbbc 100644\n--- a/hw/arm/spitz.c\n+++ b/hw/arm/spitz.c\n@@ -29,7 +29,6 @@\n #include \"sysemu/block-backend.h\"\n #include \"hw/sysbus.h\"\n #include \"exec/address-spaces.h\"\n-#include \"sysemu/sysemu.h\"\n #include \"cpu.h\"\n \n #undef REG_FMT\ndiff --git a/hw/char/xen_console.c b/hw/char/xen_console.c\nindex 3643dfe067..5e68326c19 100644\n--- a/hw/char/xen_console.c\n+++ b/hw/char/xen_console.c\n@@ -27,7 +27,6 @@\n #include \"hw/hw.h\"\n #include \"chardev/char-fe.h\"\n #include \"hw/xen/xen_backend.h\"\n-#include \"qapi/error.h\"\n \n #include <xen/io/console.h>\n \ndiff --git a/hw/core/machine.c b/hw/core/machine.c\nindex 80647edc2a..4ad0e9a082 100644\n--- a/hw/core/machine.c\n+++ b/hw/core/machine.c\n@@ -20,7 +20,6 @@\n #include \"sysemu/numa.h\"\n #include \"qemu/error-report.h\"\n #include \"qemu/cutils.h\"\n-#include \"sysemu/numa.h\"\n #include \"sysemu/qtest.h\"\n \n static char *machine_get_accel(Object *obj, Error **errp)\ndiff --git a/hw/s390x/css.c b/hw/s390x/css.c\nindex 75d4f301fb..3938fa5909 100644\n--- a/hw/s390x/css.c\n+++ b/hw/s390x/css.c\n@@ -13,7 +13,6 @@\n #include \"qapi/error.h\"\n #include \"qapi/visitor.h\"\n #include \"hw/qdev.h\"\n-#include \"qemu/error-report.h\"\n #include \"qemu/bitops.h\"\n #include \"qemu/error-report.h\"\n #include \"exec/address-spaces.h\"\ndiff --git a/target/openrisc/exception_helper.c b/target/openrisc/exception_helper.c\nindex a8a5f69b05..6073a5b21c 100644\n--- a/target/openrisc/exception_helper.c\n+++ b/target/openrisc/exception_helper.c\n@@ -21,7 +21,6 @@\n #include \"cpu.h\"\n #include \"exec/exec-all.h\"\n #include \"exec/helper-proto.h\"\n-#include \"exec/exec-all.h\"\n #include \"exception.h\"\n \n void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp)\ndiff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c\nindex 4b98018478..e2c89ed376 100644\n--- a/tests/vhost-user-test.c\n+++ b/tests/vhost-user-test.c\n@@ -21,7 +21,6 @@\n #include \"libqos/libqos.h\"\n #include \"libqos/pci-pc.h\"\n #include \"libqos/virtio-pci.h\"\n-#include \"qapi/error.h\"\n \n #include \"libqos/malloc-pc.h\"\n #include \"hw/virtio/virtio-net.h\"\ndiff --git a/util/qemu-sockets.c b/util/qemu-sockets.c\nindex d149383bb9..d700caef45 100644\n--- a/util/qemu-sockets.c\n+++ b/util/qemu-sockets.c\n@@ -26,7 +26,6 @@\n #include \"qapi/error.h\"\n #include \"qemu/sockets.h\"\n #include \"qemu/main-loop.h\"\n-#include \"qapi/clone-visitor.h\"\n #include \"qapi/qobject-input-visitor.h\"\n #include \"qapi/qobject-output-visitor.h\"\n #include \"qapi-visit.h\"\ndiff --git a/vl.c b/vl.c\nindex 88ae727486..d6cb6751e6 100644\n--- a/vl.c\n+++ b/vl.c\n@@ -95,7 +95,6 @@ int main(int argc, char **argv)\n #include \"sysemu/kvm.h\"\n #include \"sysemu/hax.h\"\n #include \"qapi/qobject-input-visitor.h\"\n-#include \"qapi/qobject-input-visitor.h\"\n #include \"qapi-visit.h\"\n #include \"qapi/qmp/qjson.h\"\n #include \"qemu/option.h\"\n","prefixes":["05/34"]}