mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-18 19:18:29 +00:00
![Paolo Bonzini](/assets/img/avatar_default.png)
Combine the RUN_STATE_PRECONFIG and cmd_can_preconfig checks into a single function, to avoid repeating the same expression (or its negation after applying DeMorgan's rule) over and over again. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>