Skip to content

Commit

Permalink
VMBus: Revert commit fc424c5
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldfish64 committed Nov 21, 2022
1 parent e700fee commit a5be58a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ MacHyperVSupport Changelog
- Created daemons for each userspace function replacing hvutil
- Added support for host to guest file copy (Guest Services integration service)
- Fixed very high storage latency when heaving network I/O is occurring
- Added support for assigning channel interrupts to multiple cores

#### v0.9.2
- Fixed crash when control key is pressed under macOS 10.4
Expand Down
1 change: 0 additions & 1 deletion Docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ Provides root of VMBus devices and services.
| Boot argument | Description |
|----------------|-------------|
| -hvvmbusdbg | Enables debug printing in DEBUG builds
| -hvvmbusnocpu | Force all channels to use CPU 0 on Windows Server 2012 / Windows 8 and newer.

## VMBus Device Nub (HyperVVMBusDevice)
Provides connection nub for child VMBus device modules.
Expand Down
5 changes: 3 additions & 2 deletions MacHyperVSupport/VMBus/HyperVVMBusChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,12 @@ IOReturn HyperVVMBus::openVMBusChannel(UInt32 channelId, UInt32 txBufferSize, VM

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

//
// Send channel open message to Hyper-V and wait for response.
Expand Down

0 comments on commit a5be58a

Please sign in to comment.