Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7d9ddaed authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: x86 emulator: clean up control flow in x86_emulate_insn()



x86_emulate_insn() is full of things like

    if (rc != X86EMUL_CONTINUE)
        goto done;
    break;

consolidate all of those at the end of the switch statement.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent a4d4a7c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment