[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Hi all,

I wish you all a happy new year 2014.

I'm currently implementing connectDomainXMLFromNative for the LXC
driver. The idea is to convert sourceforge LXC's config file into domain
XML files.

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?

Regards,
--
Cedric




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]