vmnet Framework broken in Big Sur beta 6?

I am working on an emulator for some legacy hardware. I recently changed the emulator to use the vmnet framework for network access rather than the old Berkley packet filter (/dev/bpf) device.

It works just fine in macOS Catalina.

In Big Sur beta 6, the vmnet_start_interface completion handler is never invoked unless the call to start the interface failed.

I've submitted FB8648370 to report this.

Here's some sample code that demonstrates the problem. Compile it with -framework vmnet and run it with privileges via sudo. On Big Sur, it will timeout after 1 minute.



Answered by DTS Engineer in 637526022

It looks like this bug is fixed in macOS Big Sur beta 9.

That’s my expectation.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"

I've submitted FB8648370 to report this.

Thanks. It looks like this is affecting mainstream VM apps as well, hence your bug being dup’d to another bug (r. 68342981). I don’t have info to share on a fix but you should definitely continue to test with beta seeds as they are released.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
[Missed you response -- no notifications in these forums?]

The problem persists as of Beta 8.
It looks like this bug is fixed in macOS Big Sur beta 9. Can you confirm?
Accepted Answer

It looks like this bug is fixed in macOS Big Sur beta 9.

That’s my expectation.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
vmnet Framework broken in Big Sur beta 6?
 
 
Q