>>> Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> 2010-6-25 22:19 >>> James (song wei) writes ("[Xen-devel] [PATCH] add a command to get the state of VMs"): > add a command "domstate" to get the state of Vms, which may have one state of > {'shutoff', 'idle','shutdown','running','crashed','paused' or 'paused by > admin"}.
I'm going to apply this patch, but:
That you wrote this patch suggests that you're using the xend "managed domains" feature. This feature is not supported by the new xl/libxl tools, and the current plans are to phase out xend.
Xend will still be in 4.1 but will very likely not be the default toolstack in 4.1. Personally at some point I hope it will be removed; it's unreliable and unmaintainable.
-Sorry for replying late. By now, xl/libxl only contain part of function xm/xend. What the release date of 4.1 and would xl/libxl be enhanced in it?
So you may want to consider a migration path away from xend "managed domains". The xl toolstack supports the init.d-based machinery for automatically saving and restoring domains on dom0 reboot;
- Yeah, I could get the status of VMs from Hypervisor by hypercall. I would implement it in xl/libxl.
if you need a more heavyweight approach then XCP may be more to your liking.
-I am looking at it.
Ian.
|