> From: Mike Belopuhov <m...@belopuhov.com> > Date: Tue, 01 Oct 2019 00:25:35 +0200 > Content-Type: text/plain > > Hi, > > I've got a verbal report that Hyper-V guest services aren't attached > on modern Windows 10 systems so I believe we should get this one-liner > in before 6.6. > > FreeBSD revision 349856 adds another define for VMBus 5.0 but AFAICT > it doesn't attempt to use it in version negotiations. > > Unfortunately, I can't test this myself at the moment.
If this works, I see no reason not to commit it. Cheers, Mark > diff --git sys/dev/pv/hyperv.c sys/dev/pv/hyperv.c > index a75276335d6..3ab2ae22831 100644 > --- sys/dev/pv/hyperv.c > +++ sys/dev/pv/hyperv.c > @@ -803,10 +803,11 @@ hv_channel_delivered(struct hv_softc *sc, struct > vmbus_chanmsg_hdr *hdr) > > int > hv_vmbus_connect(struct hv_softc *sc) > { > const uint32_t versions[] = { > + VMBUS_VERSION_WIN10, > VMBUS_VERSION_WIN8_1, VMBUS_VERSION_WIN8, > VMBUS_VERSION_WIN7, VMBUS_VERSION_WS2008 > }; > struct vmbus_chanmsg_connect cmd; > struct vmbus_chanmsg_connect_resp rsp; > >