Akihiko Odaki
3bf445fbb1
net/vmnet: Drop ifdef for macOS versions older than 12.0
...
macOS versions older than 12.0 are no longer supported.
docs/about/build-platforms.rst says:
> Support for the previous major version will be dropped 2 years after
> the new major version is released or when the vendor itself drops
> support, whichever comes first.
macOS 12.0 was released 2021:
https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Message-ID: <20240629-macos-v1-4-6e70a6b700a0@daynix.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org >
2024-07-02 06:58:48 +02:00
Joelle van Dyne
993f71ee33
vmnet: stop recieving events when VM is stopped
...
When the VM is stopped using the HMP command "stop", soon the handler will
stop reading from the vmnet interface. This causes a flood of
`VMNET_INTERFACE_PACKETS_AVAILABLE` events to arrive and puts the host CPU
at 100%. We fix this by removing the event handler from vmnet when the VM
is no longer in a running state and restore it when we return to a running
state.
Signed-off-by: Joelle van Dyne <j@getutm.app >
Signed-off-by: Jason Wang <jasowang@redhat.com >
2023-02-17 13:31:33 +08:00
Vladislav Yaroshchuk
73f99db534
net/vmnet: implement shared mode (vmnet-shared)
...
Interaction with vmnet.framework in different modes
differs only on configuration stage, so we can create
common `send`, `receive`, etc. procedures and reuse them.
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com >
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com >
Signed-off-by: Phillip Tennen <phillip@axleos.com >
Signed-off-by: Vladislav Yaroshchuk <Vladislav.Yaroshchuk@jetbrains.com >
Signed-off-by: Jason Wang <jasowang@redhat.com >
2022-05-17 16:48:23 +08:00
Vladislav Yaroshchuk
81ad2964e9
net/vmnet: add vmnet backends to qapi/net
...
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com >
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com >
Acked-by: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Vladislav Yaroshchuk <Vladislav.Yaroshchuk@jetbrains.com >
Signed-off-by: Jason Wang <jasowang@redhat.com >
2022-05-17 16:48:23 +08:00