From: Jean Guyader <jean.guyader@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] x86: TSS busy flag
Date: Tue, 17 Jun 2008 14:48:05 +0100 [thread overview]
Message-ID: <4857C095.7080807@eu.citrix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 138 bytes --]
x86: Intel wants the TSS busy flag set when we do a vmentry.
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
--
Jean Guyader
[-- Attachment #2: live_migration_amd_intel_busy_flags.patch --]
[-- Type: text/plain, Size: 474 bytes --]
diff -r 7e00ebe2b7fd xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c Tue Jun 17 09:36:25 2008 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c Tue Jun 17 14:45:06 2008 +0100
@@ -624,6 +624,9 @@ static void vmx_load_cpu_state(struct vc
v->arch.hvm_vmx.cstar = data->msr_cstar;
v->arch.hvm_vmx.shadow_gs = data->shadow_gs;
#endif
+
+ /* The busy flags must be set for Intel */
+ set_bit(1, &data->tr_arbytes);
hvm_set_guest_tsc(v, data->tsc);
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2008-06-17 13:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4857C095.7080807@eu.citrix.com \
--to=jean.guyader@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.