| To: | 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-devel] [PATCH] vtd hotplug: check if a device can be hot-plugged. |
| From: | "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> |
| Date: | 2008年12月31日 15:48:18 +0800 |
| Accept-language: | zh-CN, en-US |
| Acceptlanguage: | zh-CN, en-US |
| Cc: | |
| Delivery-date: | 2008年12月30日 23:48:53 -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: | AclqdS3iuBVeIVAORSmlKFjhMlynSwAoU9Mg |
| Thread-topic: | [PATCH] vtd hotplug: check if a device can be hot-plugged. |
When we statically assign a pci device (the pci=['xx:xx.x'] string in guest config file) to guest, we make many checkings (for instance, if the device is specified in 'pciback.hide', if it has non-page-aligned MMIO BARs, if it has a proper FLR capability, if the related devices should be co-assigned). However, with respect to the guest hotplug, we only check if the device exists and not assigned yet -- this is not enough, for instance, now xend allows us to assign an in-use device (being used by Dom0) to an HVM guest (because xc.test_assigned() returns OK) -- this will cause disaster... The patch adds some necessary checkings. Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
Attachment:
checkings_on_hotplug.patch
Description: checkings_on_hotplug.patch
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [Xen-devel] RE: freezing when using GPLPV drivers (including Dom0) , James Harper |
|---|---|
| Next by Date: | RE: [Xen-devel] Windows SMP , James Harper |
| Previous by Thread: | [Xen-devel] freezing when using GPLPV drivers (including Dom0) , James Harper |
| Next by Thread: | [PATCH 1][Xen-devel] Cpufreq: remove redundant part , Liu, Jinsong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |