X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=kitten%2Finit%2Fmain.c;h=9b8c086ef6fb88588344c6341f7f468ea8a37505;hb=165560d91368d638b177022f883d3723d7618944;hp=d56f7e199488ed6be07a6ecbd649674c1209d11d;hpb=e05033e42323e92783e8c93d77c0e4be63761667;p=palacios.git diff --git a/kitten/init/main.c b/kitten/init/main.c index d56f7e1..9b8c086 100644 --- a/kitten/init/main.c +++ b/kitten/init/main.c @@ -32,7 +32,6 @@ start_kernel() { unsigned int cpu; unsigned int timeout; - int status; /* * Parse the kernel boot command line. @@ -118,17 +117,19 @@ start_kernel() } #ifdef CONFIG_V3VEE - RunVMM(); + v3vee_run_vmm(); + printk( "%s: VMM returned. We're spinning\n", __func__ ); + while(1) { asm( "hlt" ); } #else - /* * Start up user-space... */ printk(KERN_INFO "Loading initial user-level task (init_task)...\n"); + int status; if ((status = create_init_task()) != 0) panic("Failed to create init_task (status=%d).", status); -#endif schedule(); /* This should not return */ BUG(); +#endif }