vmm: improve disk locking error message

This adds guidance on how to resolve the issue.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-05-19 09:39:52 +02:00
committed by Rob Bradford
parent 96deca9dc9
commit 67793ca375

View File

@@ -333,7 +333,7 @@ pub enum Error {
#[error("Error creating console devices")]
CreateConsoleDevices(ConsoleDeviceError),
#[error("Error locking the disk images")]
#[error("Error locking disk images: Another instance likely holds a lock")]
LockingError(DeviceManagerError),
}
pub type Result<T> = result::Result<T, Error>;