Skip to content

Commit 0dd13a5

Browse files
committed
ops/qemu-kvm: Fix typo
1 parent 997f118 commit 0dd13a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/ops/virtualization/qemu-kvm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ qemu-system-x86_64 \
8888
- `-smp cores=2`: 使用 2 个 CPU 核心。
8989
- `-drive file=example.img,format=raw,if=virtio`: 使用 `example.img` 作为磁盘镜像,格式为 `raw`,使用 `virtio` 设备模型。
9090
- 可以使用 `truncate -s 2G example.img``fallocate -l 2G example.img` 创建文件。
91+
- `-cdrom ./livecd.iso`: 添加光盘设备,光盘内容为 `./livecd.iso`
9192
- `-nic user,model=virtio`: 使用用户态网络设备,使用 `virtio` 设备模型。
9293

9394
这只是创建虚拟机的一个基本示例,QEMU 提供了很多其他选项,可以让你定制网络、图形输出、设备等。

0 commit comments

Comments
 (0)