utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.6k stars 1.33k forks source link

Can't use Shared or Bridged Network Mode with macOS Internet Sharing turned on #3636

Open Glydric opened 2 years ago

Glydric commented 2 years ago

Describe the issue if you try to open a vm with network and you have the internet sharing turned on in System Preferences > Sharing, you will get an error

Configuration

Crash log Device 'vmnet-macos' could not be initialized

Glydric commented 2 years ago

I think is a qemu problem, but it can be useful have a warning if utm find that

ktprograms commented 2 years ago

@osy This is interesting. Do you know if Internet Sharing use vmnet.framework internally?

osy commented 2 years ago

No but both use the same underlying technology. I believe this is a known issue that only Apple can fix.

ktprograms commented 2 years ago

On Fri Feb 18, 2022 at 10:44 AM +08, osy wrote:

No but both use the same underlying technology. I believe this is a known issue that only Apple can fix.

I see. Thanks.

aisobe commented 2 years ago

I can not display my shared directory after the 1st reboot. Is this the issue here?

conath commented 2 years ago

@aisobe No, you likely need to install the guest tools.

aisobe commented 2 years ago

@conath I did that, the shared folder Z drive in Win11 Arm Preview is gone after several reboots. Why?

conath commented 2 years ago

@aisobe I don’t know, it’s definitely not related to this issue (you would get an error when starting the VM). Please create a separate issue, thanks.