[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 10/16] x86/VPMU: Initialize PMU for PV guests
>>> On 06.01.14 at 20:24, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> wrote: > @@ -750,6 +758,11 @@ func_out: > fixed_pmc_cnt = core2_get_fixed_pmc_count(); > check_pmc_quirk(); > > + /* PV domains can allocate resources immediately */ > + if ( !is_hvm_domain(v->domain) ) > + if ( !core2_vpmu_alloc_resource(v) ) Please use a single if() for conditions like this. Jan > + return 1; > + > return 0; > } > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |