发布于 2015-08-06 23:58:28 | 169 次阅读 | 评论: 0 | 来源: 网友投递
QEMU 开源模拟器
QEMU是一套由Fabrice Bellard所编写的模拟处理器的自由软件。它与Bochs,PearPC近似,但其具有某些后两者所不具备的特性,如高速度及跨平台的特性。经由kqemu这个闭源的加速器,QEMU能模拟至接近真实电脑的速度。
QEMU 2.4.0-rc4 发布,更新内容:
非兼容改进:
The handling of the floppy device controller is different between <2.4 and >=2.4 machine types that use the Q35 chipset (e.g. "-M pc-q35-2.3" vs. "-M pc-q35-2.4").
The ARM 'virt' board default interface type has changed from IDE to virtio.
未来非兼容改进:
Three options are using different names on the command line and in configuration file. In particular:
The "acpi" configuration file section matches command-line option "acpitable";
The "boot-opts" configuration file section matches command-line option "boot";
The "smp-opts" configuration file section matches command-line option "smp".
-readconfig will standardize on the name for the command line option.
Behavior of automatic calculation of SMP topology when some SMP topology options for -smp are omitted (sockets, cores, threads) will change in the future. If guest ABI needs to be preserved on upgrades while using the SMP topology options, users should either set set all options explicitly (sockets, cores, threads), or omit all of them.
Image encryption is fatally flawed, and will be dropped entirely. It'll remain available only in qemu-img, so you can use 'qemu-img convert' to convert encrypted images to uncrypted ones.
Host floppy device pass-through (block driver "host_floppy") is deprecated, and will be dropped in a future release.
Block device parameter aio=native has no effect without cache.direct=on. It will be made an error.
A few devices will be configured with explicit properties instead of implicitly. Unlikely to affect users; for the full list, see the 2.3 ChangeLog.
QMP command blockdev-add is still a work in progress. It doesn't support all block drivers, it lacks a matching blockdev-del, and more. It might change incompatibly.
The configure option --disable-guest-base is unneeded and will be removed in a future release.
更多改进内容请看发行说明。
下载:http://wiki.qemu-project.org/download/qemu-2.4.0-rc4.tar.bz2
源码:
git clone git://git.qemu-project.org/qemu.git
QEMU是一套由Fabrice Bellard所编写的模拟处理器的自由软件。它与Bochs,PearPC近似,但其具有某些后两者所不具备的特性,如高速度及跨平台的特性。经由kqemu这个开源的加速器,QEMU能模拟至接近真实电脑的速度。QEMU有两种主要运作模倾:
User mode模拟模式,亦即是使用者模式。QEMU 能启动那些为不同中央处理器编译的Linux程序。而Wine及 Dosemu是其主要目标。
System mode模拟模式,亦即是系统模式。QEMU能模拟整个电脑系统,包括中央处理器及其他周边设备。它使得为系统源代码进行测试及除错工作变得容易。其亦能用来在一部主机上虚拟数部不同虚拟电脑。
QEMU的主体部份是在LGPL下发布的,而其系统模式模拟与kqemu加速器则是在GPL下发布。使用kqemu可使QEMU能模拟至接近实机速度,但其在虚拟的操作系统是Microsoft Windows 98或以下的情况下是无用的。
优点:
可以模拟 IA-32 (x86)个人电脑,AMD64个人电脑, MIPS R4000, 升阳的 SPARC sun3 与 PowerPC (PReP 及 Power Macintosh)架构
支持其他架构,不论在主机或虚拟系统上(请参看QEMU主页以获取完整的清单)
增加了模拟速度,某些程式甚至可以实时运行
可以在其他平台上运行Linux的程式
可以储存及还原运行状态(如运行中的程式)
可以虚拟网络卡
可模拟多CPU