mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frediano Ziglio <frediano.ziglio@citrix.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	xen-devel <xen-devel@lists.xenproject.org>,
	<linux-api@vger.kernel.org>
Subject: Re: [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain
Date: Wed, 6 Aug 2014 11:52:46 +0100	[thread overview]
Message-ID: <1407322366.15946.8.camel@hamster.uk.xensource.com> (raw)
In-Reply-To: <53E0DFFE.9090202@citrix.com>

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



      reply	other threads:[~2014-08-06 10:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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       ` David Vrabel
2014-08-06 10:52         ` Frediano Ziglio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407322366.15946.8.camel@hamster.uk.xensource.com \
    --to=frediano.ziglio@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®