2017-02-16 88 views
2

在氧化还原-OS上,我必须运行make qemu来运行氧化还原-OS。 但我需要运行它没有图形支持,make qemu -nographicmake qemu -curses不支持。如何在没有图形支持的情况下强制构建?

nasm -f bin -o build/harddrive.bin -D ARCH_x86_64 -ibootloader/x86_64/ bootloader/x86_64/harddrive.asm 
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 1024 -machine q35 -net nic,model=e1000 -net user -net dump,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -drive file=build/harddrive.bin,format=raw 
Unable to init server: Could not connect: Connection refused 
gtk initialization failed 
make: *** [mk/qemu.mk:32: qemu] Error 1 

回答

4

使用QEMU不使用KVM(内核虚拟机),也没有图形启动

make qemu kvm=no vga=no

就在Redox-os加入由我

相关问题