[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] VM using virtio hangs at boot

From: Akihiko Ota
Subject: [Qemu-discuss] VM using virtio hangs at boot
Date: Thu, 28 Jun 2012 17:39:34 +0900 (JST)


I have an issue just like [1]. My case is not using iSCSI, but the
qemu process hangs with 100% CPU-usage until it gets an input from any
character device (e.g. -monitor, -serial).

I am using QEMU from git://git.qemu.org/qemu.git on Debian wheezy.
I can reproduce this issue as follows:

% git clone git://git.qemu.org/qemu.git
% cd qemu
% ./configure --prefix=/home/ota/qemu-reproduce --enable-kvm 
% make
% make install

% sudo /home/ota/qemu-reproduce/bin/qemu-system-x86_64 \
-enable-kvm \
-m 1024 \
-smp 1 \
-net nic,model=virtio,macaddr=00:16:3e:1d:ff:10 \
-net tap,ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown \
-nographic \
-serial stdio \
-monitor null \
-drive file=/work/ota/vmimages/debian.img,if=virtio

(the qemu-system-x86_64 process is now hanging...)

Then, if some key is inputted to -serial device, the VM begins to boot.
This issue doesn't occur if I don't specify "model=virtio" and "if=virtio".


[1] http://lists.nongnu.org/archive/html/qemu-discuss/2012-06/msg00021.html

Akihiko Ota

reply via email to

[Prev in Thread] Current Thread [Next in Thread]