All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-ppc-devel] PCI interrupts
@ 2008-03-03  5:56 Hollis Blanchard
  0 siblings, 0 replies; only message in thread
From: Hollis Blanchard @ 2008-03-03  5:56 UTC (permalink / raw)
  To: kvm-ppc

Despite the fact that we seem to have UART interrupts going missing, I
tried playing with attaching a qemu PCI device (rtl8139) to a KVM 440
guest to see what would happen. First though I had to fix some poorly
considered endian-handling qemu code, but after that "ip=dhcp" kernel
parameter still doesn't work (ifup succeeds; DHCP fails).

Debugging reveals that slirp (qemu's "user networking") does in fact see
the DHCP request, and the rtl8139 code does in fact see the reply, but
somehow qemu and the guest seem to disagree about which IRQ to expect
the interrupt on. Hacking it so that they agree doesn't seem to fix the
problem either, so right now I'm digging in to qemu's UIC emulation to
see if there's an issue there. Right now I'm not certain if the guest is
properly setting polarity (UIC0_PR), but more investigation is needed.

Anyways, as an alternative for now, we may be able to get VirtIO working
if we add a polling mode. It might be as easy as setting up a timer in
virtio_pci.c that calls vp_interrupt() directly...

-- 
Hollis Blanchard
IBM Linux Technology Center


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-03  5:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-03  5:56 [kvm-ppc-devel] PCI interrupts Hollis Blanchard

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.