Hi Andrea :
On Wed, Jan 10, 2024 at 11:07:48AM +0800, Xianglai Li wrote:diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c index 4027547e1e..c809fc0d7a 100644 --- a/src/util/virhostcpu.c +++ b/src/util/virhostcpu.c @@ -1650,7 +1652,8 @@ virHostCPUGetPhysAddrSize(const virArch hostArch, { g_autoptr(FILE) cpuinfo = NULL;- if (!(ARCH_IS_X86(hostArch) || ARCH_IS_SH4(hostArch))) { + if (!(ARCH_IS_X86(hostArch) || ARCH_IS_SH4(hostArch) || + ARCH_IS_LOONGARCH(hostArch))) { /* Ensure size is set to 0 as physical address size is unknown */ *size = 0; return 0;Alignment is slightly off here.
OK! Thanks! Xianglai. _______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
