From 08838d2d7d59ed41781b7ff6b752b120edceb52c Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 13 Dec 2019 23:22:57 +0100 Subject: [PATCH] Sound virtualization enhancement --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e9dd94a..0d11f9b 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ # along with OS/K. If not, see . # #=----------------------------------------------------------------------------=# -.PHONY: all test test32 debug gdb installonimage dust clean OS/K run +.PHONY: all test testnokvm testnosnd test32 debug gdb installonimage dust clean OS/K run .DELETE_ON_ERROR: $(BINDIR)/kaleid .DEFAULT_GOAL := all @@ -270,18 +270,22 @@ all : @make OS/K -j 8 ## QEMU/DEBUG RELATED -testkvm: all installonimage - @qemu-system-x86_64 -vga std -enable-kvm -soundhw pcspk -s \ +test: all installonimage + @qemu-system-x86_64 -vga std -enable-kvm -soundhw pcspk -cpu host -s \ -rtc base=localtime -m $(ram) -hda $(installdisk) \ -d cpu_reset,guest_errors,pcall,int 2> $(BUILDDIR)/qemu.log & run: test -test: all installonimage +testnokvm: all installonimage @qemu-system-x86_64 -vga std -cpu $(cpu) -soundhw pcspk -s \ -rtc base=localtime -m $(ram) -hda $(installdisk) \ -d cpu_reset,guest_errors,pcall,int 2> $(BUILDDIR)/qemu.log & +testnosnd: all installonimage + @qemu-system-x86_64 -vga std -enable-kvm -cpu host -s \ + -rtc base=localtime -m $(ram) -hda $(installdisk) \ + -d cpu_reset,guest_errors,pcall,int 2> $(BUILDDIR)/qemu.log & test32: all installonimage @qemu-system-i386 -m $(ram) -hda $(installdisk) -d \