We don't really need to override the defaults because libvirt chooses sane ones. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/libvirt-php.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index 51534a5..307412e 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -2345,9 +2345,6 @@ char *installation_get_xml(virConnectPtr conn, char *name, int memMB, " %s\n" " </features>\n" " <clock offset=\"%s\"/>\n" - " <on_poweroff>destroy</on_poweroff>\n" - " <on_reboot>destroy</on_reboot>\n" - " <on_crash>destroy</on_crash>\n" " <vcpu>%d</vcpu>\n" " <devices>\n" " <emulator>%s</emulator>\n" @@ -2388,9 +2385,6 @@ char *installation_get_xml(virConnectPtr conn, char *name, int memMB, " %s\n" " </features>\n" " <clock offset=\"%s\"/>\n" - " <on_poweroff>destroy</on_poweroff>\n" - " <on_reboot>destroy</on_reboot>\n" - " <on_crash>destroy</on_crash>\n" " <vcpu>%d</vcpu>\n" " <devices>\n" " <emulator>%s</emulator>\n" -- 2.13.6 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list