Could you run the following?
#virsh dumpxml <domain>
The XML for one of my VMs contains some entries that look like the following:
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
What do yours look like?
Patrick F. Wilbur
Researcher, Consultant, Educator,
Computer Science Graduate at Clarkson University
patrick.wilbur@xxxxxxxxx
wilburpf@xxxxxxxxxxxx
Check out our book: http://runningxen.com
Computer Science Graduate at Clarkson University
patrick.wilbur@xxxxxxxxx
wilburpf@xxxxxxxxxxxx
Check out our book: http://runningxen.com
My website: http://pdub.net
Consulting: http://pfwilbur.com
On Fri, May 25, 2012 at 5:01 PM, Andrew Martin <amartin@xxxxxxxxxxx> wrote:
Hello,I am using libvirt on Ubuntu 10.04 Server and the following versions of these packages:libvirt-bin, libvirt0, python-libvirt - 0.7.5-5ubuntu27.22qemu-kvm 0.12.3+noroms-0ubuntu9.18Recently, when restarting a VM (either by issuing "sudo reboot" on a Linux guest or choosing "Restart" from the Start Menu on a Windows guest) the VM shuts down and remains off rather than simply restarting. I cannot test "virsh restart <domain>" on this server as the version of libvirt does not appear to support restarting - see https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/368962I do not receive any errors in /var/log when the shutdown occurs. Powering the VM back on works, however I would prefer to have hot restart working so VMs that are automatically rebooted to install updates will come back up automatically. Do you have any suggestions on how to debug this behavior?Thanks,Andrew
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users