xsview - a graphical Xenstore tool
PATCH 1/1 xsview - a graphical Xenstore tool
I got tired of viewing the output of xenstore-ls with less when trying to debug things, so I knocked together a simple little graphical app using PyQt which displays the contents of Xenstore as a tree.
It should apply to xen-unstable. It has to be run out of tools/xsview/ because I've not yet added an install operation.
Right now you can view the XenStore tree and get / set values in there. At some point in the future I'll probably add code for creating / deleting nodes in the tree, and possibly other things. Should be useful for testing and / or debugging.
Hope that it's useful to folks, but it's not very thoroughly tested so please don't blame me if it makes your computer explode / causes gerbils to fall over.
Cheers,
Mark
Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!
tools/xsview/xsview new file +17 -0
@@ -0,0 +1,17 @@ +#!/usr/bin/env python + +import sys +from xsviewer import * +from qt import * + +def main(args): + app = QApplication(args) + mainwin = XSViewer(app) + mainwin.show() + app.connect(app, SIGNAL("lastWindowClosed()"), + app, SLOT("quit()")) + app.exec_loop() + +main(sys.argv) + +
tools/xsview/xsviewer.py new file +87 -0
87 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel