qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel]  vhost-user: VHOST_SET_MEM_TABLE, VHOST_SET_VRING_CALL need a reply?
@ 2014-09-17  8:38 Michael S. Tsirkin
  2014-09-17  9:39 ` Linhaifeng
  0 siblings, 1 reply; 9+ messages in thread
From: Michael S. Tsirkin @ 2014-09-17  8:38 UTC (permalink / raw)
  To: Linhaifeng; +Cc: qemu-devel, n.nikolaev, jerry.lilijun

Reply-To: 

Thinking about the vhost-user protocol, VHOST_SET_MEM_TABLE
is used to update the memory mappings.

So shouldn't we want for response?
Otherwise e.g. guest can start using the memory
that vhost-user can't access.

Similarly, with an IOMMU vhost-user might access memory it shouldn't.

VHOST_SET_VRING_CALL is used for MSI-X masking.
Again, after vector is masted by switching the call fd,
backend shouldn't assert the old one.

Thoughts?

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

end of thread, other threads:[~2014-09-18 12:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17  8:38 [Qemu-devel] vhost-user: VHOST_SET_MEM_TABLE, VHOST_SET_VRING_CALL need a reply? Michael S. Tsirkin
2014-09-17  9:39 ` Linhaifeng
2014-09-17  9:56   ` Michael S. Tsirkin
2014-09-18  0:45     ` Linhaifeng
2014-09-18  5:16       ` Michael S. Tsirkin
2014-09-18 12:39         ` Linhaifeng
2014-09-18 12:54           ` Michael S. Tsirkin
2014-09-18  2:39     ` Linhaifeng
2014-09-18  5:19       ` 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).