From: Amit Shah <amit.shah@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
kvm@vger.kernel.org,
Virtualization List <virtualization@lists.linux-foundation.org>
Subject: Re: When I boot two virtio-rng devices, guest will hang
Date: Mon, 28 Jul 2014 14:42:13 +0530 [thread overview]
Message-ID: <20140728091213.GC3797@grmbl.mre> (raw)
In-Reply-To: <20140728084920.GF2683@z.redhat.com>
On (Mon) 28 Jul 2014 [16:49:20], Amos Kong wrote:
> On Mon, Jul 28, 2014 at 01:25:14PM +0530, Amit Shah wrote:
> > On (Mon) 28 Jul 2014 [15:32:42], Amos Kong wrote:
> > > QEMU commandline:
> > >
> > > ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm -m 2000 -drive file=/images/nolvm.qcow2 --kernel /home/devel/linux/arch/x86/boot/bzImage -append "ro root=/dev/sda1 console=ttyS0,115200" -monitor unix:/tmp/m,nowait,server -device virtio-net-pci,netdev=h0,vectors=17,mq=on,id=n0 -netdev tap,id=h0,queues=8 -device virtio-net-pci,netdev=h1,vectors=0,mq=on,id=n1 -netdev tap,id=h1,queues=8 -vnc :0 -mon chardev=qmp,mode=control,pretty=on -chardev socket,id=qmp,host=localhost,port=1234,server,nowait -serial stdio -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0,id=h0 -object rng-random,filename=/dev/urandom,id=rng1 -device virtio-rng-pci,rng=rng1,id=h1
> > >
> > > It works when I only add one virtio-rng device. Did you touch this
> > > problem?
> > >
> > > I'm using latest net-next/master (ac3d2e5a9ef2f4d8f57c50070c4883ecb7cec29f)
>
> Hi Amit,
>
> > <snip>
> > > [ 0.223503] Non-volatile memory driver v1.3
> > > [ 1.172293] tsc: Refined TSC clocksource calibration: 2893.436 MHz
> > > qemu: terminating on signal 2 <---------- (I have to cancel QEMU process by Ctrl + C)
> >
> > This looks similar to what I saw when driver asks for randomness from the host
> > before probe is completed.
> >
> > Does the following patch help?
>
> This patch was already inclued in latest net-next/master
> patch commit: e052dbf554610e2104c5a7518c4d8374bed701bb
No, it's a different one, goes on top of the commit you referenced.
Amit
next prev parent reply other threads:[~2014-07-28 9:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140728073242.GD2683@z.redhat.com>
2014-07-28 7:55 ` When I boot two virtio-rng devices, guest will hang Amit Shah
2014-07-28 8:49 ` Amos Kong
[not found] ` <20140728084920.GF2683@z.redhat.com>
2014-07-28 9:12 ` Amit Shah [this message]
2014-07-28 12:11 ` Amos Kong
2014-08-05 10:28 ` Amos Kong
2014-08-05 17:45 ` Amos Kong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140728091213.GC3797@grmbl.mre \
--to=amit.shah@redhat.com \
--cc=akong@redhat.com \
--cc=herbert@gondor.apana.org.au \
--cc=kvm@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).