On Tue, May 20, 2025 at 01:30:09PM +0200, Magnus Kulke wrote: > Fetch standard register state from MSHV vCPUs to support debugging, > migration, and other introspection features in QEMU. > > Fetch standard register state from a MHSV vCPU's. A generic get_regs() > function and a mapper to map the different register representations are > introduced. > > Signed-off-by: Magnus Kulke <magnusku...@linux.microsoft.com> > --- [...] > int mshv_load_regs(CPUState *cpu) > { > + int ret; > + > + ret = mshv_get_standard_regs(cpu); > + if (ret < 0) { > + error_report("Failed to load standard registers"); > + return -1; > + } > + > error_report("unimplemented"); > abort();
This part looks wrong. It should be "return 0;" instead. Thanks, Wei. > } > -- > 2.34.1 >