mirror of https://gitee.com/openkylin/qemu.git
1c3e5a2617
Without a dedicated protocol feature, QEMU cannot know whether the backend can handle VHOST_USER_SET_CONFIG and VHOST_USER_GET_CONFIG messages. This patch adds a protocol feature that is only advertised by QEMU if the device implements the config ops. Vhost user init fails if the device support the feature but the backend doesn't. The backend should only send VHOST_USER_SLAVE_CONFIG_CHANGE_MSG requests if the protocol feature has been negotiated. Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
bitmaps.rst | ||
live-block-operations.rst | ||
parallels.txt | ||
pr-helper.rst | ||
prl-xml.txt | ||
qcow2.txt | ||
qed_spec.txt | ||
qemu-ga-ref.texi | ||
qemu-qmp-ref.texi | ||
qmp-intro.txt | ||
qmp-spec.txt | ||
vhost-user.txt | ||
vnc-ledstate-Pseudo-encoding.txt |