Skip to content

Commit a5be58a

Browse files
committed
VMBus: Revert commit fc424c5
1 parent e700fee commit a5be58a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Changelog.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ MacHyperVSupport Changelog
44
- Created daemons for each userspace function replacing hvutil
55
- Added support for host to guest file copy (Guest Services integration service)
66
- Fixed very high storage latency when heaving network I/O is occurring
7-
- Added support for assigning channel interrupts to multiple cores
87

98
#### v0.9.2
109
- Fixed crash when control key is pressed under macOS 10.4

Docs/modules.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ Provides root of VMBus devices and services.
131131
| Boot argument | Description |
132132
|----------------|-------------|
133133
| -hvvmbusdbg | Enables debug printing in DEBUG builds
134-
| -hvvmbusnocpu | Force all channels to use CPU 0 on Windows Server 2012 / Windows 8 and newer.
135134

136135
## VMBus Device Nub (HyperVVMBusDevice)
137136
Provides connection nub for child VMBus device modules.

MacHyperVSupport/VMBus/HyperVVMBusChannel.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,12 @@ IOReturn HyperVVMBus::openVMBusChannel(UInt32 channelId, UInt32 txBufferSize, VM
9999

100100
//
101101
// Windows Server 2012 / Windows 8, and newer, support specific CPUs for interrupts.
102+
// TODO: Does not work on newer versions like Monterey, interrupts on other CPUs never arrive.
102103
//
103-
if (_vmbusVersion >= kVMBusVersionWIN8 && !checkKernelArgument("-hvvmbusnocpu")) {
104+
/*if (_vmbusVersion >= kVMBusVersionWIN8 && !checkKernelArgument("-hvvmbusnocpu")) {
104105
openMsg.targetCpu = channelId % real_ncpus;
105-
HVDBGLOG("Channel target CPU: %u", openMsg.targetCpu);
106106
}
107+
HVDBGLOG("Channel %u target CPU: %u", channelId, openMsg.targetCpu);*/
107108

108109
//
109110
// Send channel open message to Hyper-V and wait for response.

0 commit comments

Comments
 (0)