lguest: steal profile=kvm to profile lguest's exits.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 drivers/lguest/core.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/lguest/core.c b/drivers/lguest/core.c
--- a/drivers/lguest/core.c
+++ b/drivers/lguest/core.c
@@ -253,6 +253,11 @@ int run_guest(struct lg_cpu *cpu, unsign
 		/* Now we're ready to be interrupted or moved to other CPUs */
 		local_irq_enable();
 
+		if (unlikely(prof_on == KVM_PROFILING)) {
+			unsigned long eip = cpu->regs->eip;
+			profile_hit(KVM_PROFILING, (void *)eip);
+		}
+
 		/* Check to see if we should schedule. */
 		cond_resched();
 
