mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
virtio-devices: vhost_user: net: Fix wrong error message
Due to a previous copy and paste error. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
5e74848ab4
commit
204be8611c
@ -498,7 +498,7 @@ impl Migratable for Net {
|
|||||||
.start_dirty_log(last_ram_addr)
|
.start_dirty_log(last_ram_addr)
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
MigratableError::MigrateStart(anyhow!(
|
MigratableError::MigrateStart(anyhow!(
|
||||||
"Error starting migration for vhost-user-blk backend: {:?}",
|
"Error starting migration for vhost-user-net backend: {:?}",
|
||||||
e
|
e
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
@ -512,7 +512,7 @@ impl Migratable for Net {
|
|||||||
fn stop_dirty_log(&mut self) -> std::result::Result<(), MigratableError> {
|
fn stop_dirty_log(&mut self) -> std::result::Result<(), MigratableError> {
|
||||||
self.vu.lock().unwrap().stop_dirty_log().map_err(|e| {
|
self.vu.lock().unwrap().stop_dirty_log().map_err(|e| {
|
||||||
MigratableError::MigrateStop(anyhow!(
|
MigratableError::MigrateStop(anyhow!(
|
||||||
"Error stopping migration for vhost-user-blk backend: {:?}",
|
"Error stopping migration for vhost-user-net backend: {:?}",
|
||||||
e
|
e
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
@ -527,7 +527,7 @@ impl Migratable for Net {
|
|||||||
.dirty_log(last_ram_addr)
|
.dirty_log(last_ram_addr)
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
MigratableError::MigrateDirtyRanges(anyhow!(
|
MigratableError::MigrateDirtyRanges(anyhow!(
|
||||||
"Error retrieving dirty ranges from vhost-user-blk backend: {:?}",
|
"Error retrieving dirty ranges from vhost-user-net backend: {:?}",
|
||||||
e
|
e
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user