foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.61k stars 1.14k forks source link

centos7.9 qemu-kvm 1.5.3 Can run this project #551

Open wuyoukm opened 2 years ago

wuyoukm commented 2 years ago

centos7.9 uname -a

Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

qemu-kvm version

QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-175.el7_9.5), Copyright (c) 2003-2008 Fabrice Bellard
You have new mail in /var/spool/mail/root

The configuration file will report an error and will not run

notAperson535 commented 2 years ago

@wuyoukm this happens because the qemu window has nowhere to output to. Try running this sudo HEADLESS=1 ./headless.sh and your qemu window will be outputted to vnc port 5900

wuyoukm commented 2 years ago

@wuyoukm发生这种情况是因为 qemu 窗口无处可输出。尝试运行它sudo HEADLESS=1 ./headless.sh,您的 qemu 窗口将输出到 vnc 端口 5900

That's not the question,I used virsh to run the XML configuration file and add VNC to the configuration file, but it didn't work

wuyoukm commented 2 years ago

@wuyoukm this happens because the qemu window has nowhere to output to. Try running this sudo HEADLESS=1 ./headless.sh and your qemu window will be outputted to vnc port 5900

Can you run on Centos7?

notAperson535 commented 2 years ago

@wuyoukm I would think it would run on centos, just make sure KVM is enabled. I would also run cat /var/spool/mail/root and looking in there for the error.

wuyoukm commented 2 years ago

@wuyoukm I would think it would run on centos, just make sure KVM is enabled. I would also run cat /var/spool/mail/root and looking in there for the error.

I have KVM enabled on my machine, but it doesn't work. I only have /usr/libexec/qemu-KVM and virsh so far, I can't run this project

notAperson535 commented 2 years ago

@wuyoukm run the cat /var/spool/mail/root and tell me what is in there. Also search up installing qemu-kvm on centos

notAperson535 commented 2 years ago

@wuyoukm I found this video https://www.youtube.com/watch?v=auxLFEMsYZk