On Mon, Nov 14, 2011 at 09:30:02PM -0700, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
---
src/libvirt_private.syms |1 +
src/qemu/qemu_cgroup.c
On Tue, Nov 15, 2011 at 03:22:03PM +0800, Hu Tao wrote:
On Mon, Nov 14, 2011 at 09:30:02PM -0700, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
---
On 11/14/2011 09:30 PM, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
+if (vm-def-blkio.ndevices) {
+if (qemuCgroupControllerActive(driver,
On 11/15/2011 12:22 AM, Hu Tao wrote:
On Mon, Nov 14, 2011 at 09:30:02PM -0700, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
Does more than the function name says. Would it be
On 11/29/2011 10:14 AM, Daniel P. Berrange wrote:
Does more than the function name says. Would it be better to just do the
parsing here, and set the cgroup values after parsing(see my comment to
patch 3 for filtering out 0-weight when writing to xml):
Yes, IMHO it is better to do the
On 11/15/2011 03:33 PM, Eric Blake wrote:
On 11/15/2011 12:22 AM, Hu Tao wrote:
On Mon, Nov 14, 2011 at 09:30:02PM -0700, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
+/*
On 11/15/2011 12:22 AM, Hu Tao wrote:
On Mon, Nov 14, 2011 at 09:30:02PM -0700, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
+/* deviceWeightStr in the form of
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
---
src/libvirt_private.syms |1 +
src/qemu/qemu_cgroup.c | 20 ++
src/qemu/qemu_driver.c
On Mon, Nov 14, 2011 at 09:30:02PM -0700, Eric Blake wrote:
From: Hu Tao hu...@cn.fujitsu.com
Implement setting/getting per-device blkio weights in qemu,
using the cgroups blkio.weight_device tunable.
---
src/libvirt_private.syms |1 +
src/qemu/qemu_cgroup.c