q@q:/work$ qemu-system-x86_64 windows.img -m 1g
WARNING: Image format was not specified for 'windows.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
qemu-system-x86_64: /build/qemu-P2JpCq/qemu-4.0+dfsg/tcg/tcg.c:3952:tcg_gen_code: 假设 ‘s->gen_insn_end_off[num_insns] == off’ 失败。
已放弃 (核心已转储)
q@q:/work$
qemu中出现恢复界面,需要修复之类的无法正常启动的提示。
q@q:/work$ qemu-system-x86_64 windows.img -m 1g -enable-kvm
WARNING: Image format was not specified for 'windows.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
使能kvm后解决。