Lines Matching +full:add +full:- +full:user +full:- +full:device

2 // SPDX-License-Identifier: Apache-2.0
51 #[error("Failed binding vhost-user socket")]
67 #[error("Failed to open vhost device")]
79 #[error("Vhost-user Backend not support vhost-user protocol")]
113 #[error("Add memory region failed")]
127 #[error("Invalid features provided from vhost-user backend")]
135 #[error("Migration is not supported by this vhost-user device")]
187 ) -> std::result::Result<(), EpollHelperError> { in run()
204 fn reconnect(&mut self, helper: &mut EpollHelper) -> std::result::Result<(), EpollHelperError> { in reconnect()
219 "failed connecting vhost-user backend {e:?}" in reconnect()
239 "failed reconnecting vhost-user backend: {e:?}" in reconnect()
249 // Update vhost-user reference in reconnect()
262 ) -> std::result::Result<(), EpollHelperError> { in handle_event()
268 "failed to reconnect vhost-user backend: {:?}", in handle_event()
277 "Failed to handle request from vhost-user backend: {:?}", in handle_event()
285 "Unknown event for vhost-user thread" in handle_event()
315 ) -> std::result::Result<VhostUserEpollHandler<T>, ActivateError> { in activate()
325 error!("Missing vhost-user handle"); in activate()
360 pub fn restore_backend_connection(&mut self, acked_features: u64) -> Result<()> { in restore_backend_connection()
391 ) -> std::result::Result<(), crate::Error> { in add_memory_region()
412 pub fn pause(&mut self) -> std::result::Result<(), MigratableError> { in pause()
415 MigratableError::Pause(anyhow!("Error pausing vhost-user backend: {:?}", e)) in pause()
422 pub fn resume(&mut self) -> std::result::Result<(), MigratableError> { in resume()
425 MigratableError::Resume(anyhow!("Error resuming vhost-user backend: {:?}", e)) in resume()
432 pub fn snapshot<'a, T>(&mut self, state: &T) -> std::result::Result<Snapshot, MigratableError> in snapshot()
448 ) -> std::result::Result<(), MigratableError> { in start_dirty_log()
457 "Error starting migration for vhost-user backend: {:?}", in start_dirty_log()
471 pub fn stop_dirty_log(&mut self) -> std::result::Result<(), MigratableError> { in stop_dirty_log()
475 "Error stopping migration for vhost-user backend: {:?}", in stop_dirty_log()
487 ) -> std::result::Result<MemoryRangeTable, MigratableError> { in dirty_log()
493 "Error retrieving dirty ranges from vhost-user backend: {:?}", in dirty_log()
505 pub fn start_migration(&mut self) -> std::result::Result<(), MigratableError> { in start_migration()
513 ) -> std::result::Result<(), MigratableError> { in complete_migration()
516 // Make sure the device thread is killed in order to prevent from in complete_migration()
521 "Error killing vhost-user thread: {:?}", in complete_migration()
527 // Drop the vhost-user handler to avoid further calls to fail because in complete_migration()