qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Xen-devel] [PATCH] xen: write information about suppor


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

On 04/04/16 11:18, David Vrabel wrote:
> On 30/03/16 15:10, 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.
> 
> "Using a directory for each backend..."?

Yes. As I've written: this enables us to enhance the interface later
without the need to modify it first.

>> 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.
> 
> Why Xenstore and not QMP?

We need to communicate with qemu only once instead of each time a
device is added to the domain. Doing the communication via Xenstore
is much simpler.

Juergen



reply via email to

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