From: Jan Beulich <jbeulich@suse.com>
To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
"Kevin Tian" <kevin.tian@intel.com>,
"Jun Nakajima" <jun.nakajima@intel.com>, "Wei Liu" <wl@xen.org>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [Xen-devel] [PATCH v2 7/9] x86/HVM: reduce io.h include dependencies
Date: Tue, 10 Mar 2020 16:51:19 +0100 [thread overview]
Message-ID: <5cc2afc4-4c01-5457-e655-dfda59bc5291@suse.com> (raw)
In-Reply-To: <8f1b522e-8667-c230-6671-7d70252634de@suse.com>
Drop #include-s not needed by the header itself as well as one include
of the header which isn't needed. Put the one needed into the file
actually requiring it.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/include/asm-x86/hvm/io.h
+++ b/xen/include/asm-x86/hvm/io.h
@@ -19,12 +19,8 @@
#ifndef __ASM_X86_HVM_IO_H__
#define __ASM_X86_HVM_IO_H__
-#include <xen/mm.h>
#include <xen/pci.h>
-#include <asm/hvm/vpic.h>
-#include <asm/hvm/vioapic.h>
#include <public/hvm/ioreq.h>
-#include <public/event_channel.h>
#define NR_IO_HANDLERS 32
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -26,6 +26,7 @@
#include <asm/hvm/svm/vmcb.h>
#include <asm/hvm/svm/nestedsvm.h>
#include <asm/mtrr.h>
+#include <public/hvm/ioreq.h>
enum hvm_io_completion {
HVMIO_no_completion,
--- a/xen/include/asm-x86/hvm/vmx/vmcs.h
+++ b/xen/include/asm-x86/hvm/vmx/vmcs.h
@@ -18,8 +18,6 @@
#ifndef __ASM_X86_HVM_VMX_VMCS_H__
#define __ASM_X86_HVM_VMX_VMCS_H__
-#include <asm/hvm/io.h>
-
extern void vmcs_dump_vcpu(struct vcpu *v);
extern void setup_vmcs_dump(void);
extern int vmx_cpu_up_prepare(unsigned int cpu);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2020-03-10 15:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-10 15:46 [Xen-devel] [PATCH v2 0/9] x86: reduce include dependencies Jan Beulich
2020-03-10 15:48 ` [Xen-devel] [PATCH v2 1/9] x86/HVM: reduce domain.h " Jan Beulich
2020-03-10 16:11 ` Paul Durrant
2020-03-11 13:09 ` Andrew Cooper
2020-03-11 15:22 ` Jan Beulich
2020-03-13 9:39 ` Jan Beulich
2020-03-10 15:48 ` [Xen-devel] [PATCH v2 2/9] x86/HVM: reduce vcpu.h " Jan Beulich
2020-03-10 16:08 ` Paul Durrant
2020-03-10 15:49 ` [Xen-devel] [PATCH v2 3/9] x86/HVM: reduce vpt.h " Jan Beulich
2020-03-10 15:49 ` [Xen-devel] [PATCH v2 4/9] x86/HVM: reduce vpic.h " Jan Beulich
2020-03-10 15:50 ` [Xen-devel] [PATCH v2 5/9] x86/HVM: reduce vioapic.h " Jan Beulich
2020-03-10 15:50 ` [Xen-devel] [PATCH v2 6/9] x86/HVM: reduce vlapic.h " Jan Beulich
2020-03-10 15:51 ` Jan Beulich [this message]
2020-03-13 1:47 ` [Xen-devel] [PATCH v2 7/9] x86/HVM: reduce io.h " Tian, Kevin
2020-03-10 15:51 ` [Xen-devel] [PATCH v2 8/9] x86/HVM: reduce hvm.h " Jan Beulich
2020-03-10 16:13 ` Paul Durrant
2020-03-13 1:48 ` Tian, Kevin
2020-03-10 15:52 ` [Xen-devel] [PATCH v2 9/9] x86: reduce mce.h " Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5cc2afc4-4c01-5457-e655-dfda59bc5291@suse.com \
--to=jbeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=jun.nakajima@intel.com \
--cc=kevin.tian@intel.com \
--cc=roger.pau@citrix.com \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.