-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: Portability: Move kvm_memory_alias to asm/kvm.h
This patch moves sturct kvm_memory_alias from include/linux/kvm.h to include/asm-x86/kvm.h. Also have include/linux/kvm.h include include/asm/kvm.h. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
- Loading branch information
Jerone Young
authored and
Avi Kivity
committed
Jan 30, 2008
1 parent
7faa8f6
commit f6a40e3
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef __LINUX_KVM_X86_H | ||
#define __LINUX_KVM_X86_H | ||
|
||
/* | ||
* KVM x86 specific structures and definitions | ||
* | ||
*/ | ||
|
||
#include <asm/types.h> | ||
#include <linux/ioctl.h> | ||
|
||
struct kvm_memory_alias { | ||
__u32 slot; /* this has a different namespace than memory slots */ | ||
__u32 flags; | ||
__u64 guest_phys_addr; | ||
__u64 memory_size; | ||
__u64 target_phys_addr; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters