From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: RE: [PATCH] small adjustment to asm constraints forc/s19400 Date: Tue, 31 Mar 2009 10:24:22 +0100 Message-ID: <49D1FD66.76E4.0078.0@novell.com> References: <8FED46E8A9CA574792FC7AACAC38FE7701D4B7A421@PDSMSX501.ccr.corp.intel.com> <8FED46E8A9CA574792FC7AACAC38FE7701D4B7A7D8@PDSMSX501.ccr.corp.intel.com> <49D0A942.76E4.0078.0@novell.com> <8FED46E8A9CA574792FC7AACAC38FE7701D4EAF926@PDSMSX501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <8FED46E8A9CA574792FC7AACAC38FE7701D4EAF926@PDSMSX501.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Guanqun Lu Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> "Lu, Guanqun" 31.03.09 10:54 >>> >[before] (XEN) EFER: d01<0> STAR: e023e00800000000<0> LSTAR: ffff828c8029= b000<0> CSTAR: ffff828c8029b080<0> >SYSCALL_MASK: 34700<0> FS_BASE: 0<0> GS_BASE: b7f4a6c0<0> SH_GS_BASE: 0 >[after] (XEN) EFER: d01<0> STAR: e023e00800000000<0> LSTAR: ffff828c8029b= 000<0> CSTAR: ffff828c8029b080<0> >SYSCALL_MASK: 34700<0> FS_BASE: 0<0> GS_BASE: b7f4a6c0<0> SH_GS_BASE: 0 >=20 >They're the same. > >And aslo I dump GDT, IDT, LDT and TR register and tss struct, there are = no difference seen. > > >So can you give some advice some more registers should be dumped? Assuming this is an Intel box, the guest is certainly using sysenter = (which the user mode EIP saved on the stack would also suggest), so you're = really after the three SYSENTER MSRs. And indeed - restore_rest_processor_s= tate() seems to only care for the STAR ones. Jan