Re: [x86] - technical questions about HV implementation on IntelVT

From: Avi Kivity
Date: Mon Oct 27 2008 - 12:38:41 EST


Eric Lacombe wrote:
Hi,

Thanks for your answer.
I will eventually add a netconsole, but for now, I find how to bypass my problem (getting debug information).

However I come with a new question, related to an unexpected VM-exit.
The scenario is as follows:
1. some setup occur
2. vmlaunch is executed by a function F, so the guest is launched. This guest (as I explained in my previous mail) executes the end of the function F.
3. The end of F, do some "printk" then return to the module init function.

The problem is that I get a VM-exit during the step 3. In fact after the first "printk", a vm-exit occurs with exit_reason=2 (triple-fault).

Do you have an idea of what could be the cause of this vm-exit?

Almost any emulation error can cause this. Something goes wrong, an exception is raised, can't be handled due to the same problem (or maybe another one), triple fault.

You need to print out the entire contents of the vmcs before the last entry and check it out carefully.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/