From: "Michael S. Tsirkin" <mst@redhat.com>
To: Linhaifeng <haifeng.lin@huawei.com>
Cc: qemu-devel@nongnu.org, n.nikolaev@virtualopensystems.com,
jerry.lilijun@huawei.com
Subject: Re: [Qemu-devel] vhost-user:is miss command VHOST_NET_SET_BACKEND?
Date: Wed, 17 Sep 2014 11:33:22 +0300 [thread overview]
Message-ID: <20140917083322.GA10308@redhat.com> (raw)
In-Reply-To: <54193D51.6070503@huawei.com>
I guess it's a workaround, but I think it's an ugly one.
Let's add this command properly.
What's the best way to do this?
A feature bit? Or just add a new command and assume
remote ignores what it can't handle?
Nikolay, docs/specs/vhost-user.txt seems silent on this
aspect. Can you send a patch documenting it please?
On Wed, Sep 17, 2014 at 03:50:41PM +0800, Linhaifeng wrote:
> sorry it is not need to add VHOST_NET_SET_BACKEND.I found i can reset in VHOST_GET_VRING_BASE because before the backend cleanup it will send VHOST_GET_VRING_BASE.
>
> On 2014/9/17 13:50, Linhaifeng wrote:
> > Hi,
> >
> > The VHOST_NET_SET_BACKEND could tell the user when the backend is created or destroyed.is usefull for the user but this command is lost in the protocol
> >
> >
> >
> >
prev parent reply other threads:[~2014-09-17 9:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 5:50 [Qemu-devel] vhost-user:is miss command VHOST_NET_SET_BACKEND? Linhaifeng
2014-09-17 7:50 ` Linhaifeng
2014-09-17 8:33 ` Michael S. Tsirkin [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=20140917083322.GA10308@redhat.com \
--to=mst@redhat.com \
--cc=haifeng.lin@huawei.com \
--cc=jerry.lilijun@huawei.com \
--cc=n.nikolaev@virtualopensystems.com \
--cc=qemu-devel@nongnu.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.