| Summary: | QMP: human-monitor-command: fix buffer duplication | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Luiz Capitulino <lcapitulino> |
| Component: | qemu-kvm | Assignee: | Laszlo Ersek <lersek> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6 | CC: | bsarathy, chayang, juzhang, lersek, mkenneth, qzhang, rbalakri, tlavigne, virt-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-0.12.1.2-2.420.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 06:54:03 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: | |
|
Description
Luiz Capitulino
2013-11-05 15:42:49 UTC
As Luiz said, needed commits are: 1 48c043d hmp: human-monitor-command: stop using the Memory chardev driver 2 4bf0bb8 chardev: drop the Memory chardev driver Commit 48c043d depends on commit d51a67b4 qapi: Convert human-monitor-command which Luiz had posted as patch 13/16 in the upstream series QAPI conversions round 3 http://thread.gmane.org/gmane.comp.emulators.qemu/127538 I tried to cherry-pick this patch as a dependency, just to see the lay of the land, but it runs into conflicts itself. Hence I grepped the RHEL-6 qemu-kvm commit log for the string qapi: Convert (case insensitively). I found four occurrences: - For bug 833530, I decided against backporting qapi: Convert query-status qapi: Convert cont - For bug 802284, Federico backported qapi: Convert blockdev_snapshot_sync and scavenged some bits from the intrusive qapi: convert query-name qapi: Convert memsave Considering the big number of conversion patches Luiz got merged upstream, I think we can say that comparatively we simply don't have those in RHEL-6. Hence I won't start backporting such patches at this stage of RHEL-6. Reimplementing 48c043d on top of what we have in RHEL-6 now (ie. do_hmp_passthrough() instead of qmp_human_monitor_command) seems possible. OTOH conflict resolution seems to be easier for d51a67b4 than rewriting 48c043d. (Supposing that, after porting / resolving d51a67b4, 48c043d would apply cleanly.) Fix included in qemu-kvm-0.12.1.2-2.420.el6 Hi, Laszlo To verify this bug, do we need to run a round of qmp function test? Or is there some other requirement? Thanks, Qunfang Regression / sanity testing should be enough. Thanks! 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/RHBA-2014-1490.html |