Re: [libvirt-users] How to lookup the driver instance through virConnectPtr pointer

2012-11-22 Thread Eric Blake
On 11/22/2012 02:34 AM, Dennis Chen wrote: >> Furthermore, if your domain is already running, then you can hotplug the >> tuning via the virDomainGetSchedulerParametersFlags() and >> virDomainSetSchedulerParametersFlags() API, with parameter names such as >> VIR_DOMAIN_SCEDULER_VCPU_PERIOD which m

Re: [libvirt-users] How to lookup the driver instance through virConnectPtr pointer

2012-11-22 Thread Dennis Chen
On 11/21/2012 10:00 PM, Eric Blake wrote: On 11/21/2012 02:42 AM, Dennis Chen wrote: [I will note that today's email chain should have been as a new thread, rather than in-reply to a thread from July - changing subject lines and deleting all previous content still doesn't stop your mailer from u

Re: [libvirt-users] How to lookup the driver instance through virConnectPtr pointer

2012-11-21 Thread Eric Blake
On 11/21/2012 02:42 AM, Dennis Chen wrote: [I will note that today's email chain should have been as a new thread, rather than in-reply to a thread from July - changing subject lines and deleting all previous content still doesn't stop your mailer from using In-Reply-To headers] > Yeah, I know. S

Re: [libvirt-users] How to lookup the driver instance through virConnectPtr pointer

2012-11-21 Thread Dennis Chen
On 11/21/2012 05:34 PM, Daniel P. Berrange wrote: On Wed, Nov 21, 2012 at 05:24:18PM +0800, Dennis Chen wrote: Hi, I plan to use virCgroupSetCpuCfsPeriod() and virCgroupSetCpuCfsQuota() to control cpu bandwidth with help of cgroup, so I need to instantiate the cgroup parameter first for the cal

Re: [libvirt-users] How to lookup the driver instance through virConnectPtr pointer

2012-11-21 Thread Daniel P. Berrange
On Wed, Nov 21, 2012 at 05:24:18PM +0800, Dennis Chen wrote: > Hi, > > I plan to use virCgroupSetCpuCfsPeriod() and > virCgroupSetCpuCfsQuota() to control cpu bandwidth with help of > cgroup, > so I need to instantiate the cgroup parameter first for the calling > of virCgroupSetCpuCfsPeriod, below