From 93be064c1d6c5bb0be0c83542dbbd43ce6cf2489 Mon Sep 17 00:00:00 2001 From: John Else Date: Fri, 6 Sep 2013 04:15:38 +0100 Subject: [PATCH] Revert "CA-109035: Remove the correct xenstore key when PCI unplugging." This reverts commit 1fd7e5aad5a2f272cc0ed0b39f5a1969bfb3e9f4. Removing this patch for the tech preview since it hasn't been QA'd yet. Signed-off-by: John Else --- ocaml/xenops/device.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml/xenops/device.ml b/ocaml/xenops/device.ml index 3a50c8215a..e243e40bfc 100644 --- a/ocaml/xenops/device.ml +++ b/ocaml/xenops/device.ml @@ -1376,7 +1376,7 @@ let plug (task: Xenops_task.t) ~xc ~xs (domain, bus, dev, func) domid = let unplug (task: Xenops_task.t) ~xc ~xs (domain, bus, dev, func) domid = try - let current = read_pcidir ~xc ~xs domid in + let current = list ~xc ~xs domid in let pci = to_string (domain, bus, dev, func) in let idx = fst (List.find (fun x -> snd x = (domain, bus, dev, func)) current) in