At 2017-05-01 20:58:47, "Eric Blake" <eblake@xxxxxxxxxx> wrote: >On 04/30/2017 04:33 PM, Cole Robinson wrote: > >>> >> >> Is there an easy way to move a qemu VM into the crashed state? So I can test >> >> IIRC this logic was based on how old xen behaved, crashed was really a shutoff >> type of state, but my recollection is fuzzy. > >I think you can use the pvpanic device to achieve that, although I >haven't attempted it myself any time recently. > Yes, pvpanic device could help: 1) add a pvpanic device 2) change <on_crash> from restart to: <on_crash>preserve</on_crash> 3) use sysrq-trigger to crash the guest. Regards, - Chen _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list