Bug 638071
| Summary: | can't successfully start guest with a hot-plugging disk after stopping | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Min Zhan <mzhan> |
| Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.6 | CC: | ajia, dyuan, eblake, jdenemar, llim, mzhan, tyan, virt-maint, weizhan, xen-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 627143 | Environment: | |
| Last Closed: | 2010-09-29 14:00:15 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: | |||
| Bug Depends On: | 627143, 1000432 | ||
| Bug Blocks: | |||
|
Comment 1
Jiri Denemark
2010-09-29 14:00:15 UTC
(In reply to comment #1) yes, i have added the parameters for attach-disk like you wrote above. and the guest can be start successfully. but i also check attach-disk command.
# virsh help attach-disk
NAME
attach-disk - attach disk device
SYNOPSIS
attach-disk <domain> <source> <target> [--driver <string>] [--subdriver <string>] [--type <string>] [--mode <string>] [--persistent] [--sourcetype <string>]
Please have a look. these parameters like --driver are optional, if we use the method above to fix this bug, should this parameters are mandatory? or need we submit a new bug for attach-disk mandatory parameters check?
Yes, they are optional because you don't need to specify them in all cases. For example, you can successfully attach a disk into a Xen guest without these optional arguments. For compatibility reasons we can't change the automagic behavior of attach-disk commands used without these optional parameters and make them mandatory. |