From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5Cyx-0002F2-58 for qemu-devel@nongnu.org; Thu, 19 Oct 2017 11:43:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5Cyt-0003Gr-Hf for qemu-devel@nongnu.org; Thu, 19 Oct 2017 11:43:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47204) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5Cyt-0003FO-9H for qemu-devel@nongnu.org; Thu, 19 Oct 2017 11:43:35 -0400 References: <1508390650-19115-1-git-send-email-changpeng.liu@intel.com> <1508390650-19115-2-git-send-email-changpeng.liu@intel.com> <20171019183638-mutt-send-email-mst@kernel.org> From: Paolo Bonzini Message-ID: <42aa8736-bc23-d66d-27de-dbaf83ea2f99@redhat.com> Date: Thu, 19 Oct 2017 17:43:18 +0200 MIME-Version: 1.0 In-Reply-To: <20171019183638-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 1/4] vhost-user: add new vhost user messages to support virtio config space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , Changpeng Liu Cc: qemu-devel@nongnu.org, stefanha@gmail.com, marcandre.lureau@redhat.com, felipe@nutanix.com, james.r.harris@intel.com On 19/10/2017 17:39, Michael S. Tsirkin wrote: >> Add VHOST_USER_GET_CONFIG/VHOST_USER_SET_CONFIG messages which can be >> used for live migration of vhost user devices, also vhost user devices >> can benefit from the messages to get/set virtio config space from/to the >> I/O target. For the purpose to support virtio config space change, >> VHOST_USER_SET_CONFIG_FD message is added as the event notifier >> in case virtio config space change in the I/O target. >> >> Signed-off-by: Changpeng Liu > I don't much like it that config is getting passed through. > > IMO this makes managing things harder not easier. > > How about specific messages about specific parts of > config space that you want to get from the backend? In the case of virtio-blk that would be all of it. Do you have a case in mind where some part of the configuration space is owned by QEMU? Paolo