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

[Xen-devel] [PATCH]ioemu-remote&ioemu: Fix unmapping issue on hot-removi

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]ioemu-remote&ioemu: Fix unmapping issue on hot-removing.
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: Wed, 20 Aug 2008 10:22:57 +0900
Cc:
Delivery-date: Tue, 19 Aug 2008 18:23:25 -0700
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch fixes unmapping issue on hot-removing.
I believe my patch and Cui's patch together fix bug #1316 .

> 1. hot-plug attaching VT-d NIC to guest failed.
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1316.


After applying this patch, following messages will disappear.

qemu-dm's message:
pt_unregister_regions: Error: remove old io mapping failed!

Hypervisor's messages:
(XEN) p2m.c:1172:d0 clear_mmio_p2m_entry: gfn_to_mfn failed! gfn=000fffff
(XEN) domctl.c:820:d0 ioport_map:invalid:gport=ffffffff mport=3000 nr_ports=40

Thanks,

Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>

--
Yuji Shimada

On Tue, 19 Aug 2008 00:26:08 +0800
"Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

> > On PAE, failed to hotplug attach USB EHCI device to Linux guest.
> > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1318
> > 
> > UHCI hotplug can not work on Montevina platform.
> > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1319
> 
> With the attached patch, these 2 bugs would be gone.
> 
> Thanks,
> -- Dexuan

Attachment: fix_unmapping_issue.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>