Re: [PATCH] dump/win_dump: limit number of processed PRCBs

2022-10-20 Thread Marc-André Lureau
Hi On Thu, Oct 20, 2022 at 3:59 AM Viktor Prutyanov < viktor.prutya...@redhat.com> wrote: > When number of CPUs utilized by guest Windows is less than defined in > QEMU (i.e., desktop versions of Windows severely limits number of CPU > sockets), patch_and_save_context routine accesses non-existen

[PATCH] dump/win_dump: limit number of processed PRCBs

2022-10-19 Thread Viktor Prutyanov
When number of CPUs utilized by guest Windows is less than defined in QEMU (i.e., desktop versions of Windows severely limits number of CPU sockets), patch_and_save_context routine accesses non-existent PRCB and fails. So, limit number of processed PRCBs by NumberProcessors taken from guest Windows