mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vm-virtio: vhost-user: Vring should be enabled after initialization
As mentioned in the vhost-user specification, each ring is initialized in a stopped state. This means each ring should be enabled only after it has been correctly initialized. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
a4ebcf486d
commit
97699a521f
@@ -77,8 +77,6 @@ pub enum Error {
|
||||
VhostUserSetVringKick(VhostError),
|
||||
/// Set vring enable failed.
|
||||
VhostUserSetVringEnable(VhostError),
|
||||
/// Vhost-user setup vring failed.
|
||||
VhostUserSetupVringFailed,
|
||||
/// Failed to create vhost eventfd.
|
||||
VhostIrqCreate(io::Error),
|
||||
/// Failed to read vhost eventfd.
|
||||
|
||||
Reference in New Issue
Block a user