VM: don't send arbitrary status values to kernel
This commit is contained in:
parent
4d4cb8fa24
commit
bdb85248d4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue