- KVM Virtualization Cookbook
- Konstantin Ivanov
- 133字
- 2021-07-02 22:07:08
How it works...
To start a QEMU/KVM virtual machine, all we had to do differently from what we performed in the Installing and configuring QEMU recipe is pass the -enable-kvm flag to the qemu-system-x86_64 command.
In step 1, we specified a name for the VM with the -name flag, provided the IP address of our physical host to the -vnc flag, enabling VNC access for the virtual instance, allocated 1 GB of memory with the -m flag, specified the partition where the bootloader is located with the index=2 parameter, the image format, and name, and finally we enabled KVM hardware acceleration with the -enable-kvm parameter and deamonized the process with the -daemonize flag.
In step 2, we ensured that the instance is running and we terminated it in step 3.
推薦閱讀
- Unreal Engine Physics Essentials
- 密碼學(xué)原理與Java實現(xiàn)
- 算法零基礎(chǔ)一本通(Python版)
- 軟件界面交互設(shè)計基礎(chǔ)
- Mastering Selenium WebDriver
- Cocos2d-x游戲開發(fā):手把手教你Lua語言的編程方法
- 零基礎(chǔ)學(xué)Java(第4版)
- Julia Cookbook
- Mastering Apache Maven 3
- Spring Boot+MVC實戰(zhàn)指南
- OpenCV with Python By Example
- JSP程序設(shè)計與案例實戰(zhàn)(慕課版)
- MySQL數(shù)據(jù)庫應(yīng)用實戰(zhàn)教程(慕課版)
- 嵌入式C編程實戰(zhàn)
- Node.js 6.x Blueprints