From: Avi Kivity <[EMAIL PROTECTED]>

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 1ee7924..a5beda8 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -729,3 +729,9 @@ struct kvm_ldttss_desc64 {
        u32 base3;
        u32 zero1;
 } __attribute__((packed));
+
+struct kvm_desc_ptr {
+       unsigned short size;
+       unsigned long address;
+} __attribute__((packed));
+
diff --git a/kernel/hack-module.awk b/kernel/hack-module.awk
index b858f1d..b281b20 100644
--- a/kernel/hack-module.awk
+++ b/kernel/hack-module.awk
@@ -55,6 +55,7 @@
 
 { sub(/\<desc_struct\>/, "kvm_desc_struct") }
 { sub(/\<ldttss_desc64\>/, "kvm_ldttss_desc64") }
+{ sub(/\<desc_ptr\>/, "kvm_desc_ptr") }
 
 /^\t\.name = "kvm"/ { $0 = "\tset_kset_name(\"kvm\")," }
 

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

Reply via email to