All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Passing ioctls between front-end and back-end drivers
@ 2005-11-21 16:03 Ian Pratt
  2005-11-21 17:24 ` Nick Logan
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Pratt @ 2005-11-21 16:03 UTC (permalink / raw)
  To: Nick Logan, xen-devel

> I see that the block driver supports requests for READ, WRITE 
> and PROBE. 
> Is there any recommended way to pass ioctl requests from the 
> front-end to be executed by the back-end driver?

Currently, no.

Creating a new request operation type that allows the front end to pass
through ioctls would be useful, but it ends up being rather Linux
specific. Further, for security reasons the backend is going to need to
be able to decode the ioctl and decide whether its safe to issue or not.
It would be better to have a 'wire protocol' for this.

A mechanism for passing scsi commands through would be better, but even
then there are a bunch of vendor-specific ones its not entirely easy to
tell whether they should be allowed by a guest or not. I suspect we need
to draw up a list of what "ioctls" should be allowed. What one do you
want to perform?

Ian 

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Passing ioctls between front-end and back-end drivers
@ 2005-11-21 15:17 Nick Logan
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Logan @ 2005-11-21 15:17 UTC (permalink / raw)
  To: xen-devel

I see that the block driver supports requests for READ, WRITE and PROBE. 
Is there any recommended way to pass ioctl requests from the front-end 
to be executed by the back-end driver?

Thanks,

Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-21 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 16:03 Passing ioctls between front-end and back-end drivers Ian Pratt
2005-11-21 17:24 ` Nick Logan
  -- strict thread matches above, loose matches on Subject: below --
2005-11-21 15:17 Nick Logan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.