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

[Xen-changelog] Fix imports.



# HG changeset patch
# User emellor@ewan
# Node ID 3cc679a35d7117b0ac5171686caeb5c28fee0933
# Parent  f2450805063b07e098500d75c98179c1a9073435
Fix imports.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r f2450805063b -r 3cc679a35d71 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Sep 13 14:46:20 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Sep 13 15:44:48 2005
@@ -1193,8 +1193,9 @@
 #============================================================================
 # Register device controllers and their device config types.
 
-controller.addDevControllerClass("vbd",  server.blkif.BlkifController)
-controller.addDevControllerClass("vif",  server.netif.NetifController)
-controller.addDevControllerClass("vtpm", server.tpmif.TPMifController)
-controller.addDevControllerClass("pci",  server.pciif.PciController)
-controller.addDevControllerClass("usb",  server.usbif.UsbifController)
+from xen.xend.server import blkif, netif, tpmif, pciif, usbif
+controller.addDevControllerClass("vbd",  blkif.BlkifController)
+controller.addDevControllerClass("vif",  netif.NetifController)
+controller.addDevControllerClass("vtpm", tpmif.TPMifController)
+controller.addDevControllerClass("pci",  pciif.PciController)
+controller.addDevControllerClass("usb",  usbif.UsbifController)

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


 


Rackspace

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