Bug 1651457
| Summary: | Fail to start an VM with empty CDROMs | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Han Han <hhan> | |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | rawhide | CC: | agedosier, amit, berrange, cfergeau, clalancette, crobinso, dwmw2, dyuan, itamar, jforbes, juzhang, laine, libvirt-maint, pbonzini, pkrempa, rjones, veillard, virt-maint, xuzhang | |
| Target Milestone: | --- | Keywords: | Regression, TestBlocker | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1651458 (view as bug list) | Environment: | ||
| Last Closed: | 2019-03-20 23:12:25 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1651458 | |||
|
Description
Han Han
2018-11-20 07:01:47 UTC
I can reproduce with qemu 3.0 and libvirt 4.7 in f29 as well. There's a closed RHEL qemu-kvm bug, not sure what the fix was: https://bugzilla.redhat.com/show_bug.cgi?id=1342999 But there's still an open libvirt bug for it: https://bugzilla.redhat.com/show_bug.cgi?id=1377321 I think the current state is that libvirt shouldn't be passing those options in the empty cdrom case. pkrempa is that correct? Fixed upstream:
commit f80eae8c2ae0c62ecaa550ab6353cf871bb17d4e (HEAD -> master, origin/master, origin/HEAD)
Author: Peter Krempa <pkrempa>
Date: Tue Jan 15 17:28:21 2019 +0100
qemu: command: Don't format image properties for empty -drive
If a -drive has no image, using image properties makes qemu whine that
they should not be used.
This patch stops formating cache/readonly/... for empty drives
for the pre-blockdev syntax. Unfortunately those parameters can't be
added later when inserting media, but on the other hand qemu will start
with an empty drive.
Since we already were able to start a VM with such config previously due
to qemu ignoring them I've opted just to skip formatting them.
Additionally with -blockdev support it will work as expected as the
image properties will be formatted when adding the image itself which is
not possible without it.
This is in rawhide libvirt nowadays |