svn commit: r266592 - stable/10/usr.sbin/bhyve
John Baldwin
jhb at FreeBSD.org
Fri May 23 19:06:36 UTC 2014
Author: jhb
Date: Fri May 23 19:06:35 2014
New Revision: 266592
URL: http://svnweb.freebsd.org/changeset/base/266592
Log:
MFC 260469:
Fix issue with the virtio descriptor region being truncated
if it was above 4GB.
Modified:
stable/10/usr.sbin/bhyve/virtio.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.sbin/bhyve/virtio.c
==============================================================================
--- stable/10/usr.sbin/bhyve/virtio.c Fri May 23 17:47:49 2014 (r266591)
+++ stable/10/usr.sbin/bhyve/virtio.c Fri May 23 19:06:35 2014 (r266592)
@@ -160,7 +160,7 @@ vi_vq_init(struct virtio_softc *vs, uint
vq = &vs->vs_queues[vs->vs_curq];
vq->vq_pfn = pfn;
- phys = pfn << VRING_PFN;
+ phys = (uint64_t)pfn << VRING_PFN;
size = vring_size(vq->vq_qsize);
base = paddr_guest2host(vs->vs_pi->pi_vmctx, phys, size);
More information about the svn-src-stable
mailing list