fix: compatibility
This commit is contained in:
parent
c52f7cb59a
commit
87faf323ef
5
run.sh
Normal file → Executable file
5
run.sh
Normal file → Executable file
@ -4,7 +4,7 @@ SOURCE=${BASH_SOURCE[0]}
|
|||||||
W=$(dirname "$(readlink -f "$SOURCE")")
|
W=$(dirname "$(readlink -f "$SOURCE")")
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source "/home/dany/sdk/diya-qemu/environment-setup-core2-64-poky-linux"
|
source "/media/work/sdk/diya-emu/environment-setup-core2-64-poky-linux"
|
||||||
|
|
||||||
# runqemu "$W/core-image-base-qemux86-64.rootfs.qemuboot.conf" -d kvm sdl gl-es
|
# runqemu "$W/core-image-base-qemux86-64.rootfs.qemuboot.conf" -d kvm sdl gl-es
|
||||||
|
|
||||||
@ -27,8 +27,9 @@ qemu-system-x86_64 \
|
|||||||
-drive file=$W/core-image-base-qemux86-64.rootfs.ext4,if=virtio,format=raw \
|
-drive file=$W/core-image-base-qemux86-64.rootfs.ext4,if=virtio,format=raw \
|
||||||
-usb -device usb-tablet -usb -device usb-kbd -cpu IvyBridge \
|
-usb -device usb-tablet -usb -device usb-kbd -cpu IvyBridge \
|
||||||
-machine q35,i8042=off -smp 4 -enable-kvm -m 256 -serial mon:vc -serial null \
|
-machine q35,i8042=off -smp 4 -enable-kvm -m 256 -serial mon:vc -serial null \
|
||||||
-device virtio-vga-gl -display sdl,gl=on,show-cursor=on \
|
-device virtio-vga-gl -display sdl,gl=es,show-cursor=on \
|
||||||
-kernel $W/bzImage \
|
-kernel $W/bzImage \
|
||||||
|
-cpu host \
|
||||||
-append 'root=/dev/vda rw ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 swiotlb=0 '
|
-append 'root=/dev/vda rw ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 swiotlb=0 '
|
||||||
|
|
||||||
echo "Cleanup $tapid"
|
echo "Cleanup $tapid"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user