[Devel] [PATCH rh7] venetstat: Add ioctl interface via VE cgroup

Vladimir Davydov vdavydov at parallels.com
Fri Jun 19 02:11:46 PDT 2015


On Fri, Jun 19, 2015 at 12:06:29PM +0300, Cyrill Gorcunov wrote:
> On Fri, Jun 19, 2015 at 11:59:42AM +0300, Vladimir Davydov wrote:
> > > 
> > > I'd prefer to pass legacy_veid to these ioctls instead of introducing a
> > > new API just to zap it in the next major release...
> > 
> > OK, here goes what we've agreed upon. We do not introduce any substitute
> > for legacy ioctls used for obtaining stats, because designing a user API
> > is not an easy task. For UUID-based we will pass ve.legacy_veid to them.
> > The legacy_veid won't be auto-generated, as it is now. Instead, it will
> > be set from userspace on CT start. It should conform to two rules: (1)
> > uniqueness (all CTs on the same node have different IDs) and (2)
> > persistence (doesn't change after CT restart on the same node).
> 
> So for uuid-based containers userspace tool simply have to
> read ve.legacy_veid and pass it into ioctl, right? What I
> have to do then?

Nothing :)



More information about the Devel mailing list