Xen and restoring state

I finally got around to hooking up the serial cable from the UPS to the Linux box so it can be safely shut down. During testing, I had a bunch of Xen domains up, including one running vncserver and I was connected to the vncserver using a client on the Windows box. The machine shut down safely and came back up properly…. and the VNC viewer stayed connected. The state of the domain running the vncserver was restored as if the host machine hadn’t just been powered off. It’s one thing to know something is supposed to work a given way and another to actually see it happen.