CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/01/16 01:55:40
Modified files:
usr.sbin/vmd : loadfile_elf.c virtio.c vmd.h vmm.c
Log message:
vmd(8) sometimes attempts page-crossing data copies between the host
and guest. The readpage/writepage ioctls of vmm(4) do not support this
and they return EINVAL on such attempts since recently.
Avoid page-crossing guest memory accesses by changing read_page() and
write_page() into read_mem() and write_mem() that can copy arbitrary
lengths of data between host<->guest without page-crossing accesses.
This also allows us to remove page-wise copy-loops in a few places.
ok mlarkin@