[Bug 212721] FreeBSD 11.0-RC3 fails on Hyper-V 2012r2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 27 05:39:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212721

--- Comment #37 from Dexuan Cui <decui at microsoft.com> ---
(In reply to Terrence Koeman from comment #35)
(In reply to Terrence Koeman from comment #36)

Hi Terrence, are you using the latest stable/10 branch?
The patch context in stable/10 and the HEAD branch should be the same.

If it can't apply it cleanly to stable/10 somehow, you may try manually
updating the code by replacing the line in stable/10

ccb->ccb_h.status |= CAM_SEL_TIMEOUT;

with the related new block of code

if (storvsc_get_storage_type(sc->hs_dev) == DRIVER_STORVSC)
        ccb->ccb_h.status |= CAM_SEL_TIMEOUT;
else
        ccb->ccb_h.status |= CAM_DEV_NOT_THERE;
.

In stable/10, we also need to replace the
sc->hs_dev
with
sc->hs_dev->device.

Hope this can fix the compiling issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list