>From f23cb5d86802eddcc8330dcf966c44e086f9227a Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <[EMAIL PROTECTED]>
Date: Tue, 20 Nov 2007 23:43:09 +0800
Subject: [PATCH] Moving descriptor_table definition to x86.h
Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]>
---
 drivers/kvm/kvm.h |    5 -----
 drivers/kvm/x86.h |    5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index f752797..11e8491 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -217,11 +217,6 @@ struct kvm {
        int round_robin_prev_vcpu;
 };
 
-struct descriptor_table {
-       u16 limit;
-       unsigned long base;
-} __attribute__((packed));
-
 /* The guest did something we don't support. */
 #define pr_unimpl(vcpu, fmt, ...)
\
  do {
\
diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h
index 4093c81..59c4da7 100644
--- a/drivers/kvm/x86.h
+++ b/drivers/kvm/x86.h
@@ -171,6 +171,11 @@ struct kvm_mmu_memory_cache {
        void *objects[KVM_NR_MEM_OBJS];
 };
 
+struct descriptor_table {
+       u16 limit;
+       unsigned long base;
+} __attribute__((packed));
+
 #include "x86_emulate.h"
 
 struct kvm_vcpu {
-- 
1.5.1.2

Attachment: 0010-Moving-descriptor_table-definition-to-x86.h.patch
Description: 0010-Moving-descriptor_table-definition-to-x86.h.patch

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to