X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=kitten%2Finit%2Fmain.c;h=9b8c086ef6fb88588344c6341f7f468ea8a37505;hb=165560d91368d638b177022f883d3723d7618944;hp=709a0ab9a36ce1bc2af592f2bf6c9c8844cfee3a;hpb=c0376861301ad7abd8ded058d3445aa986f827c9;p=palacios.git diff --git a/kitten/init/main.c b/kitten/init/main.c index 709a0ab..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. @@ -119,15 +118,18 @@ start_kernel() #ifdef CONFIG_V3VEE 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); schedule(); /* This should not return */ -#endif BUG(); +#endif }