On Mon, Jun 30, 2025 at 02:17:25PM +0800, Zhenzhong Duan wrote: > Utilize the existing fake reboot mechanism to do reboot for TDX guest. > > Different from normal guest, TDX guest doesn't support system_reset, > so have to kill the old guest and start a new one to simulate the reboot. > > Co-developed-by: Chenyi Qiang <chenyi.qi...@intel.com> > Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com> > --- > src/qemu/qemu_process.c | 80 +++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 77 insertions(+), 3 deletions(-)
One thing I noticed during testing is that when a guest crashes during boot up eg via a triple-fault, we'll endlessly re-create QEMU which is quite expensive as memory pages are allocated/deallocated, and also burn through domain ID values. I'm not sure there's much (anything) we can do about these downsides though. Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|