From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: Re: Xen 4.2 TODO / Release Date: Fri, 1 Jun 2012 13:13:05 +0100 Message-ID: <4FC8B1D1.1080801@citrix.com> References: <1338197010.14158.37.camel@zakaz.uk.xensource.com> <4FC88DFF.70807@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org Stefano Stabellini wrote: > On Fri, 1 Jun 2012, Roger Pau Monne wrote: >> * qemu-upstream for NetBSD: I'm currently working on this. It compiles >> but VGA memory mapping seems to be wrong, and qemu gets a segfault when >> trying to write to it. > > You might have to check the implementation of xc_domain_add_to_physmap > on NetBSD. On the QEMU side xen_add_to_physmap is the relevant function. > However I cannot see how it would be different from > qemu-xen-traditional. Well my description was not completely accurate, when the memory address is retrieved for the first time (vga.c:2225), qemu can write to it, but after some point (don't know exactly yet), the userspace process looses access to that memory region, and gets a segfault.