cmd="qemu-system-riscv64 \ -bios "fw_dynamic_oe_2403_penglai.bin" \ -machine virt,pflash0=pflash0,pflash1=pflash1,acpi=off -nographic \ -display cocoa,show-cursor=on \ -smp "4" -m "8"G \ -cpu rv64 \ -object memory-backend-ram,size=4G,id=ram1 \ -numa node,memdev=ram1 \ -object memory-backend-ram,size=4G,id=ram2 \ -numa node,memdev=ram2 \ -blockdev node-name=pflash0,driver=file,read-only=on,filename="RISCV_VIRT_CODE.fd" \ -blockdev node-name=pflash1,driver=file,filename="RISCV_VIRT_VARS.fd" \ -drive file="oerv.qcow2",format=qcow2,id=hd0,if=none \ -object rng-random,filename=/dev/urandom,id=rng0 \ -device virtio-vga \ -device virtio-rng-device,rng=rng0 \ -device virtio-blk-device,drive=hd0,bootindex=1 \ -device virtio-net-device,netdev=usernet \ -netdev user,id=usernet,hostfwd=tcp::"12055"-:22 \ -audiodev coreaudio,id=snd0 \ -device qemu-xhci -usb -device usb-kbd -device usb-tablet -device usb-audio,audiodev=snd0 \ -drive file="openEuler-24.03-LTS-everything-riscv64-dvd.iso",if=none,id=test_CD_drv,format=raw,media=cdrom \ -device virtio-blk-device,drive=test_CD_drv,bootindex=2" \ eval $cmd