WSL2에서 에뮬레이션을 위해 qemu/kvm을 사용하는 경우 Mac OS X가 부팅되지 않습니다.

WSL2에서 에뮬레이션을 위해 qemu/kvm을 사용하는 경우 Mac OS X가 부팅되지 않습니다.

Windows 10 64비트에서 실행되는 WSL2 하위 시스템에서 KVM 지원을 활성화했으며 Mac OS X를 부팅하려고 합니다. 불행히도 다음 오류로 인해 작동하지 않습니다.

root@DESKTOP-N9UN2H3:/mnt/i/macos-haxm# qemu-system-x86_64 -monitor stdio -no-reboot -machine q35 -m 16G -usb -device usb-kbd -device usb-tablet -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -drive if=pflash,format=raw,readonly,file=/mnt/i/macos-haxm/OVMF_CODE.fd -drive if=pflash,format=raw,file=/mnt/i/MacOS-Haxm/OVMF_VARS-1024x768.fd -smbios type=2 -device ich9-intel-hda -device hda-duplex -device ide-drive,bus=ide.2,drive=Clover -drive id=Clover,if=none,snapshot=on,format=qcow2,file=/mnt/i/MacOS-Haxm/Clover.qcow2 -device ide-drive,bus=ide.1,drive=LinuxHDD -drive id=LinuxHDD,if=none,file=/mnt/i/MacOS-Haxm/images/hdd_catalina.img,format=qcow2 -device ide-drive,bus=ide.0,drive=LinuxDVD -drive id=LinuxDVD,if=none,snapshot=on,media=cdrom,file=/mnt/i/MacOS-Haxm/images/apple/highsierra.iso -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -accel kvm
QEMU 4.2.0 monitor - type 'help' for more information
(qemu) qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `dac'
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize ADC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize ADC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `adc'
qemu-system-x86_64: -device ide-drive,bus=ide.2,drive=Clover: warning: 'ide-drive' is deprecated, please use 'ide-hd' or 'ide-cd' instead
qemu-system-x86_64: -device ide-drive,bus=ide.1,drive=LinuxHDD: warning: 'ide-drive' is deprecated, please use 'ide-hd' or 'ide-cd' instead
qemu-system-x86_64: -device ide-drive,bus=ide.0,drive=LinuxDVD: warning: 'ide-drive' is deprecated, please use 'ide-hd' or 'ide-cd' instead

**(qemu) qemu-system-x86_64 : warning : host does not support requested feature : CPUID.80000001H:ECX.svm [bit 2].**

이 문제를 해결할 방법이 있나요? 아래 사진을 확인해 주세요. 감사합니다.

사과

답변1

macOS는 Apple 하드웨어에서만 실행되도록 설계되었으므로 특정 하드웨어만 지원합니다. 에뮬레이트된 하드웨어는 지원되지 않을 수 있습니다.

가지다프로젝트가상 머신에서 macOS를 실행할 수 있지만 macOS는 Apple 하드웨어에서만 실행할 수 있는 라이선스가 부여되어 있으므로 해당 관할권에서는 합법적일 수도 있고 그렇지 않을 수도 있습니다.

관련 정보