[virt-tools-list] Question about keeping alive virtual machines

Richard W.M. Jones rjones at redhat.com
Mon Jun 16 09:55:21 UTC 2014


On Mon, Jun 16, 2014 at 10:24:35AM +0200, Szirmai Tibor wrote:
> I created three Windows 7 virtual machines - which should run
> continously - they work as servers.
> I turned off all the energy-save options in the windows7 systems (no
> hard disk sleep, no sleep mode, or anything).
> Besides: the virtual machines stop in every 2-3 days; they get in
> shutoff state, and I have to restart them manually - when I realize
> they stopped.

Apparently this is a known problem with Windows 7.  See for example
this long thread which has many suggestions but no solution:

  http://community.spiceworks.com/topic/148867-vmware-vms-switched-off-by-themselves

My suggestion would be to grab the event viewer logs from the shutdown
machine:

  guestfish --ro -d Win7VM
  ><fs> copy-out /Windows/System32/winevt/Logs /tmp

and you can decode these files using python-evtx (see:
https://bugzilla.redhat.com/show_bug.cgi?id=1109717) and see if
Windows is giving any reason why it wants to shut down.

In any case this doesn't seem to be a hypervisor issue.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the virt-tools-list mailing list