xen-devel
RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400
>From: Jan Beulich
>Sent: 2009年3月31日 17:24
>
>>>> "Lu, Guanqun" <guanqun.lu@xxxxxxxxx> 31.03.09 10:54 >>>
>>[before] (XEN) EFER: d01<0> STAR: e023e00800000000<0> LSTAR:
>ffff828c8029b000<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:
>ffff828c8029b000<0> CSTAR: ffff828c8029b080<0>
>>SYSCALL_MASK: 34700<0> FS_BASE: 0<0> GS_BASE: b7f4a6c0<0>
>SH_GS_BASE: 0
>>
>>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_state() seems to only care
>for the STAR ones.
>
There are also some set of registers save/restored in assembly code
in wakeup_prot.S, such as segment selectors, CRs, etc.
Thanks
Kevin _______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] small adjustment to asm constraints for c/s 19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s 19400, Lu, Guanqun
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s19400, Jan Beulich
- Re: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s 19400, Keir Fraser
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s 19400, Lu, Guanqun
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s19400, Lu, Guanqun
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints for c/s19400, Tian, Kevin
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400,
Tian, Kevin <=
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400, Tian, Kevin
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraints forc/s19400, Tian, Kevin
- RE: [Xen-devel] [PATCH] small adjustment to asm constraintsforc/s19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraintsforc/s19400, Tian, Kevin
- RE: [Xen-devel] [PATCH] small adjustment to asm constraintsforc/s19400, Jan Beulich
- RE: [Xen-devel] [PATCH] small adjustment to asm constraintsforc/s19400, Tian, Kevin
|
|
|