[libvirt] Fwd: Need help of guest lifecycle control

Zhimou Peng zhpeng at redhat.com
Tue Oct 30 01:21:52 UTC 2012


Any update?
Really need your help about this...


zhpeng
BR

----- Forwarded Message -----
From: "Zhimou Peng" <zhpeng at redhat.com>
To: libvir-list at redhat.com
Cc: jdenemar at redhat.com, "Min Zhan" <mzhan at redhat.com>, "YuanDan" <dyuan at redhat.com>
Sent: Monday, September 24, 2012 1:45:28 PM
Subject: Need help of guest lifecycle control

Hi,
I have a question about guest lifecycle control, many content of element not works, i don't know if i use it in a wrong way.
#virsh shutdown aaa

<on_poweroff>destroy</on_poweroff>
Domain aaa shut off and not power up again. -----> expect

<on_poweroff>restart</on_poweroff>
should power up again but not.              -----> not expect

<on_poweroff>preserve</on_poweroff>
guest poweroff, nothing happend.            ----> how to use it ?

<on_poweroff>rename-restart</on_poweroff>
guest poweroff, and should boot up again with newname? but it's only powered off.  --->not expect

-------------------------------------------------------------------------------------
#virsh reboot aaa

<on_reboot>destroy</on_reboot>
guest not boot up again. it works.

<on_reboot>restart</on_reboot>
guest boot up again. it works.

<on_reboot>preserve</on_reboot>
guest poweroff, nothing happend.    -----> how to use it ?

<on_reboot>rename-restart</on_reboot>
guest poweroff, and should boot up again with newname. but it's only powered off.  --->not expect
--------------------------------------------------------------------------------------
<on_crash>xxxxxxx</on_crash>   --->qemu not support this yet, right? https://bugzilla.redhat.com/show_bug.cgi?id=833530

zhpeng
BR




More information about the libvir-list mailing list