[LTP] [PATCH 5/7] KVM: Allow expected KVM_RUN errors in tst_kvm_run_instance()

Petr Vorel pvorel@suse.cz
Thu May 18 12:03:48 CEST 2023


Hi Martin,

> Add a new parameter to tst_kvm_run_instance() for expected errno value,
> e.g. EINTR for testing the possiblity to kill running guest. When
> ioctl(KVM_RUN) fails with the expected errno, tst_kvm_run_instance()
> will return -1 without terminating the test.

> Default tst_kvm_run() function expects no KVM_RUN errors.

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list