令KVM虚拟机在后台运行

Micheal Chen Lv6

date: 2010-03-22 22:38:49

命令:

1
qemu-kvm -hda ${IMG} -m 512 -net nic,macaddr=${MAC} -net tap -nographic -daemonize &

注意最后的&,如果缺少会干扰启动命令的telnet屏幕显示。

  • Title: 令KVM虚拟机在后台运行
  • Author: Micheal Chen
  • Created at : 2010-03-22 22:38:49
  • Updated at : 2025-03-22 21:00:48
  • Link: https://www.xhis.com/hexo/2010/03/22/notes/令KVM虚拟机在后台运行/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
令KVM虚拟机在后台运行