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 and ioemu-remote]: fix multiple pci-attach/pci

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][ioemu and ioemu-remote]: fix multiple pci-attach/pci-detach by removing the meaningless irq_index
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Mon, 1 Sep 2008 14:48:31 +0800
Cc:
Delivery-date: Sun, 31 Aug 2008 23:48:57 -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
Thread-index: AckL/sFCy40BRO+8RJWm712iPqyqjg==
Thread-topic: [PATCH][ioemu and ioemu-remote]: fix multiple pci-attach/pci-detach by removing the meaningless irq_index
For HVM guest, we can't do pci-attach/pci-detach for >64 times due to
the meaningless checking in pci_register_device(). The attached patches
remove it.
With the patches, I made a test of 300 times of attach/detach and
everything works well.

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>

Note:
fix_mulitple_hotplug.patch is for the old ioemu.
fix_mulitple_hotplug-for_ioemu-remote.patch is for the ioemu-remote.
They have a tiny difference about the header. So please apply them
respectively.

Attachment: fix_mulitple_hotplug.patch
Description: fix_mulitple_hotplug.patch

Attachment: fix_mulitple_hotplug-for_ioemu-remote.patch
Description: fix_mulitple_hotplug-for_ioemu-remote.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][ioemu and ioemu-remote]: fix multiple pci-attach/pci-detach by removing the meaningless irq_index, Cui, Dexuan <=