xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Question about get the user or kernel mode of vmx vcpu
@ 2013-06-05 16:24 =?gb18030?B?V2FuZ2JlaQ==?=
  2013-06-05 16:42 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: =?gb18030?B?V2FuZ2JlaQ==?= @ 2013-06-05 16:24 UTC (permalink / raw)
  To: =?gb18030?B?eGVuLWRldmVs?=


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset="gb18030", Size: 1074 bytes --]

Hi,
     This is Bei Wang, . I am doing research of spinlock optimization to deal with lock holder preemption.
     I want to filter vcpu to make precise scheduling.If the vcpu of vmx hvm is running on user mode in guest,it will be filtered out.In linux-kvm £¬I use vmx_get_cpl function to get  
     But now i have a question to migrate the code into xen platform.I can't find any suitable function to judge cpl of vcpu.It seems that vmx_guest_x86_mode(arch/x86/hvm/vmx/vmx.c)don't output the mode of kernel or user in hvm.
     So what should I do to get the vcpu cpl of vmx in xen? Can you give me some advice?
     By the way ,my server is  x86 architecture.(DELL T710),not IA64
     Thank you very much :)
                                                                                                                                                                          Wangbei
                                                                                                                                                                         2013/6/5

[-- Attachment #1.2: Type: text/html, Size: 4092 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-05 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 16:24 Question about get the user or kernel mode of vmx vcpu =?gb18030?B?V2FuZ2JlaQ==?=
2013-06-05 16:42 ` Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).