* filter_qualify.c (qualify_kvm): Call error_msg_and_die instead of
error_msg in case of invalid -e kvm= argument.
* tests/options-syntax.test: Check it.
else
error_msg("-e kvm=vcpu option needs Linux 4.16.0 or higher");
} else {
- error_msg("unknown value for -e kvm= option: %s", str);
+ error_msg_and_die("invalid -e kvm= argument: '%s'", str);
}
}
#endif
check_h "incorrect personality designator '42' in qualification '23@42'" -e trace=23@42,123
check_e "invalid system call '/getcwd@ohmy'" -e trace=/getcwd@ohmy
+check_e "invalid -e kvm= argument: 'chdir'" -e kvm=chdir
case "$STRACE_NATIVE_ARCH" in
x86_64)