virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Trying to make VHOST-BLK to work
@ 2015-05-19 11:13 Sudheer K
  2015-05-20 10:01 ` Vasile Catalin-B50542
  0 siblings, 1 reply; 2+ messages in thread
From: Sudheer K @ 2015-05-19 11:13 UTC (permalink / raw)
  To: virtualization, Michael S. Tsirkin


[-- Attachment #1.1: Type: text/plain, Size: 630 bytes --]

Hi Kernel KVM folks and Michael,

I am trying to make VHOST-BLK to work by myself since I did not hear from
Asias on my personal mail to him. I will be grateful to you for your time
and response.

The problem I am seeing is there is no response seen by the VM through the
HOST has executed the IO successfully and issued
vhost_add_used_and_signal.  Here is my question. Which code in QEMU issues
virtio_notify() when the VHOST completes the IO in kernel?

I have some related questions. Could I connect a iscsi LUN to a VM via
vhost-scsi? Could you please point me to some documents if there are any?

Thanks and Regards

Sudheer

[-- Attachment #1.2: Type: text/html, Size: 712 bytes --]

[-- Attachment #2: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

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

* Re: Trying to make VHOST-BLK to work
  2015-05-19 11:13 Trying to make VHOST-BLK to work Sudheer K
@ 2015-05-20 10:01 ` Vasile Catalin-B50542
  0 siblings, 0 replies; 2+ messages in thread
From: Vasile Catalin-B50542 @ 2015-05-20 10:01 UTC (permalink / raw)
  To: Sudheer K; +Cc: Michael S. Tsirkin, virtualization


[-- Attachment #1.1: Type: text/plain, Size: 1918 bytes --]

There is no code in >>QEMU<< that actually triggers notifications to the 
guest when using vhost.
When you are using vhost, interrupts are triggered directly to the guest.
The interrupt lines are mapped as a shared memory, that don't pass 
through QEMU, if they don't have to.
Indeed, there is an initial setup in QEMU that makes this configuration.

Note:
The things that I am saying are somewhat deductions from what I've 
studied from the code myself and some answers
from qemu-devel (so I cannot assure you on the correctness of this 
answer), as the kvm and virtualization community themselves
aren't very active.

On 19.05.2015 14:13, Sudheer K wrote:
> Hi Kernel KVM folks and Michael,
>
> I am trying to make VHOST-BLK to work by myself since I did not hear 
> from Asias on my personal mail to him. I will be grateful to you for 
> your time and response.
>
> The problem I am seeing is there is no response seen by the VM through 
> the HOST has executed the IO successfully and issued 
> vhost_add_used_and_signal.  Here is my question. Which code in QEMU 
> issues virtio_notify() when the VHOST completes the IO in kernel?
>
> I have some related questions. Could I connect a iscsi LUN to a VM via 
> vhost-scsi? Could you please point me to some documents if there are any?
>
> Thanks and Regards
>
> Sudheer
>
>
> _______________________________________________
> Virtualization mailing list
> Virtualization@lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/virtualization

-- 

CatalinVasile

Intern, DN-Software

FreescaleSemiconductor, Inc.

www.freescale.com

phone: 073-021-1938

e-mail: catalin.vasile@freescale.com <mailto:your.name@freescale.com>

*Freescale_Logo-nosemi_Lh_4c***

This e-mail, and any associated attachments have been classified as:

[ ] Public

[ ] Freescale Semiconductor Internal Use Only

[ ] Freescale Semiconductor Confidential Proprietary


[-- Attachment #1.2.1: Type: text/html, Size: 31348 bytes --]

[-- Attachment #1.2.2: image002.gif --]
[-- Type: image/gif, Size: 1979 bytes --]

[-- Attachment #2: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

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

end of thread, other threads:[~2015-05-20 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19 11:13 Trying to make VHOST-BLK to work Sudheer K
2015-05-20 10:01 ` Vasile Catalin-B50542

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).