From: Igor Chubin Subject: Re: Intel VT-d Support Date: Wed, 5 Mar 2008 16:46:08 +0200 Message-ID: <20080305144608.GF15701@chub.in> References: <20080305115952.GJ22568@chub.in> Reply-To: Igor Chubin Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: "Li, Haicheng" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thank you for answers, On Mi, Mär 05, 2008 at 09:00:30 +0800, Li, Haicheng wrote: > Igor Chubin wrote: > > Hello all, > > > > > > please tell me, how can I be sure that > > my Xen installation is built with Intel VT-d support? > > > > Something like > > > > xm info | grep -i KEY-REGULAR-EXPRESSION > > xm dmesg | grep -i KEY-REGULAR-EXPRESSION > > Use "xm dmesg | grep -i vt-d". There are no strings found even with VT-d enabled in BIOS. # xm dmesg | grep vt # xm dmesg | grep -i vt How can I check if Xen-code was built with VT-d support? (I have tried to use VT-d on precompiled Debian binaries of Xen 3.2 and on xen-unstable with default build options) > > > > > What a line should I look for? > > Find the line "Intel VT-d has been enabled." So this line must be shown in xm dmesg. Thank you. No I must find the reason why there no such a line. > > > And if my installation was really built with VT-d support, > > how can I be sure, that Xen has successfully > > initialized VT-d hardware? > > Try assigning a pci device to hvm guest as [1] describes. If vt-d is not > enabled or the device is not hidden, the guest creation will fail. > otherwise, you can use `lspci` in the guest to find out the device > assigned. Yes, guest creation fails with the message: # xm create win2k3_clone Using config file "/etc/xen/win2k3_clone". Error: Fail to assign device(7:9.0): maybe VT-d is not enabled, or the device is not exist, or it has already been assigned to other domain For pv domains all works fine. > > > I have read [1] and the lists archives > > and found no answers for my question. > > > > > > > > Thank you in advance. > > > > > > > > [1] http://wiki.xensource.com/xenwiki/VTdHowTo > > > > -- haicheng -- WBR, i.m.chubin