]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
add Vfb to the hotplug code
authorVincent Hanquez <vincent.hanquez@eu.citrix.com>
Thu, 30 Jul 2009 14:15:11 +0000 (15:15 +0100)
committerVincent Hanquez <vincent.hanquez@eu.citrix.com>
Thu, 30 Jul 2009 14:15:11 +0000 (15:15 +0100)
xenops/hotplug.ml

index a832944a9bb3d91a70d7884d54d95d5e3b291f77..af05bfc4c1037d79086971f06d7095f35765e8d5 100644 (file)
@@ -92,7 +92,7 @@ let device_is_online ~xs (x: device) =
   and backend_request () = try ignore(xs.Xs.read (backend_shutdown_request_path_of_device ~xs x)); true with Xb.Noent -> false in
 
   match x.backend.kind with
-  | Pci -> assert false (* PCI backend doesn't create online node *)
+  | Pci | Vfb -> assert false (* PCI/Vfb backend doesn't create online node *)
   | Vif -> backend_hotplug ()
   | ( Vbd | Tap ) -> 
       if backend_request ()