chettoy / apexsky

https://apex.chettoy.com
GNU General Public License v3.0
146 stars 81 forks source link

GET STUCK AT 'DEVICE: QEMU: Initializing' #116

Closed Muruan2K closed 5 months ago

Muruan2K commented 6 months ago

I'm running the newest release of apexsky_next on Ubuntu 23.04 and the KVM system is Windows 10 LTSC 1809.

I choose the hugepage way, and get all settings done. When I using the command 'sudo ./apexsky_dma --pcileech qemu://hugepage-pid=2822,qmp=/tmp/qmp.sock', it reports green information but gets stuck at 'DEVICE: QEMU: Initializing' .

It just won't change and keep displaying 'DEVICE: QEMU: Initializing' forever, I have no idea about what's going on, please help. notitle

Muruan2K commented 6 months ago

Update: After remove the parameter of "qmp=*", the program works correctly. I check the ufrisk/LeechCore wiki, it says the qmp parameter is not essential. If someone has the same problem with me, you can try to delete the qmp parameter.

pplegends commented 6 months ago

im really dumb, how to setup hugepages on kvm? i try to follow these https://github.com/ufrisk/LeechCore/wiki/Device_QEMU but my vm wont boot is there any additional steps?

Muruan2K commented 6 months ago

im really dumb, how to setup hugepages on kvm? i try to follow these https://github.com/ufrisk/LeechCore/wiki/Device_QEMU but my vm wont boot is there any additional steps?

Apparently after you switching to hugepage, there’s something wrong with the XML file, which causes boot failure. You can check the log or just use another computer to SSH and use the command “virsh start your vm’s name”, so you can know the reason why it won’t boot, and fix the problem.