Paolo Bonzini 92d5f1a414 target/i386: unify masking of interrupts
Interrupt handling depends on various flags in env->hflags or env->hflags2,
and the exact detail were not exactly replicated between x86_cpu_has_work
and x86_cpu_exec_interrupt.  Create a new function that extracts the
highest-priority non-masked interrupt, and use it in both functions.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-10-02 19:09:12 +02:00
..
2017-01-10 08:49:59 -08:00
2018-10-02 19:09:12 +02:00
2018-10-02 19:09:12 +02:00
2018-07-02 15:41:18 +02:00
2018-07-02 15:41:18 +02:00
2017-01-10 08:49:59 -08:00
2018-05-09 00:13:39 +02:00
2018-07-02 15:41:18 +02:00
2018-07-02 15:41:18 +02:00
2018-06-28 19:05:31 +02:00