書名: KVM Virtualization Cookbook作者名: Konstantin Ivanov本章字數: 75字更新時間: 2021-07-02 22:07:08
How to do it...
To start a KVM instance, ensure that it's running and finally terminate it, execute the following:
- Start a QEMU instance with KVM support:
root@kvm:~# qemu-system-x86_64 -name debian -vnc 146.20.141.254:0 -m 1024 -drive format=raw,index=2,file=debian.img -enable-kvm -daemonize
root@kvm:~#
- Ensure that the instance is running:
root@kvm:~# pgrep -lfa qemu
4895 qemu-system-x86_64 -name debian -vnc 146.20.141.254:0 -m 1024 -drive format=raw,index=2,file=debian.img -enable-kvm -daemonize
root@kvm:~#
- Terminate the instance:
root@kvm:~# pkill qemu
root@kvm:~#
推薦閱讀
- ServiceNow Application Development
- 移動UI設計(微課版)
- Mastering JavaScript Object-Oriented Programming
- Python計算機視覺編程
- Vue.js 3.0源碼解析(微課視頻版)
- jQuery從入門到精通 (軟件開發視頻大講堂)
- Implementing Cisco Networking Solutions
- Python程序設計案例教程
- Jupyter數據科學實戰
- AppInventor實踐教程:Android智能應用開發前傳
- RabbitMQ Essentials
- Bootstrap 4 Cookbook
- 51單片機C語言開發教程
- 用Go語言自制編譯器
- 系統分析師UML用例實戰