DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Yangyongqiang (Tony, Shannon)" <yangyongqiang@huawei.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "huangyongtao (A)" <huangyongtao1@huawei.com>
Subject: [dpdk-dev] ivshmem is secure or not ? why ?
Date: Fri, 22 Apr 2016 07:55:41 +0000	[thread overview]
Message-ID: <3E257BB0E1F99A41843FB9EE242C420392A09915@nkgeml514-mbx.china.huawei.com> (raw)

>From http://dpdk.org/doc/guides/prog_guide/ivshmem_lib.html,  I get this : different vms can use different metadatas, so different vms can have different memory shared with host.

For example:
If vm1 shares MZ1 with host, and vm2 shares MZ2 with host, then vm1 can not look MZ2.  If this is true, then I think ivshmem is secured.

But "9.3. Best Practices for Writing IVSHMEM Applications"section say : "While the IVSHMEM library tries to share as little memory as possible, it is quite probable that data designated for one VM might also be present in an IVSMHMEM device designated for another VM. "

*         I can not understand why this insecurity<javascript:void(0);> happened, can anyone explain this for me ?

             reply	other threads:[~2016-04-22  7:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  7:55 Yangyongqiang (Tony, Shannon) [this message]
2016-04-22  9:58 ` Mauricio Vásquez
2016-04-23  0:44   ` [dpdk-dev] 答复: " Yangyongqiang (Tony, Shannon)

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=3E257BB0E1F99A41843FB9EE242C420392A09915@nkgeml514-mbx.china.huawei.com \
    --to=yangyongqiang@huawei.com \
    --cc=dev@dpdk.org \
    --cc=huangyongtao1@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).