work is actually more comprehensive, but I just took what was needed for now given our compressed time schedules. Thanks, Adam! Submitted by: glass
More correct use of __FreeBSD__ and BSD4_4 ifdefs. Fixed kvm_openfile() call based upon suggestion from Bruce Evans.