]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: Move struct kvm_pio_request into x86 kvm_host.h
authorAvi Kivity <avi@redhat.com>
Sun, 4 Jan 2009 10:39:07 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:55 +0000 (11:02 +0200)
This is an x86 specific stucture and has no business living in common code.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
include/linux/kvm_types.h

index b74576aec19acaac7ae11f3deeb01d8459b7c38c..863ea73431ad311a919a65dbee36af59fa9b36ea 100644 (file)
@@ -227,6 +227,18 @@ struct kvm_pv_mmu_op_buffer {
        char buf[512] __aligned(sizeof(long));
 };
 
+struct kvm_pio_request {
+       unsigned long count;
+       int cur_count;
+       gva_t guest_gva;
+       int in;
+       int port;
+       int size;
+       int string;
+       int down;
+       int rep;
+};
+
 /*
  * x86 supports 3 paging modes (4-level 64-bit, 3-level 64-bit, and 2-level
  * 32-bit).  The kvm_mmu structure abstracts the details of the current mmu
index 5f4a18cae26be5d645b181d89753e941ccda59de..2b8318c83e531d8dcf5cd6e96c09f994f12eef2a 100644 (file)
@@ -40,16 +40,4 @@ typedef unsigned long  hfn_t;
 
 typedef hfn_t pfn_t;
 
-struct kvm_pio_request {
-       unsigned long count;
-       int cur_count;
-       gva_t guest_gva;
-       int in;
-       int port;
-       int size;
-       int string;
-       int down;
-       int rep;
-};
-
 #endif /* __KVM_TYPES_H__ */