I've just started using KVM

how do I configure Guests to gracefully shutdown when Host is shutdown or rebooted ?