qemu安装异架构操作系统
apt-get install -y qemu-system-arm qemu-efi virt-manager
qemu-system-aarch64 --version
创建
qemu-img create das-os.img 20G
安装
qemu-system-aarch64 -m 2048 -cpu cortex-a57 -smp 2 -M virt -bios QEMU_EFI.fd -nographic -drive if=none,file=dasos-e2.1.0-beta-arm64.iso,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom -drive if=none,file=das-os.img,id=hd0 -device virtio-blk-device,drive=hd0
启动
qemu-system-aarch64 -m 2048 -cpu cortex-a57 -smp 2 -M virt -bios QEMU_EFI.fd -nographic -device virtio-scsi-device -drive if=none,file=das-os.img,format=raw,index=0,id=hd0 -device virtio-blk-device,drive=hd0
创建快照
qemu-img create -f qcow2 -b /home/jule/das-os.img /home/jule/snapshot-os.qcow2