[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] xen: write information about supported backends

From: Juergen Gross
Subject: Re: [Qemu-devel] [PATCH] xen: write information about supported backends
Date: Mon, 4 Apr 2016 06:33:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]