Bug 831174
Summary: | qemu-ga default statedir should be /run | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Paolo Bonzini <pbonzini> |
Component: | qemu-kvm | Assignee: | Luiz Capitulino <lcapitulino> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | areis, flang, juzhang, knoel, lcapitulino, pbonzini |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu 1.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 12:12:28 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
Paolo Bonzini
2012-06-12 12:03:20 UTC
Patches posted upstream and have already been accepted by qemu-ga's maintainer: https://lists.gnu.org/archive/html/qemu-devel/2012-10/msg00476.html Merged upstream (commits 785c23ae5c and 6a3c8c14c). To test this, run latest qemu-ga in the guest, freeze the FS and do: # ls -la /var/run/ (or /usr/local/var/run) And check if a file named qga.state.isfrozen has been created. *** Bug 836275 has been marked as a duplicate of this bug. *** Verify this bug as follow version: Host: # uname -r 3.10.0-79.el7.x86_64 # rpm -q qemu-kvm qemu-kvm-1.5.3-41.el7.x86_64 Guest:RHEl7 qemu-guest-agent-1.5.3-41.el7.x86_64.rpm Steps: 1.# qemu-ga --help ... -t, --statedir specify dir to store state information (absolute paths only, default is /var/run) ... 2.on host #nc -U /tmp/qga.sock {"execute":"guest-fsfreeze-freeze" } {"return": 2} 3. check state file # ll /var/run/qga.state -rw-r--r--. 1 root root 25 Jan 25 22:33 /var/run/qga.state Results: After step 1:The Paths is /var/run After step 3: A file named qga.state.isfrozen has been created. According to above test ,this bug fixed. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |