VM: don't send arbitrary status values to kernel

This commit is contained in:
David van Moolenbroek 2009-11-22 13:06:18 +00:00
parent 4d4cb8fa24
commit bdb85248d4

View file

@ -218,4 +218,6 @@ int handle_memory(struct vmproc *vmp, vir_bytes mem, vir_bytes len, int wrflag)
arch_map2vir(vmp, mem), arch_map2vir(vmp, mem+len),
vmp->vm_endpoint);
}
return r;
}