On 4/14/25 14:14, Paolo Bonzini wrote:
On 4/14/25 09:57, Alexandr Moshkov wrote:
Add new tests to check the correctness of the `-overcommit memlock`
option (possible values: off, on, on-fault) by using
`/proc/{qemu_pid}/smaps` file to check in Size, Rss and Locked fields of
anonymous segments:

* if `memlock=off`, then Locked = 0 on every anonymous smaps;
* if `memlock=on`, then Size, Rss and Locked values must be equal for
every anon smaps where Rss is not 0;
* if `memlock=on-fault`, then Rss and Locked must be equal on every anon
smaps and anonymous segment with Rss < Size must exists.

Hi Alexandr,

tests/avocado is being phased out and will no longer be present in QEMU 10.1.  Can you write the test using the framework in tests/functional instead?

Thanks,

Paolo

Yes, of course. Thanks for reply!


Best regards,

Alexandr


Reply via email to