30 #include <asm/pgtable.h>
69 msg[
sizeof(
msg)-1] =
'\0';
104 #ifdef CONFIG_X86_PAE
106 guest_set_pmd(cpu->
lg, args->
arg1, args->
arg2);
139 static void do_async_hcalls(
struct lg_cpu *cpu)
180 do_hcall(cpu, &args);
183 if (
put_user(0xFF, &cpu->
lg->lguest_data->hcall_status[n])) {
184 kill_guest(cpu,
"Writing result for async hypercall");
213 kill_guest(cpu,
"bad guest page %p", cpu->
lg->lguest_data);
219 if (
get_user(cpu->
lg->noirq_start, &cpu->
lg->lguest_data->noirq_start)
220 ||
get_user(cpu->
lg->noirq_end, &cpu->
lg->lguest_data->noirq_end))
221 kill_guest(cpu,
"bad guest page %p", cpu->
lg->lguest_data);
276 do_async_hcalls(cpu);
284 do_hcall(cpu, cpu->
hcall);