From: Mark McLoughlin <markmc@redhat.com>
To: Phil Ten <phil.info@dafweb.com>
Cc: kvm@vger.kernel.org
Subject: Re: kvm process exit on virtio error
Date: Wed, 11 Feb 2009 19:59:46 +0000 [thread overview]
Message-ID: <1234382386.14052.244.camel@blaa> (raw)
In-Reply-To: <23212937.21234352516353.JavaMail.root@ns354536.ovh.net>
Hi,
On Wed, 2009-02-11 at 12:41 +0100, Phil Ten wrote:
> Hello,
>
> My kvm processes are exiting on what I think are VIRTIO errors:
>
> Guest moved used index from 24543 to 24606
This is very strange. The code in question is:
static int virtqueue_num_heads(VirtQueue *vq, unsigned int idx)
{
uint16_t num_heads = vring_avail_idx(vq) - idx;
/* Check it isn't doing very strange things with descriptor numbers. */
if (num_heads > vq->vring.num) {
fprintf(stderr, "Guest moved used index from %u to %u",
idx, vring_avail_idx(vq));
exit(1);
...
i.e. for virtio_net, vq->vring.num == 256 and 24606 - 24543 == 63, so it
doesn't make much sense.
Does this happen under heavy network traffic? Have you tried virtio_blk?
Thanks,
Mark.
next prev parent reply other threads:[~2009-02-11 19:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 11:41 kvm process exit on virtio error Phil Ten
2009-02-11 19:59 ` Mark McLoughlin [this message]
2009-02-12 10:11 ` Phil Ten
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=1234382386.14052.244.camel@blaa \
--to=markmc@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=phil.info@dafweb.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.