WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] swiotlb=force in Konrad's xen-pcifront-0.8.2 pvops domU

To: Keir Fraser <keir@xxxxxxx>, Dante Cinco <dantecinco@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: RE: [Xen-devel] swiotlb=force in Konrad's xen-pcifront-0.8.2 pvops domU kernel with PCI passthrough
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Fri, 19 Nov 2010 14:36:46 -0800 (PST)
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, mathieu.desnoyers@xxxxxxxxxx, Andrew Thomas <andrew.thomas@xxxxxxxxxx>, Chris Mason <chris.mason@xxxxxxxxxx>, Konrad Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 19 Nov 2010 14:40:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C90C6B36.A992%keir@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimOYLdDnFDxNFpDi9Syp5ZdDy_CdDvgHrjuW+yR@xxxxxxxxxxxxxx C90C6B36.A992%keir@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> From: Keir Fraser [mailto:keir@xxxxxxx]
> Sent: Friday, November 19, 2010 10:58 AM
> To: Dante Cinco; Jeremy Fitzhardinge
> Cc: Xen-devel; mathieu.desnoyers@xxxxxxxxxx; Chris Mason; Andrew
> Thomas; Konrad Rzeszutek Wilk
> Subject: Re: [Xen-devel] swiotlb=force in Konrad's xen-pcifront-0.8.2
> pvops domU kernel with PCI passthrough
> 
> On 19/11/2010 17:52, "Dante Cinco" <dantecinco@xxxxxxxxx> wrote:
> 
> > How do I check if rdtsc emulation is on? Does 'xm debug-keys s' do
> it?
> >
> > (XEN) *** Serial input -> Xen (type 'CTRL-a' three times to switch
> > input to DOM0)
> > (XEN) TSC marked as reliable, warp = 0 (count=2)
> > (XEN) dom1: mode=0,ofs=0xca6f68770,khz=2666017,inc=1
> > (XEN) No domains have emulated TSC
> 
> TSC emulation is not enabled.

I *think* "No domains have emulated TSC" will be printed
if there are no domains other than dom0 currently running,
so this may not be definitive.

Also note that tsc_mode=0 means "do the right thing for
this hardware platform" but, if the domain is saved/restored
or live-migrated, TSC will start being emulated. See
tscmode.txt in xen/Documentation for more detail.

Lastly, I haven't tested this code in quite some time,
the code for PV and HVM is different, and I've never
tested it with xl, only with xm.  So bitrot is possible,
though hopefully unlikely.

Thanks,
Dan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>