[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 0 of 2] More experimental PCI passthrough fixes



more experimental PCI passthrough fixes

1. hotunplug the PCI devices in suspend; hotplug back in in resume
2. do the same in migrate (synchronously, no fancy early unplug, later sync)
3. make the low-level Device.PCI.* functions more robust by always checking for 
the xenstore response ("pci-inserted", "pci-removed")

Note that testing with an HVM SLES11 guest suggests that there's still a race 
in the hotplug code where, even though qemu acks 2 PCI device hotplugs, the 
guest only sees 1. The problem goes away if a sleep is added between the two 
hotplug requests.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>
6 files changed, 69 insertions(+), 64 deletions(-)
ocaml/xapi/vmops.ml           |   24 ++++++++++++++++++++--
ocaml/xapi/xapi_vm.ml         |   16 ++++++++++----
ocaml/xapi/xapi_vm_migrate.ml |   41 +++-----------------------------------
ocaml/xenops/device.ml        |   44 +++++++++++++++++++++++++----------------
ocaml/xenops/device.mli       |    6 +++--
ocaml/xenops/xenops.ml        |    2 -

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.