public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* FW: Notification from Qemu to Guest
@ 2009-04-28 11:54 Kumar, Venkat
  2009-04-28 12:01 ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: Kumar, Venkat @ 2009-04-28 11:54 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm@vger.kernel.org

Hi Avi - Probably you can answer this question?

Thx,

Venkat


-----Original Message-----
From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] On Behalf Of Kumar, Venkat
Sent: Tuesday, April 28, 2009 4:16 PM
To: kvm@vger.kernel.org
Subject: Notification from Qemu to Guest

I have emulated a PCI device on Qemu and hooked my sample/simple driver to that virtio device on the guest.

I am testing the notification from Guest-Qemu and vice-versa.

I am able to notify from Guest to Qemu but Qemu-Guest notification is not happening.

As a part of "Kick" routine in my guest driver I could see the notification happening from Guest-Qemu and In the Qemu process as a part of handle output for the emulated device I am simply doing  "virtio_notify(vdev, vq)" but I don't see my callback getting called which is already registered as a part of "find_vq" in guest driver's probe.

BTW, the emulated device is allocated with "GSI 11" where as for other emulated devices like "virtio-blk" is associated with GSI 10 which I found in "dmesg's". Is this a reason why interrupt is not delivered from Qemu-Guest?

Any clues?

Thx,

Venkat

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-01 17:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 11:54 FW: Notification from Qemu to Guest Kumar, Venkat
2009-04-28 12:01 ` Avi Kivity
2009-04-28 15:11   ` Anthony Liguori
2009-04-28 17:00     ` Kumar, Venkat
2009-05-01 17:35       ` Pantelis Koukousoulas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox