WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] trouble with the new mmap-batch interface

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] trouble with the new mmap-batch interface
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Wed, 20 Jan 2010 13:38:12 -0800
Delivery-date: Wed, 20 Jan 2010 13:38:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100120070212.GB498@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxx
References: <20100120070212.GB498@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-12-10)
On Tuesday, 19 January 2010 at 23:02, Brendan Cully wrote:
> Hi all,
> 
> I'm having some trouble with the new mmap-batch ioctl. With ioemu
> revision a0066d "use new (replacement) mmap-batch ioctl" applied, my
> HVM domain dies as soon as it is unpaused. The first suspicious line
> in xm dmesg is
> 
> (XEN) HVM3:  - REP INSB across page boundaries ... Bad value at 0x005ffffc: 
> saw 00000000 e
> (XEN) HVM3: xpected ff000000
> (XEN) HVM3: Bad value at 0x00601000: saw 00000000 expected 000000ff
> (XEN) HVM3: failed
> 
> and the qemu log ends at
> cirrus vga map change while on lfb mode
> 
> If I revert to ioemu 3b531c "passthrough: fix a printf format
> specifier" then the INSB test passes and the domain runs fine.
> 
> I'm running 32-bit 2.6.18.8 dom0 (984:0bec29c94ce9), 32-bit HVM guest,
> and 64-bit xen (Tue Jan 19 15:44:54 2010 +0000 20824:07f95839e431)
> 
> It seems unlikely to me that this is actual breakage, but I've built
> world a couple of times. Before I put printfs everywhere I thought I'd
> ask if anyone else had seen this or had any ideas.

The attached patch fixes ioemu for me.

Attachment: mapforeignbulk-prezeroerr.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel