qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] vhost-user: VHOST_SET_MEM_TABLE, VHOST_SET_VRING_CALL need


From: Michael S. Tsirkin
Subject: [Qemu-devel] vhost-user: VHOST_SET_MEM_TABLE, VHOST_SET_VRING_CALL need a reply?
Date: Wed, 17 Sep 2014 11:38:15 +0300

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]