All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] add XenStore viewer
@ 2007-10-04  2:26 Mark Williamson
  2007-10-04 12:35 ` Mark Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Williamson @ 2007-10-04  2:26 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

Hi,

Rejigged my XenStore viewer to apply to unstable, use the python distutils 
properly, etc.

What is it?  A small PyQT application that displays the contents of XenStore 
graphically as a collapsible tree, making it easy to inspect the contents of 
XenStore and manipulate its values.  I've wished for something like this many 
times when trying to debug xenbus interactions.

It's small chunk of code and adds useful but non-critical functionality, so 
I'd propose it be merged unless anyone has objections (nobody squealed last 
time, so I'm guessing not).

I'm open to suggestions regarding other features that'd be useful but it does 
what I want for the moment, I think.

Cheers,
Mark

-- 
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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] add XenStore viewer
  2007-10-04  2:26 [Patch] add XenStore viewer Mark Williamson
@ 2007-10-04 12:35 ` Mark Williamson
  2007-12-14  6:46   ` tgh
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Williamson @ 2007-10-04 12:35 UTC (permalink / raw)
  To: xen-devel; +Cc: Keir Fraser

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

Now with patched attached - bonus!  Thanks to those who pointed out my 
error ;-)

Cheers,
Mark

On Thursday 04 October 2007, Mark Williamson wrote:
> Hi,
>
> Rejigged my XenStore viewer to apply to unstable, use the python distutils
> properly, etc.
>
> What is it?  A small PyQT application that displays the contents of
> XenStore graphically as a collapsible tree, making it easy to inspect the
> contents of XenStore and manipulate its values.  I've wished for something
> like this many times when trying to debug xenbus interactions.
>
> It's small chunk of code and adds useful but non-critical functionality, so
> I'd propose it be merged unless anyone has objections (nobody squealed last
> time, so I'm guessing not).
>
> I'm open to suggestions regarding other features that'd be useful but it
> does what I want for the moment, I think.
>
> Cheers,
> Mark



-- 
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!

[-- Attachment #2: xsview.patch --]
[-- Type: all/allfiles, Size: 7540 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] add XenStore viewer
  2007-10-04 12:35 ` Mark Williamson
@ 2007-12-14  6:46   ` tgh
  0 siblings, 0 replies; 3+ messages in thread
From: tgh @ 2007-12-14  6:46 UTC (permalink / raw)
  To: Mark Williamson, Keir Fraser, Daniel Stodden, Tim Deegan; +Cc: xen-devel

hi
I read the code of "save"and "restore"virtual machine in the PVmode, and
there are many interactions with the xenstore, it seems that when
restoring virtual machine, adding the entry in xenstore will invoke some
watch function to add and initiate some useful devices in the dom0 for
backend, is it ? and does it even inform the guestos to add frontend ?
I am not familar with python, and confused about the whole workflow for
the "save" and "restore" of virtual machine, is the resume function
below the major function for "restore" or not? could someone give me an
explanation about the workflow about the "save" and "restore"


Thanks in advance

______________________________________
def resume(self):
"""Resumes a domain that has come back from suspension."""
state = self._stateGet()
if state in (DOM_STATE_SUSPENDED, DOM_STATE_HALTED):
try:
self._constructDomain()
self._storeVmDetails()
self._createDevices()
self._createChannels()
self._storeDomDetails()
self._endRestore()

________________________________











Mark Williamson 写道:
> Now with patched attached - bonus!  Thanks to those who pointed out my 
> error ;-)
>
> Cheers,
> Mark
>
> On Thursday 04 October 2007, Mark Williamson wrote:
>   
>> Hi,
>>
>> Rejigged my XenStore viewer to apply to unstable, use the python distutils
>> properly, etc.
>>
>> What is it?  A small PyQT application that displays the contents of
>> XenStore graphically as a collapsible tree, making it easy to inspect the
>> contents of XenStore and manipulate its values.  I've wished for something
>> like this many times when trying to debug xenbus interactions.
>>
>> It's small chunk of code and adds useful but non-critical functionality, so
>> I'd propose it be merged unless anyone has objections (nobody squealed last
>> time, so I'm guessing not).
>>
>> I'm open to suggestions regarding other features that'd be useful but it
>> does what I want for the moment, I think.
>>
>> Cheers,
>> Mark
>>     
>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>   

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-14  6:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04  2:26 [Patch] add XenStore viewer Mark Williamson
2007-10-04 12:35 ` Mark Williamson
2007-12-14  6:46   ` tgh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.