Skip to content

Commit

Permalink
KVM: Move struct kvm_pio_request into x86 kvm_host.h
Browse files Browse the repository at this point in the history
This is an x86 specific stucture and has no business living in common code.

Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Avi Kivity committed Mar 24, 2009
1 parent 52d939a commit 1c08364
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 12 additions & 0 deletions arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 0 additions & 12 deletions include/linux/kvm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit 1c08364

Please sign in to comment.