mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain
       [not found]     ` <20140805134220.GD13057@laptop.dumpdata.com>
@ 2014-08-05 13:45       ` David Vrabel
  2014-08-06 10:52         ` Frediano Ziglio
  0 siblings, 1 reply; 2+ messages in thread
From: David Vrabel @ 2014-08-05 13:45 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk, Frediano Ziglio
  Cc: Boris Ostrovsky, linux-kernel, xen-devel, linux-api

On 05/08/14 14:42, Konrad Rzeszutek Wilk wrote:
> 
>  - Some of these hypercalls don't have an ABI so we can't depend
>    on them being stable. How do you want to handle that?

We are not going any further with this series because of this.

David

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

* Re: [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain
  2014-08-05 13:45       ` [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain David Vrabel
@ 2014-08-06 10:52         ` Frediano Ziglio
  0 siblings, 0 replies; 2+ messages in thread
From: Frediano Ziglio @ 2014-08-06 10:52 UTC (permalink / raw)
  To: David Vrabel
  Cc: Konrad Rzeszutek Wilk, Boris Ostrovsky, linux-kernel, xen-devel,
	linux-api

On Tue, 2014-08-05 at 14:45 +0100, David Vrabel wrote:
> On 05/08/14 14:42, Konrad Rzeszutek Wilk wrote:
> > 
> >  - Some of these hypercalls don't have an ABI so we can't depend
> >    on them being stable. How do you want to handle that?
> 
> We are not going any further with this series because of this.
> 
> David

Well, this is partially true. We agree the patches as they are cannot be
accepted however in the long term we'd like to find a solution.

The current ABI from user-space to kernel defined by these patches is
perfectly fine (just two ioctl to restrict event channel/privcmd to a
specific domain).

For the implementation we were looking at different approaches:
- add an additional target field in vcpu structure to restrict to a
target for a particular vCPU with some additional hypercalls (like
multicall) that restrict contained hypercalls to a domain;
- an additional hypercall to do domctl but with restriction (this
probably require less changes to current patches);
- using flask. This looks easy to implement but currently code does not
deals well with vCPUs as labels are attached to domains.

Frediano



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

end of thread, other threads:[~2014-08-06 10:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201407311317.s6VDHJV9013633@aserp1020.oracle.com>
     [not found] ` <20140804202633.GC6380@laptop.dumpdata.com>
     [not found]   ` <1407229819.26842.4.camel@hamster.uk.xensource.com>
     [not found]     ` <20140805134220.GD13057@laptop.dumpdata.com>
2014-08-05 13:45       ` [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain David Vrabel
2014-08-06 10:52         ` Frediano Ziglio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®