[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend
From: |
Wang, Wei W |
Subject: |
Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication |
Date: |
Tue, 8 Nov 2016 11:59:38 +0000 |
On Tuesday, November 8, 2016 7:36 PM, Wei Wang wrote:
Missed this one:
> > Currently all requests (including VHOST_USER_SET_FEATURES) are coming
> > from the Master. I don't understand yet the purpose of
> > VHOST_USER_SET_PEER_CONNECTION to propose an alternative, but I would
> > rather keep the unidirectional communication if possible.
The VHOST_USER_SET_PEER_CONNECTION is proposed here to turn “on/off” the device
connection status. For example, when the master side VM wants to turn down, the
virtio-net driver sets the virtio-net device’s PEER_CONNECTION status to “off”,
which needs to first synchronize with the vhost-pci device using this message.
In return, the vhost-pci device will send
VHOST_USER_SET_PEER_CONNECTION(cmd=OFF) to the virtio-net device, then the
status is set to OFF, and the driver is ok to unload. (Same for the vhost-pci
driver to unload)
Best,
Wei
- Re: [Qemu-devel] [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Wang, Wei W, 2016/11/07
- Re: [Qemu-devel] [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Marc-André Lureau, 2016/11/08
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Wei Wang, 2016/11/08
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication,
Wang, Wei W <=
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Marc-André Lureau, 2016/11/08
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Wei Wang, 2016/11/09
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Marc-André Lureau, 2016/11/10
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Wei Wang, 2016/11/11
- Re: [Qemu-devel] [virtio-comment] Re: [PATCH v1] docs/vhost-user: extend the vhost-user protocol to support the vhost-pci based inter-vm communication, Michael S. Tsirkin, 2016/11/11