Neo Jia wrote: >>> >>> Do we need to add a "default" in x86 emulator switch statement? >>> >>> >>> >> Take a look at the code. That path is already covered. >> > > Avi, > > I just checkout the latest kvm.git. Please correct me if I am wrong. > > I don't see the explicit "default" in swtich (c->b) statement but I > found a goto writeback. >
If the insn decode flag word c->d (derived from opcode_table) is zero, we return early. See the test just after the label 'done_prefixes'. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel