[libvirt] [RFC] lxc.cgroup.blkio.weight_device automatic conversion

Cedric Bosdonnat cbosdonnat at suse.com
Thu Jan 2 15:47:58 UTC 2014

Hi again,

On Thu, 2014-01-02 at 13:24 +0100, Cedric Bosdonnat wrote:
> I just hit a problem with converting blkio device weights. LXC's config
> directly stores the cgroup value, defining the device with it's major
> and minor numbers. It seems to me that there is no way to get a path
> from these numbers, so what would you think about extending
> _virBlkioDevice to store either a path or a major/minor pair and extend
> the domain XML schema accordingly?

I found out that /dev/block/major:minor could do the trick... I'll start
with that... unless someone feels it's a bad idea.


More information about the libvir-list mailing list