qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] vhost-user:is miss command VHOST_NET_SET_BACKEND?
@ 2014-09-17  5:50 Linhaifeng
  2014-09-17  7:50 ` Linhaifeng
  0 siblings, 1 reply; 3+ messages in thread
From: Linhaifeng @ 2014-09-17  5:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: jerry.lilijun, Michael S. Tsirkin

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

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

* Re: [Qemu-devel] vhost-user:is miss command VHOST_NET_SET_BACKEND?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Linhaifeng @ 2014-09-17  7:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: jerry.lilijun, Michael S. Tsirkin

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

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

* Re: [Qemu-devel] vhost-user:is miss command VHOST_NET_SET_BACKEND?
  2014-09-17  7:50 ` Linhaifeng
@ 2014-09-17  8:33   ` Michael S. Tsirkin
  0 siblings, 0 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2014-09-17  8:33 UTC (permalink / raw)
  To: Linhaifeng; +Cc: qemu-devel, n.nikolaev, jerry.lilijun

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

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

end of thread, other threads:[~2014-09-17  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).