[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: |
Sat, 30 Jun 2012 03:19:45 +0900 (JST) |
Hi,
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
--target-list=x86_64-softmmu
% 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".
Thanks,
[1] http://lists.nongnu.org/archive/html/qemu-discuss/2012-06/msg00021.html
P.S.
I send this mail to address@hidden yesterday, but I got
return mail with error message from address@hidden
Have you got my mail?
--
Akihiko Ota