Skip to content

Conversation

@phip1611
Copy link
Member

Split-out from #7066 for better reviewability.

@phip1611 phip1611 requested a review from a team as a code owner May 28, 2025 05:48
phip1611 added 2 commits May 28, 2025 07:48
Signed-off-by: Philipp Schuster <[email protected]>
On-behalf-of: SAP [email protected]
@phip1611 phip1611 changed the title misc: small improvements to error messsages misc: small improvements to error messages May 28, 2025
PoisonedState,

#[error("Error from device manager: {0:?}")]
#[error("Failed to create the VMs devices: {0:?}")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, in my opion, the new code seems not quite so rigorous.
The Error::DeviceManager may also be called in add_device/resize(), which may confuse people using "create the VMs devices".

Copy link
Member

@likebreath likebreath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@up2wing is right. This is a generic error for DeviceManager to be propagated to the upper level e.g. Vm and Vmm. So I think it is better to keep as it is.

@likebreath likebreath closed this May 29, 2025
@phip1611 phip1611 deleted the error-msg-misc branch May 29, 2025 19:41
@phip1611
Copy link
Member Author

phip1611 commented Jun 2, 2025

typo fix (3b32c96) moved to #7066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants