All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vasile Catalin-B50542 <catalin.vasile@freescale.com>
To: Sudheer K <sudheer.kurichiyath@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	virtualization@lists.linux-foundation.org
Subject: Re: Trying to make VHOST-BLK to work
Date: Wed, 20 May 2015 13:01:58 +0300	[thread overview]
Message-ID: <555C5B96.2010407@freescale.com> (raw)
In-Reply-To: <CADM6D_oUqgwvngrY-mNm_HQrfY_qoz-zJY5RMzGaKnCRYB4J7g@mail.gmail.com>


[-- 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

      reply	other threads:[~2015-05-20 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 11:13 Trying to make VHOST-BLK to work Sudheer K
2015-05-20 10:01 ` Vasile Catalin-B50542 [this message]

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=555C5B96.2010407@freescale.com \
    --to=catalin.vasile@freescale.com \
    --cc=mst@redhat.com \
    --cc=sudheer.kurichiyath@gmail.com \
    --cc=virtualization@lists.linux-foundation.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.