Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80751
b: refs/heads/master
c: f6a40e3
h: refs/heads/master
i:
  80749: c8e4aa8
  80747: a62a551
  80743: 0aaba16
  80735: 0769b93
v: v3
  • Loading branch information
Jerone Young authored and Avi Kivity committed Jan 30, 2008
1 parent 24f8aa5 commit 77b0903
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7faa8f6fcc119ce680a90a5f011841b466b1e161
refs/heads/master: f6a40e3bdf5fe0a7d7d7f2dbc5b10158fbdad968
20 changes: 20 additions & 0 deletions trunk/include/asm-x86/kvm.h
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
8 changes: 1 addition & 7 deletions trunk/include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <asm/types.h>
#include <linux/ioctl.h>
#include <asm/kvm.h>

#define KVM_API_VERSION 12

Expand All @@ -35,13 +36,6 @@ struct kvm_userspace_memory_region {
/* for kvm_memory_region::flags */
#define KVM_MEM_LOG_DIRTY_PAGES 1UL

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;
};

/* for KVM_IRQ_LINE */
struct kvm_irq_level {
Expand Down

0 comments on commit 77b0903

Please sign in to comment.