WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Q on ioctl support in netfront/netback

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Q on ioctl support in netfront/netback
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Sun, 14 Feb 2010 18:23:26 -0800
Delivery-date: Sun, 14 Feb 2010 18:24:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=fZmM+3GZ8KffZEiCgiyhRy3D6cDLh7Gj3y2wn8PXjUA=; b=tRzdyVgDakSVuX4QsB8sRtgdx+xcWn2AOpwDi5dk/To4zANEi/cz2we3Vne773ONBw oaoFbjbG8lxBneLI1pkPZNUoOzN5R52F/XnhNZakJLxsixpNuUagQsTI3izxe3xP30al 4a+hDZ4SCOuBw6LyJxh70tLZ+UUWI/T+03DRs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=v+/eSbmdfPw5MNoPWdfpo/hRe/LDQPXyhkgZuy8bQ4yGwsyTYQcIp8RAnM4vguDG+b +ysa3zMFV73yNIr3B+ucmGRPZG/g5x2+W2U9+83Y+IcDuO65IxZDFXaaaHrwL4K5jypg PZA9xpnptmu/hYRV/3aR8kgJeyJ0pwuk5P+V8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello!!!

Our network driver support ioctl calls from applications for register reads/writes. I am wondering can ioctl calls be supported from domU to dom0? i.e call flow will be

application invokes ioctl ---> netfront ioctl ----->via xenbus ------> netback ioctl ------> to actual driver in dom0

with the return path in similar fashion.

Looked at the existing netfront and netback drivers and with my understanding it seems it is not possible. I looked at scsifront and scsiback, assuming storage drivers should be supporting ioctls, didn't see anything related to it. Wanted to know what's the mechanism to support ioctls. Inputs appreciated.

Thanks
-RK

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel