Re: [PATCH v2 1/2] libxl: Fix guest kexec - skip cpuid policy

2023-01-25 Thread Anthony PERARD
On Mon, Jan 23, 2023 at 09:59:38PM -0500, Jason Andryuk wrote: > When a domain performs a kexec (soft reset), libxl__build_pre() is > called with the existing domid. Calling libxl__cpuid_legacy() on the > existing domain fails since the cpuid policy has already been set, and > the guest isn't rebu

[PATCH v2 1/2] libxl: Fix guest kexec - skip cpuid policy

2023-01-23 Thread Jason Andryuk
When a domain performs a kexec (soft reset), libxl__build_pre() is called with the existing domid. Calling libxl__cpuid_legacy() on the existing domain fails since the cpuid policy has already been set, and the guest isn't rebuilt and doesn't kexec. xc: error: Failed to set d1's policy (err leaf