All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stéphanie Ouillon" <steph.ouillon@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] error "kvm: virtio: trying to map MMIO memory"
Date: Sun, 17 Jul 2011 20:06:11 +0200	[thread overview]
Message-ID: <4E232493.4060500@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

Hello,

I am porting virtio device drivers for DragonFly BSD for a GSoC project. [1]

I have been facing a problem for 3-4 days with my virtio network device 
driver in qemu: when I load the driver, I get the following error:
kvm: virtio: trying to map MMIO memory

And then the machine crashes immediately (I started the vm in a screen 
to see this message).

It seems to be linked with the call of a bus_space_write_2 function [2] 
inside a virtio_enqueue_commit function in virtio.c [3]. But without 
more information about this type of error message (I found some patches 
or bug reports on the net, but I am not sure they match in my case), I 
found it difficult to locate it.

Would anybody have a clue about what kind of bug would provoke this 
error in qemu ?


Thank you !


Stéphanie Ouillon


[1] http://github.com/arroway/virtio_DragonFlyBSD/tree/dev-net/net
[2] source code in DragonFly BSD 
http://fxr.watson.org/fxr/source/cpu/i386/include/bus_at386.h?v=DFBSD;im=bigexcerpts#L887
[3] at l.465: 
http://github.com/arroway/virtio_DragonFlyBSD/blob/dev-net/virtio.c


[-- Attachment #2: Type: text/html, Size: 1951 bytes --]

             reply	other threads:[~2011-07-17 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17 18:06 Stéphanie Ouillon [this message]
2011-07-18 12:16 ` [Qemu-devel] error "kvm: virtio: trying to map MMIO memory" Stefan Hajnoczi
2011-07-20  9:52   ` Stéphanie Ouillon

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=4E232493.4060500@gmail.com \
    --to=steph.ouillon@gmail.com \
    --cc=qemu-devel@nongnu.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 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.