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] xend: passthrough: also do_FLR when a device is assi

To: Keir Fraser <keir.fraser@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xend: passthrough: also do_FLR when a device is assigned
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 5 Jan 2010 23:44:47 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc:
Delivery-date: Tue, 05 Jan 2010 07:45:15 -0800
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: AcqOHgKgYcdUr/3pSkSS3S1kbhWpqg==
Thread-topic: [PATCH] xend: passthrough: also do_FLR when a device is assigned
To workaround a race condition about guest hotplug, c/s 18338:7c10be016e4
disabled do_FLR when we create guest or 'xm pci-attach' device into guest, so
now we actually only do_FLR when a guest is destroyed or 'xm pci-detach'.

By moving the FLR-related checking/do_FLR logic a little earlier, this patch
re-enables do_FLR in these 2 cases disabled by 18338.

Thanks,
-- Dexuan
 

Attachment: do_FLR_on_dom_creation_and_pci_attach.patch
Description: do_FLR_on_dom_creation_and_pci_attach.patch

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