All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org,
	konrad.wilk@oracle.com, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH] xen: write information about supported backends
Date: Mon, 4 Apr 2016 06:33:15 +0200	[thread overview]
Message-ID: <5701EE8B.3030708@suse.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1604011540470.9190@sstabellini-ThinkPad-X230>

On 01/04/16 16:56, Stefano Stabellini wrote:
> On Wed, 30 Mar 2016, Juergen Gross wrote:
>> Add a Xenstore directory for each supported pv backend. This will allow
>> Xen tools to decide which backend type to use in case there are
>> multiple possibilities.
>>
>> The information is added under
>> /local/domain/<backend-domid>/device-model/<domid>/backends
>> before the "running" state is written to Xenstore. Using a directory
>> for each directory enables us to add parameters for specific backends
>> in the future.
>>
>> In order to reuse the Xenstore directory creation already present in
>> hw/xen/xen_devconfig.c move the related functions to
>> hw/xen/xen_backend.c where they fit better.
> 
> An interface change like this one, needs a new file under docs (in the
> Xen repository) to document it.  Please add a reference to it, in the
> commit message here.

Is the Xenstore path documentation enough? Or do you want something
like docs/misc/qemu-deprivilege.txt to be added?

> In addition please make sure that this can work with QEMU running as
> non-root. What are the permissions of the new xenstore directory?

Should work, as I'm using the same functions as any backend in qemu is
using. The new directory is read-only for the qemu target domain (same
as the backend directories).


Juergen

WARNING: multiple messages have this Message-ID (diff)
From: Juergen Gross <jgross@suse.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org,
	konrad.wilk@oracle.com, kraxel@redhat.com
Subject: Re: [PATCH] xen: write information about supported backends
Date: Mon, 4 Apr 2016 06:33:15 +0200	[thread overview]
Message-ID: <5701EE8B.3030708@suse.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1604011540470.9190@sstabellini-ThinkPad-X230>

On 01/04/16 16:56, Stefano Stabellini wrote:
> On Wed, 30 Mar 2016, Juergen Gross wrote:
>> Add a Xenstore directory for each supported pv backend. This will allow
>> Xen tools to decide which backend type to use in case there are
>> multiple possibilities.
>>
>> The information is added under
>> /local/domain/<backend-domid>/device-model/<domid>/backends
>> before the "running" state is written to Xenstore. Using a directory
>> for each directory enables us to add parameters for specific backends
>> in the future.
>>
>> In order to reuse the Xenstore directory creation already present in
>> hw/xen/xen_devconfig.c move the related functions to
>> hw/xen/xen_backend.c where they fit better.
> 
> An interface change like this one, needs a new file under docs (in the
> Xen repository) to document it.  Please add a reference to it, in the
> commit message here.

Is the Xenstore path documentation enough? Or do you want something
like docs/misc/qemu-deprivilege.txt to be added?

> In addition please make sure that this can work with QEMU running as
> non-root. What are the permissions of the new xenstore directory?

Should work, as I'm using the same functions as any backend in qemu is
using. The new directory is read-only for the qemu target domain (same
as the backend directories).


Juergen

  reply	other threads:[~2016-04-04  4:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30 14:10 [Qemu-devel] [PATCH] xen: write information about supported backends Juergen Gross
2016-03-30 14:10 ` Juergen Gross
2016-04-01 14:56 ` [Qemu-devel] " Stefano Stabellini
2016-04-01 14:56   ` Stefano Stabellini
2016-04-04  4:33   ` Juergen Gross [this message]
2016-04-04  4:33     ` Juergen Gross
2016-04-06 17:12     ` [Qemu-devel] " Stefano Stabellini
2016-04-06 17:12       ` Stefano Stabellini
2016-04-04  9:18 ` [Qemu-devel] [Xen-devel] " David Vrabel
2016-04-04  9:18   ` David Vrabel
2016-04-04  9:30   ` [Qemu-devel] " Juergen Gross
2016-04-04  9:30     ` Juergen Gross

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=5701EE8B.3030708@suse.com \
    --to=jgross@suse.com \
    --cc=konrad.wilk@oracle.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /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 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.