when you shutdown or reboot kvm host os ,and you hope guset os shutdown immediately without wait,you can do this:
vi /etc/default/libvirt-guests
vi /etc/default/libvirt-guestsadd in final
ON_SHUTDOWN=shutdown SHUTDOWN_TIMEOUT=1guest os will be destoryed if that can't shutdown within 1 second.
没有评论:
发表评论