# qemu-diy **Repository Path**: zmwcodediy/qemu-diy ## Basic Information - **Project Name**: qemu-diy - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-04 - **Last Updated**: 2021-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## win-qemu - win10下安装使用qemu ## 下载 [qemu-win-32/64](https://www.qemu.org/download/#windows) [ubuntu-iso](http://mirrors.163.com/ubuntu-releases/21.04/) ## 设置环境变量 - qemu到全局 ## 命令行启动 ``` //制作硬盘 qemu-img.exe create -f qcow2 test-vm-1.qcow2 10G //加载系统 qemu-system-x86_64 -m 2048 -enable-kvm test-vm-1.qcow2 -cdrom ./Centos-Desktop-x86_64-20-1.iso //再次启动 qemu-system-x86_64 -m 2048 -enable-kvm test-vm-1.qcow2 ``` ## win的硬件加速 - [文档说明](https://www.qemu.org/2017/11/22/haxm-usage-windows/) - [开启Intel VT-x](https://zhidao.baidu.com/question/750591828693778932.html) - [下载haxm](https://github.com/intel/haxm/releases/tag/v7.6.6) - 使用加速 ``` qemu-system-x86_64.exe -m 2048 test-vm-1.qcow2 -cdrom ./Centos-Desktop-x86_64-20-1.iso -accel hax ``` ## docs - [qemu内部](./docs/qemu_blog_zh/README.md) ## TOC - [Creating a new machine 创建一个机器](./docs/qemu_blog_zh/1_machine.md) - [Controlling memory regions 操作内存分区](./docs/qemu_blog_zh/2_regions.md) - [Creating a new device 创建一个新设备](./docs/qemu_blog_zh/3_devices.md) - [Interrupts controller 中断操作](./docs/qemu_blog_zh/4_interrupts.md) - [Timers 计时器](./docs/qemu_blog_zh/5_timers.md) - [PCI controller PCI操作](./docs/qemu_blog_zh/6_pci.md) - [PCI devices PCI设备](./docs/qemu_blog_zh/7_pci_slave.md) - [Options 选项](./docs/qemu_blog_zh/8_options.md) - [Execution loop 执行循环](./docs/qemu_blog_zh/9_exec.md) - [Breakpoints handling 中断处理](./docs/qemu_blog_zh/10_brk.md) - [VM running states 虚拟机运行状态](./docs/qemu_blog_zh/11_runstate.md) - TCG internals [part 1](./docs/qemu_blog_zh/12_tcg_p1.md), [part 2](./docs/qemu_blog_zh/13_tcg_p2.md) and [part 3](./docs/qemu_blog_zh/14_tcg_p3.md) - [Snapshots 快照](./docs/qemu_blog_zh/15_snapshot.md) ## Todo - web版命令行工具