From: Vikram Ambrose <vambrose@gmx.com>
To: kvm@vger.kernel.org
Subject: pci-passthrough logging
Date: Fri, 19 Feb 2010 18:58:49 -0500 [thread overview]
Message-ID: <4B7F25B9.3010000@gmx.com> (raw)
Hello,
I'm new to kvm and I'm trying to log pci config and mmio read/writes for
a particular pci (pci-e to be precise) device that I've passthrough to
qemu-kvm (dma=none).
I put a printk into kvm_iodevice_read/write() in linux/virt/kvm/iodev.h
but the log seems to get corrupted when the action picks up.
I looked at qemu-kvm/hw/pci_host.c and found
pci_host_data_write/read_mmio[]. But I don't know where those are
implemented, nor exactly what they do for that matter.
I appologise for the n00b nature of my problem, but there isnt any
documentation on the pci-passthrough architecture in
linux/Documentation/kvm or in qemu-kvm.
Does anyone know where/how to log pci-passthrough accesses?
thanks,
Vik.
PS: This is a "one off" question, so I'm not subscribed to the list,
please make sure my email addresses is in the reply fields.
next reply other threads:[~2010-02-20 0:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 23:58 Vikram Ambrose [this message]
2010-02-21 9:47 ` pci-passthrough logging Avi Kivity
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=4B7F25B9.3010000@gmx.com \
--to=vambrose@gmx.com \
--cc=kvm@vger.kernel.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.