-----Original Message-----
From: Daniel P. Berrangé <berrange(a)redhat.com>
Subject: Re: [PATCH v3 00/21] LIBVIRT: X86: TDX support
On Mon, Jun 30, 2025 at 02:17:11PM +0800, Zhenzhong Duan wrote:
> Hi,
>
> This series brings libvirt the x86 TDX support.
>
> * What's TDX?
> TDX stands for Trust Domain Extensions which isolates VMs from
> the virtual-machine manager (VMM)/hypervisor and any other software on
> the platform.
>
> This patchset extends libvirt to support TDX, with which one can start a TDX
> guest from high level rather than running qemu directly.
>
> * Misc
> As QEMU use a software emulated way to reset guest which isn't supported
by TDX
> guest for security reason. We simulate reboot for TDX guest by kill and
create a
> new one in FakeReboot framework.
>
> Complete code can be found at [1].
>
> * Test
> Tested with upstream qemu v10.0.0-1724-gf9a3def17b
> shutdown/reboot/reset with virsh
> shutdown/reboot trigger in guest
> shutdown with on_poweroff=destroy/restart
> reboot with on_reboot=destroy/restart
FYI when I have a guest crash libvirt logs
error : qemuMonitorJSONGuestPanicExtractInfo:638 : internal error:
unknown panic info type 'tdx'
this is a new type of panic data structure from upstream QEMU
that libvirt needs to handle in some way
Oh yes, thanks, will add processing on libvirt side.
BRs,
Zhenzhong