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

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri Jun 19 01:10:14 PDT 2015


On Fri, Jun 19, 2015 at 10:55:29AM +0300, Vladimir Davydov wrote:
> > "venet_acct_ioctl" which would emulate old ioctls.
> > 
> > The write action into this file should pass
> > struct vz_tc_cg_req as an argument so that
> > it get unpacked into argument and command
> > for ioctl call and execute it.
> 
> IMHO this looks like trading bad for worse. Why can't we just use legacy
> ioctls for a start?

Sigh. It seems I misunderstood the problem itself :/ I thought
we're having troubles in calling ioctl but the problem is rathe
in ioctl internals code, where veid should be passed inside arguments
but we need to get rid of them. Drop this patch please, I'll rework.



More information about the Devel mailing list