Storage Performance Development Kit (SPDK)
 help / color / mirror / Atom feed
From: Harris, James R <james.r.harris at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] vhost target run in another vm
Date: Tue, 13 Mar 2018 17:40:48 +0000	[thread overview]
Message-ID: <F1900D76-AAA4-4BCD-8CCE-C76D779B629E@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4252 bytes --]

Hi Frank,

SPDK cannot run in this mode yet but it’s highly desirable.  We have a couple of folks here at Intel that are digging into this further to scope the effort needed.

-Jim


From: SPDK <spdk-bounces(a)lists.01.org> on behalf of Huang Frank <kinzent(a)hotmail.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Sunday, March 11, 2018 at 7:05 PM
To: spdk <spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm

Hi, Jim

Thanks.
That's same as what I wanted. The demo is for dpdk, does the vhost of spdk can run in this way too?

________________________________
kinzent(a)hotmail.com

From: Harris, James R<mailto:james.r.harris(a)intel.com>
Date: 2018-03-10 01:24
To: Storage Performance Development Kit<mailto:spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm
Hi Frank,

Do you mean something like is described here?

https://wiki.qemu.org/Features/VirtioVhostUser

-Jim


From: SPDK <spdk-bounces(a)lists.01.org> on behalf of "Wodkowski, PawelX" <pawelx.wodkowski(a)intel.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Friday, March 9, 2018 at 2:55 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm

I think inter VM communication is outside of SPDK vhost area (pls correct me if I’m wrong here). We are providing storage virtio-scsi and virtio-blk devices (the green “Storage I/O” arrow). You can abuse  SPDK vhost to simulate inter-VM communication by sharing the same bdev but currently the SCSI subsystem don’t support SCSI RESERVATION so this don’t make sense right now. I think using (DPDK) virtio-net to do inter-VM communication is what you want.

Pawel

From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Huang Frank
Sent: Friday, March 9, 2018 2:45 AM
To: spdk <spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm

Hi, Pawel
you can see the architecture of nutanix. http://nutanixbible.com/imagesv2/converged_platform.png
There is a communication between user vm and control vm , that's what I talk.

________________________________
kinzent(a)hotmail.com

From: Wodkowski, PawelX<mailto:pawelx.wodkowski(a)intel.com>
Date: 2018-03-08 23:30
To: Storage Performance Development Kit<mailto:spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm
I'm not sure if I have good understand of what you want to achieve. Can you describe your usecase?
You can use nvmf target to expose resource for multiple vhost targets. Maybe you need SPDK virtio initiator http://www.spdk.io/doc/virtio.html ?

Pawel

From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Huang Frank
Sent: Thursday, March 8, 2018 2:58 PM
To: spdk <spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm

Hi, Paweł

Thanks for reply.
 I think the scenario what you refers is same as the native scenario, that's not what I want. I wonder if  run spdk in a standalone vm or container will be very usefully in a cloud environment.
 If SPDK can not achieve this goal now, how to do? It's there a way to make it?

________________________________
kinzent(a)hotmail.com<mailto:kinzent(a)hotmail.com>

From: Wodkowski, PawelX<mailto:pawelx.wodkowski(a)intel.com>
Date: 2018-03-08 18:06
To: Storage Performance Development Kit<mailto:spdk(a)lists.01.org>
Subject: Re: [SPDK] vhost target run in another vm
If you are talking about SPDK vhost target inter VM communication currently no. You can run SPDK vhost target in nested VM scenario: in VM you start vhost target and then inside the same VM you start nested VM. This scenario is test and working.

Paweł

From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Huang Frank
Sent: Thursday, March 8, 2018 9:20 AM
To: spdk <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: [SPDK] vhost target run in another vm

Hi, all

I found the vhost target is a great solution. But it needs to run on the host. Can I run the vhost-target in another vm or container? If not, what's the gap?

________________________________
kinzent(a)hotmail.com<mailto:kinzent(a)hotmail.com>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 22270 bytes --]

             reply	other threads:[~2018-03-13 17:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-13 17:40 Harris, James R [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-12  2:05 [SPDK] vhost target run in another vm Huang Frank
2018-03-09 17:24 Harris, James R
2018-03-09  9:55 Wodkowski, PawelX
2018-03-09  1:44 Huang Frank
2018-03-08 15:30 Wodkowski, PawelX
2018-03-08 13:58 Huang Frank
2018-03-08 10:06 Wodkowski, PawelX
2018-03-08  8:20 Huang Frank

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=F1900D76-AAA4-4BCD-8CCE-C76D779B629E@intel.com \
    --to=spdk@lists.01.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox