Izik Eidus wrote: > >From 28f36d30f8eef9c12afe52e183bf4c8405d113d2 Mon Sep 17 00:00:00 2001 > From: Izik Eidus <[EMAIL PROTECTED]> > Date: Thu, 13 Mar 2008 02:03:37 +0200 > Subject: [PATCH] KVM: vmx, svm add functions to read and set the ldt > > diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h > index 12932bb..d9806e2 100644 > --- a/include/asm-x86/kvm_host.h > +++ b/include/asm-x86/kvm_host.h > @@ -386,6 +386,8 @@ struct kvm_x86_ops { > void (*set_idt)(struct kvm_vcpu *vcpu, struct descriptor_table *dt); > void (*get_gdt)(struct kvm_vcpu *vcpu, struct descriptor_table *dt); > void (*set_gdt)(struct kvm_vcpu *vcpu, struct descriptor_table *dt); > + void (*get_ldt)(struct kvm_vcpu *vcpu, struct descriptor_table *dt); > + void (*set_ldt)(struct kvm_vcpu *vcpu, struct descriptor_table *dt); >
These are ->get_segment() and ->set_segment() with seg == VCPU_SREG_LDTR. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel