On 09/12/2010 11:36 AM, Joerg Roedel wrote:
On Sun, Sep 12, 2010 at 11:06:34AM +0200, Avi Kivity wrote:
On 09/10/2010 06:34 PM, Joerg Roedel wrote:
+ /*
+ * If we are here the test failed, not sure what to do now because we
+ * are not in guest-mode anymore so we can't trigger an intercept.
+ * Trigger a tripple-fault for now.
+ */
+ printf("sel_cr0 test failed. Can not recover from this - exiting\n");
+ exit(1);
Don't understand - we're still in guest mode (only running very
slowly...). All you have to do is fall off the end here, and you'll
exit with VMMCALL.
The bug I fixed was, that the guest continues to run in l1 mode with the
l2 rip, rsp, and rax. So if the bug is there, it continues to run in
this function, but with no chance to intercept anymore because the guest
is not longer in emulated guest mode.
I see. Of course it is right to test for specific regressions, not just
random features.
I agree that this is a test specific to that bug. I should probably add
another test to check if the correct intercepts are reported.
The more, the merrier!
--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html