Re: FW: Notification from Qemu to Guest

2009-05-01 Thread Pantelis Koukousoulas
And as a part of handle output for kick in the qemu side I am simply calling virtio_notify static void virtio_sample_handle_output(VirtIODevice *vdev, VirtQueue *vq) {            printf(Function = %s, Line =

FW: Notification from Qemu to Guest

2009-04-28 Thread Kumar, Venkat
Hi Avi - Probably you can answer this question? Thx, Venkat -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@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

Re: FW: Notification from Qemu to Guest

2009-04-28 Thread Avi Kivity
Kumar, Venkat wrote: Hi Avi - Probably you can answer this question? I'm no virtio expert; copying someone who is. 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.

Re: FW: Notification from Qemu to Guest

2009-04-28 Thread Anthony Liguori
Avi Kivity wrote: I have emulated a PCI device on Qemu and hooked my sample/simple driver to that virtio device on the guest. This is independent of the existing virtio PCI device? As a part of Kick routine in my guest driver I could see the notification happening from Guest-Qemu and In the

RE: FW: Notification from Qemu to Guest

2009-04-28 Thread Kumar, Venkat
Hi Anthony - My questions and Comments are in line. Thx, Venkat -Original Message- From: Anthony Liguori [mailto:anth...@codemonkey.ws] Sent: Tuesday, April 28, 2009 8:41 PM To: Avi Kivity Cc: Kumar, Venkat; kvm@vger.kernel.org Subject: Re: FW: Notification from Qemu to Guest Avi