On Wed, Nov 27, 2024 at 15:17:59 +0800, Han Han wrote:
Another segment fault:
➜ ~ virsh capabilities --xpath //cpu > /tmp/cpu.xml
➜ ~ virsh hypervisor-cpu-compare /tmp/cpu.xml
error: Disconnected from qemu:///system due to end of file
error: Failed to compare hypervisor CPU with /tmp/cpu.xml
error: End of file while reading data: Input/output error
Backtrace:
(gdb) bt
#0 virCPUCompareUnusable
(arch=arch@entry=VIR_ARCH_X86_64, host=host@entry=0x7f28b83441a0,
cpu=cpu@entry=0x7f28fc012530, blockers=0x0,
failIncompatible=failIncompatible@entry=false)
at ../src/cpu/cpu.c:198
Thanks, both are caused by the same bug. I've just sent a fix to the
list.
Jirka