utmapp / UTM

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

share folder don't work on mac m1 host , windows server 2008 r2 #5095

Open ivan2375 opened 1 year ago

ivan2375 commented 1 year ago

Describe the issue
Can't find the shared folder and USB device, It's already installed "spice-guest-tools-0.164".

Configuration

Crash log

Debug log
Running: -L /Applications/UTM.app/Contents/Resources/qemu -S -spice "unix=on,addr=/Users/ivan.hsu/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/01F4D975-C18E-42FF-B755-38AAC92D2ECB.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=on" -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device e1000,mac=9A:FC:20:85:1B:EA,netdev=net0 -netdev vmnet-shared,id=net0 -device virtio-vga-gl -smp cpus=4,sockets=1,cores=4,threads=1 -machine q35,vmport=off,i8042=off -accel tcg,thread=multi,tb-size=2048 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -drive if=pflash,format=raw,unit=0,file=/Applications/UTM.app/Contents/Resources/qemu/edk2-x86_64-code.fd,readonly=on -drive "if=pflash,unit=1,file=/Volumes/ACASIS/UTM Virtual Machine/SAP ECC6.0 EHP7.utm/Data/efi_vars.fd" -m 8192 -device intel-hda -device hda-duplex -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device nec-usb-xhci,id=usb-controller-0 -device nec-usb-xhci,id=usb-controller-1 -device nec-usb-xhci,id=usb-controller-2 -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev3 -device usb-redir,chardev=usbredirchardev3,id=usbredirdev3,bus=usb-controller-1.0 -chardev spicevmc,name=usbredir,id=usbredirchardev4 -device usb-redir,chardev=usbredirchardev4,id=usbredirdev4,bus=usb-controller-1.0 -chardev spicevmc,name=usbredir,id=usbredirchardev5 -device usb-redir,chardev=usbredirchardev5,id=usbredirdev5,bus=usb-controller-1.0 -chardev spicevmc,name=usbredir,id=usbredirchardev6 -device usb-redir,chardev=usbredirchardev6,id=usbredirdev6,bus=usb-controller-2.0 -device ide-cd,bus=ide.0,drive=driveE92C03F0-73E5-4F37-82F3-EB70E33E27C1,bootindex=0 -drive "if=none,media=cdrom,id=driveE92C03F0-73E5-4F37-82F3-EB70E33E27C1,file=/Volumes/Extreme SSD/SAP-Source.iso,readonly=on" -device ide-hd,bus=ide.1,drive=drive7DDB1F8A-1EFA-4E0F-97FE-197422A21A49,bootindex=1 -drive "if=none,media=disk,id=drive7DDB1F8A-1EFA-4E0F-97FE-197422A21A49,file=/Volumes/ACASIS/UTM Virtual Machine/SAP ECC6.0 EHP7.utm/Data/7DDB1F8A-1EFA-4E0F-97FE-197422A21A49.qcow2,discard=unmap,detect-zeroes=unmap" -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -name "SAP ECC6.0 EHP7" -uuid 01F4D975-C18E-42FF-B755-38AAC92D2ECB -rtc base=localtime -device virtio-rng-pci -device virtio-balloon-pci qemu-x86_64-softmmu: -accel tcg,thread=multi,tb-size=2048: warning: Guest expects a stronger memory ordering than the host provides This may cause strange/hard to debug errors qemu-x86_64-softmmu: warning: global PIIX4_PM.disable_s3=1 not used qemu-x86_64-softmmu: warning: Spice: playback:0 (0x1360a1930): setsockopt failed, Operation not supported on socket qemu-x86_64-softmmu: warning: Spice: record:0 (0x1360a19d0): setsockopt failed, Operation not supported on socket Upload VM

Techbrunch commented 1 year ago

At the end of you log I see a warning:

warning: Guest expects a stronger memory ordering than the host provides

Maybe start here.