All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mao Mingy <maomingya928@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xen.org,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: frame buffer shared by domains on arch arm linux
Date: Fri, 23 Jan 2015 18:48:45 +0800	[thread overview]
Message-ID: <54C2270D.2070902@gmail.com> (raw)
In-Reply-To: <1422009254.19859.32.camel@citrix.com>


On 23/01/2015 18:34, Ian Campbell wrote:
> On Fri, 2015-01-23 at 18:23 +0800, Mao Mingy wrote:
>> On 23/01/2015 18:11, Ian Campbell wrote:
>>> On Fri, 2015-01-23 at 18:03 +0800, Mao Mingy wrote:
>>>> I modified the "-xen-domid" and "-name" of qemu-system-i386  to match
>>>> the domain name and id of the guest Dom, the result is same.
>>> Please just let the toolstack launch qemu instead of doing it yourself.
>>> With Xen 4.5 you shouldn't need to be doing anything here manually at
>>> all.
>>>
>>> Ian.
>>>
>> Oh. I was referring to the QEMU instance started at the boot time (
>> /etc/init.d/xencommons start)
>> Do I still need call "/etc/init.d/xencommons start" when system start?
> Yes it should be run and it should be starting a qemu process for dom0.
>
> In summary:
>        * Leave xencommons alone, and arrange to run it on boot, so it
>          starts a qemu for dom0
>        * Allow the toolstack to launch a qemu process for the guest
>          domain as and when it deems it necessary.
>
> Ian.
>
My system follows what you've mentioned above. I was using the following 
commands
"xl create files.cfg" to create the guest dom.

The files.cfg are as follows:
kernel = "/xen/images/zImage"
memory = "128"
name = "omap51"
bootargs = "mem=128M vram=16M xencons=hvc"
vcpus = 1
extra ="console=hvc0 xencons=hvc root=/dev/xvda ro"
disk = [ 'phy:/dev/loop0,xvda,w' ]
vfb=['vnc=1']

The QEMU instance for guest dom is observed on Dom0.

Everything seems fine,  writing to fb of guest dom returns no error.

Just physical screen do not display the contents of fb of guest dom.

Regards,
Mao Mingya

  reply	other threads:[~2015-01-23 10:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21  8:36 frame buffer shared by domains on arch arm linux Mao Mingy
2015-01-21 10:51 ` Stefano Stabellini
2015-01-22  2:18   ` Mao Mingy
2015-01-22 11:56     ` Stefano Stabellini
2015-01-23  9:14       ` Mao Mingy
2015-01-23  9:24         ` Ian Campbell
2015-01-23 10:03           ` Mao Mingy
2015-01-23 10:11             ` Ian Campbell
2015-01-23 10:23               ` Mao Mingy
2015-01-23 10:32                 ` Stefano Stabellini
     [not found]                   ` <CAFLc04ByJ0OEsqEeXcL3goaGiLkYFpwTnFrZnRfv2Tx463XwdA@mail.gmail.com>
     [not found]                     ` <alpine.DEB.2.02.1501231456260.18131@kaball.uk.xensource.com>
     [not found]                       ` <54C5DD03.5070406@gmail.com>
     [not found]                         ` <alpine.DEB.2.02.1501261049370.13428@kaball.uk.xensource.com>
     [not found]                           ` <54C741CC.8040604@gmail.com>
2015-01-27 10:24                             ` Stefano Stabellini
2015-01-27 10:55                               ` Ian Campbell
2015-01-23 10:34                 ` Ian Campbell
2015-01-23 10:48                   ` Mao Mingy [this message]
2015-01-23 10:56                     ` Ian Campbell
2015-01-23 13:13                       ` Mao Mingya
2015-01-23 13:16                         ` Ian Campbell
2015-01-26  6:06                       ` Mao Mingy
2015-01-26 10:55                         ` Stefano Stabellini
2015-01-23 10:33         ` Stefano Stabellini

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=54C2270D.2070902@gmail.com \
    --to=maomingya928@gmail.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.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.