Re: [kvm-unit-tests PATCH v1 2/2] s390x: add cmm migration test

Nico Boehr
2022-05-10T14:49:59Z

On Tue, 2022-05-10 at 15:45 +0200, Claudio Imbrenda wrote:
> ok, next less ugly thing: unroll the loop
>
> for (i = 0; i < NUM_PAGES; i += 4) {
>         essa(ESSA_SET_STABLE, (unsigned long)pagebuf[i]);
>         essa(ESSA_SET_UNUSED, (unsigned long)pagebuf[i + 1]);
>         ... etc
> }
>
> maybe assert(NUM_PAGES % 4 == 0) before that, just for good measure

That's nicer, thanks, fixed.