Re: [PATCH] qemu: Avoid crash in qemuDomainCheckCPU with unknown host CPU

2025-02-18 Thread Michal Prívozník
On 2/18/25 11:49, Jiri Denemark wrote: > When we don't have any information about host CPU (for example when > running on an aarch64 host), the virQEMUCapsGetHostModel would return > NULL. > > Fixes: https://gitlab.com/libvirt/libvirt/-/issues/747 > Signed-off-by: Jiri Denemark Please also menti

Re: [PATCH] qemu: Avoid crash in qemuDomainCheckCPU with unknown host CPU

2025-02-18 Thread Jaroslav Suchanek
On Tue, Feb 18, 2025 at 11:49:53AM +0100, Jiri Denemark wrote: > When we don't have any information about host CPU (for example when > running on an aarch64 host), the virQEMUCapsGetHostModel would return > NULL. Tested-by: Jaroslav Suchanek > > Fixes: https://gitlab.com/libvirt/libvirt/-/issue

[PATCH] qemu: Avoid crash in qemuDomainCheckCPU with unknown host CPU

2025-02-18 Thread Jiri Denemark
When we don't have any information about host CPU (for example when running on an aarch64 host), the virQEMUCapsGetHostModel would return NULL. Fixes: https://gitlab.com/libvirt/libvirt/-/issues/747 Signed-off-by: Jiri Denemark --- src/qemu/qemu_domain.c | 1 + 1 file changed, 1 insertion(+) di