From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mao Mingy Subject: Re: frame buffer shared by domains on arch arm linux Date: Fri, 23 Jan 2015 18:48:45 +0800 Message-ID: <54C2270D.2070902@gmail.com> References: <54BF64F1.1090300@gmail.com> <54C05E05.1020200@gmail.com> <54C210E3.50100@gmail.com> <1422005091.19859.3.camel@citrix.com> <54C21C86.5010006@gmail.com> <1422007918.19859.19.camel@citrix.com> <54C22128.9040102@gmail.com> <1422009254.19859.32.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1422009254.19859.32.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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