From: Tim Deegan Subject: Re: VMX-preemption timer Date: Fri, 24 Apr 2009 16:13:25 +0100 Message-ID: <20090424151325.GB12377@york.uk.xensource.com> References: <20090424144829.GA12377@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: OK Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 16:10 +0100 on 24 Apr (1240589435), OK wrote: > At 15:47 +0100 on 24 Apr (1240588035), OK wrote: > > Hi everybody! > > I am new in Xen and have a problem. > > I use Intel-VT processor, Xen 3.3.0 (built from sources) and hvm-domain Windows Vista. I read in Intel Software Developer Manual about VMX-preemption timer. I want to cause periodic VM-exits and use this feature to do it. But I can't find preemption timer in Xen source codes. For example, there is not preemption timer among vmx exit reasons in \include\asm-x86\hvm\vmx\vmx.h. Does anybody know about VMX-preemption timer support in Xen? > > This feature's not used (or needed) by Xen. > > Thanks. But does Xen have any "timer"-feature to initiate periodic exits (period about 5-10 minutes)? Xen has a general per-CPU timer system that you could use for that; look at the functions in xen/include/xen/timer.h Cheers, Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]