Skip to content

Commit 4921a96

Browse files
committed
HyperVStorage: Add missing completion flag to non-data commands
1 parent 5de5dcf commit 4921a96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MacHyperVSupport/Storage/HyperVStoragePrivate.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ IOReturn HyperVStorage::sendStorageCommand(HyperVStoragePacket *packet, bool che
9494
//
9595
// Send packet and get response.
9696
//
97+
packet->flags = kHyperVStoragePacketFlagRequestCompletion;
9798
IOReturn status = _hvDevice->writeInbandPacket(packet, sizeof (HyperVStoragePacket) - _packetSizeDelta, true, packet, sizeof (HyperVStoragePacket));
9899
if (status != kIOReturnSuccess) {
99100
return status;

0 commit comments

Comments
 (0)