]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r196185:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 13 Aug 2009 15:02:02 +0000 (15:02 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 13 Aug 2009 15:02:02 +0000 (15:02 +0000)
commit9851f2e68d1f5bac68e58e0bafd5fc60b1f7486f
tree337e8dad7f1b6d101d9672f3b3f2fa9de5038e17
parent7ccc5fea7661f17c77c8805b13caa6d13d954a86
MFC r196185:
  Rather than replicating the maths from the kernel, use the
  value the kernel calculated directly as we already read it
  with struct vnet.  This will make kvm_vnet.c more resilent
  in case of possible kernel changes.

  Reviewed by:  rwatson

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@196188 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libkvm/kvm_vnet.c