mirror of
https://github.com/open-simh/simh.git
synced 2026-01-28 21:01:53 +00:00
Initial support for vmnet.framework
On macOS, tap devices for L2 networking are not supported out of the box. While a kext can be added to provide tap support, the kext experience is not very good; Apple has strongly recommended against their usage. As a replacement that's documented and recommended, Apple introduced the vmnet framework, intended for emulators and virtualization software explicitly. This API requires macOS 10.10, with bridged network support coming in macOS 10.15. This introduces basic support for vmnet.framework in SIMH. I've tested it by booting an emulated MicroVAX 3800 from an emulated InfoServer 150, where it was able to reach OpenVMS 7.3 standalone BACKUP.
This commit is contained in:
committed by
Paul Koning
parent
ad3e744951
commit
361ef76dbc
@@ -351,6 +351,11 @@ if (WITH_NETWORK)
|
||||
list(APPEND NETWORK_PKG_STATUS "NAT(SLiRP)")
|
||||
endif (WITH_SLIRP)
|
||||
|
||||
if (WITH_VMNET AND APPLE)
|
||||
target_link_libraries(simh_network INTERFACE "-framework vmnet")
|
||||
target_compile_definitions(simh_network INTERFACE HAVE_VMNET_NETWORK)
|
||||
endif(WITH_VMNET AND APPLE)
|
||||
|
||||
## Finally, set the network runtime
|
||||
if (NOT network_runtime)
|
||||
## Default to USE_SHARED... USE_NETWORK is deprecated.
|
||||
|
||||
Reference in New Issue
Block a user