From: Avi Kivity <avi@qumranet.com>
To: Izik Eidus <izike@qumranet.com>
Cc: kvm-devel <kvm-devel@lists.sourceforge.net>
Subject: Re: [PATCH RFC 1/2] add functions to read and set the ldt
Date: Sun, 16 Mar 2008 16:05:50 +0200 [thread overview]
Message-ID: <47DD293E.6020901@qumranet.com> (raw)
In-Reply-To: <47D87870.4050705@qumranet.com>
Izik Eidus wrote:
> >From 28f36d30f8eef9c12afe52e183bf4c8405d113d2 Mon Sep 17 00:00:00 2001
> From: Izik Eidus <izike@qumranet.com>
> 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/
prev parent reply other threads:[~2008-03-16 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 0:42 [PATCH RFC 1/2] add functions to read and set the ldt Izik Eidus
2008-03-16 14:05 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47DD293E.6020901@qumranet.com \
--to=avi@qumranet.com \
--cc=izike@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox