All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: Oleksandr Grytsov <al1img@gmail.com>
Cc: Juergen Gross <jgross@suse.com>, Wei Liu <wei.liu2@citrix.com>,
	Oleksandr Andrushchenko <andr2000@gmail.com>,
	Oleksandr Grytsov <oleksandr_grytsov@epam.com>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH v1 0/2] libxl: add PV display device driver interface
Date: Tue, 2 May 2017 15:28:03 +0100	[thread overview]
Message-ID: <22792.38771.362665.721333@mariner.uk.xensource.com> (raw)
In-Reply-To: <CACvf2oVYmNAx5ovkPEeh7iTPyV5EHCS-CcVOor=sKabyt8oa1A@mail.gmail.com>

Oleksandr Grytsov writes ("Re: [Xen-devel] [PATCH v1 0/2] libxl: add PV display device driver interface"):
> On Thu, Apr 13, 2017 at 3:54 PM, Ian Jackson <ian.jackson@eu.citrix.com> wrote:
> > Can you sketch out what the rest of the system does, then ?
> > Presumably there has to be a different control protocol to your
> > backend, to tell it where to put the actual displays.  I think it
> > would be good if that protocol were the same for different use cases,
> > and documented somewhere.
> 
> Well, yes there will be some protocol to communicate with the window
> manager.  We consider to use wayland and weston as display system.
> The idea is the backend and other applications on the host render
> content onto wayland surfaces. Each surface will have a unique
> identifier or attribute (like multimedia, navigation etc.). The
> window manager based on these attributes, configured policies and
> scenarios will set positions and geometries for the surfaces.

That seems to make some kind of sense.  However, surely that means
that the backend needs to be told the "identifier or attribute" to
assign to the surfaces it is creating ?

Ie that would have to be in here somewhere
 vdispl = [ 'backend=0, devId=0, beAlloc=1, connectors=800x600,1024x768' ]

> > So for example, when a window manager moves a window, how is the
> > backend told where to display the guest output ?
> 
> The backend will create the wayland surface and tell the window manager
> the attribute it has. All rest will be done by the window manager.

Or to put my comment above another way: if there are several such
surfaces, how does the window manager tell which is intended for
what ?

> In my opinion the details how the virtual displays are placed on the host
> should be separated from xl configuration. Because it really depends on
> backend implementation. We have generalized display protocol (displif.h).
> There could be different frontend/backend implementations and each
> implementation will require its own configuration.
> That's why in xl.cfg should be only parameters related to display protocol
> namely resolutions of virtual connectors.

xl.cfg normally also contains information necessary for plumbing the
virtual device back to some physical hardware.

So for example, the disk specification specifies not only the names of
the virtual devices, but also the corresponding host physical devices
(or files), host data storage format, etc.

As I say I think in this case we probably want the configuration file
to assign names or ids to the backend surfaces.

Ian.

PS: Sorry for the slow reply.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  parent reply	other threads:[~2017-05-02 14:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 10:03 [PATCH v1 0/2] libxl: add PV display device driver interface Oleksandr Grytsov
2017-04-05 10:03 ` [PATCH v1 1/2] " Oleksandr Grytsov
2017-04-05 10:03 ` [PATCH v1 2/2] xl: add PV display device commands Oleksandr Grytsov
2017-04-05 11:05 ` [PATCH v1 0/2] libxl: add PV display device driver interface Ian Jackson
2017-04-05 12:25   ` al1img .
2017-04-05 13:49     ` Ian Jackson
2017-04-05 14:00       ` Konrad Rzeszutek Wilk
2017-04-05 14:18         ` Oleksandr Grytsov
2017-04-05 14:28           ` Oleksandr Grytsov
2017-04-05 14:28           ` Ian Jackson
2017-04-05 14:53             ` Oleksandr Grytsov
2017-04-05 15:50               ` Ian Jackson
2017-04-06  9:22                 ` Oleksandr Grytsov
2017-04-06 11:17                   ` Ian Jackson
2017-04-06 12:42                     ` Oleksandr Grytsov
2017-04-06 13:03                       ` Ian Jackson
2017-04-06 13:27                         ` Oleksandr Grytsov
2017-04-10 10:58                           ` Oleksandr Grytsov
2017-04-12 16:48                             ` Wei Liu
2017-04-13  8:41                               ` Oleksandr Grytsov
2017-04-13 12:54                             ` Ian Jackson
2017-04-14 10:12                               ` Oleksandr Grytsov
2017-04-26 10:15                                 ` Oleksandr Grytsov
2017-05-02 14:28                                 ` Ian Jackson [this message]
2017-05-03 15:08                                   ` Oleksandr Grytsov
2017-05-03 15:13                                     ` Ian Jackson
2017-05-04  8:49                                       ` Oleksandr Grytsov
2017-05-12 12:12                                         ` Oleksandr Grytsov
2017-05-18 11:42                                           ` Oleksandr Grytsov

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=22792.38771.362665.721333@mariner.uk.xensource.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=al1img@gmail.com \
    --cc=andr2000@gmail.com \
    --cc=jgross@suse.com \
    --cc=oleksandr_grytsov@epam.com \
    --cc=wei.liu2@citrix.com \
    --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 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.