From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH RFC 1/2] add functions to read and set the ldt Date: Sun, 16 Mar 2008 16:05:50 +0200 Message-ID: <47DD293E.6020901@qumranet.com> References: <47D87870.4050705@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Izik Eidus Return-path: In-Reply-To: <47D87870.4050705@qumranet.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Izik Eidus wrote: > >From 28f36d30f8eef9c12afe52e183bf4c8405d113d2 Mon Sep 17 00:00:00 2001 > From: Izik Eidus > 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/