Bug 830051
Summary: | [Doc] virsh doc has error/omission on device commands and nodedev commands | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | weizhang <weizhan> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.3 | CC: | acathrow, dallan, dyasny, dyuan, mzhan, yupzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.9.13-3.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 07:16:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
weizhang
2012-06-08 05:29:02 UTC
Also, for attach-interface libvirt will ignore the target name which begin with vnet, I think it should be mentioned in man page I've proposed patch: https://www.redhat.com/archives/libvir-list/2012-June/msg00717.html Except --persistent which is just an alias to --config. Users are advised to use the new --config therefore we don't want to expose --persistent much: https://www.redhat.com/archives/libvir-list/2012-March/msg00277.html Therefore I am moving this to POST. Pushed upstream: commit cc75fcc90f60940a4979d15ff61396393aa3f0b6 Author: Michal Privoznik <mprivozn> AuthorDate: Mon Jun 18 13:14:49 2012 +0200 Commit: Michal Privoznik <mprivozn> CommitDate: Mon Jun 18 13:14:49 2012 +0200 virsh: Tweak attach-* documentation as we are missing: attach-disk: --type can accept 'lun' too, not just cdrom or floppy. attach-disk: --target specify logical device name, not path attach-interface: --target silently drops strings with vnet* prefix Verified this issue with: libvirt-client-0.9.13-3.el6.x86_64 libvirt-0.9.13-3.el6.x86_64 libvirt-python-0.9.13-3.el6.x86_64 #man virsh 1.attach-disk ... target controls the bus or device under which the disk is exposed to the guest OS. It indicates the "logical" device name. ... type can indicate lun, cdrom or floppy as alternative to thedisk default, although this use only replaces the media within the existing virtual cdrom or floppy device; ... 2.attach-device, detach-device, detach-disk, detach-interface ... For compatibility purposes, --persistent is an alias of --config. ... 3.For attach-interface ... target allows to indicate the target device in the guest. Names starting with ’vnet’ are considered as auto-generated an hence blanked out. ... So change the bug status to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |