Bug 723713
Summary: | virsh does not have a command to list devices attached to a virtual machine | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Schweikle <tschweikle> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | aquini, berrange, clalance, crobinso, itamar, jforbes, laine, lance.gropper, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-07 00:28:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Schweikle
2011-07-20 20:59:04 UTC
Well those can be extracted from the XML provided by virsh dumpxml <domain> by looking in the "devices" section. One of the problem of a standalone list as you suggest is that it would like all the associated metadata like: - is that a read only device use - is that used as a block device or a character one etc ... I don't disagree that one or 2 convenience function could be provided for virsh (not in the API) though ... Daniel This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Yeah, this is not a bug. XML might not be the best interface, but there are well known tools that allow parsing it. It actually does have one - look at the original submission - he apparently is trying to see block devices, however the command has a typo: it's not "virsh domlistblk <domain>" - the correct command is "virsh domblklist <domain>". I hope this comment helps him as the message is pretty old. |