Avi Kivity wrote:
To be clear, do you want an emulator test case (in
user/test/x86/emulator.c) for every instruction added to the emulator?

Yes.  We've been bitten by rarely-used instructions being broken.

I've now added a simple harness to test these instructions. It works by jumping into big real mode, forcing kvm to emulate (if emulate_invalid_guest_state=1) and returning.

Please review it as well as the few fixes I've made in kvm to support it. It's in the 'realmode' branch of both kvm.git and kvm-userspace.git. Once it passes regression testing, I'll merge it into master.


The harness is in a new file, user/test/x86/realmode.c, btw. emulate.c will be used for 64-bit instructions.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to