Re: [PATCH v2 46/50] target/i386: Tidy gen_check_io

2021-05-18 Thread Paolo Bonzini
On 14/05/21 17:13, Richard Henderson wrote: Get cur_eip from DisasContext. Do not require the caller to use svm_is_rep; get prefix from DisasContext. Use the proper symbolic constants for SVM_IOIO_*. While we're touching all call sites, return bool in preparation for gen_check_io raising #GP.

[PATCH v2 46/50] target/i386: Tidy gen_check_io

2021-05-14 Thread Richard Henderson
Get cur_eip from DisasContext. Do not require the caller to use svm_is_rep; get prefix from DisasContext. Use the proper symbolic constants for SVM_IOIO_*. While we're touching all call sites, return bool in preparation for gen_check_io raising #GP. Signed-off-by: Richard Henderson --- target