| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] patch for restricted vPMU modes
 On 11/23/2015 05:01 PM, Brendan Gregg wrote: On Mon, Nov 23, 2015 at 6:35 AM, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx <mailto:boris.ostrovsky@xxxxxxxxxx>> wrote: You are right --- Linux doesn't need anything, it just passes the features directly to the hypervisor. pmu_mode_store/show convert strings to numbers but we don't use strings for features. So the only thing that's needed is to allow hypervisor set/clear those two bits in vpmu_features in do_xenpmu_op(). But: DS area is needed by BTS so if that feature is set we want to allow guests to write it (and as for PEBS (which also uses DS area) --- that's really a nop so whether or not you block it won't make any difference. But we should probably still do it). I don't know whether anyone else uses debug store. The way SDM's section 18.11.4 describes it there doesn't seem to be any other users. -boris _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |