| Summary: | xm shutdown -H option dose not work for windows hvm guest | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Pengzhen Cao <pcao> | ||||||||
| Component: | xenpv-win | Assignee: | Paolo Bonzini <pbonzini> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 5.7 | CC: | leiwang, mrezanin, pbonzini, qwan, shwang, xen-maint | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | xenpv-win-1.3.11-1.el5 | Doc Type: | Bug Fix | ||||||||
| Doc Text: |
Cause - Windows guests did not acknowledge an "xm shutdown -H" operation started from the host.
Consequence - Attempting to turn a Windows virtual machine off with "xm shutdown -H" will not have any effect. Furthermore, it will prevent "xm shutdown" from working until the virtual machine is rebooted.
Fix - The paravirtualized Xen network driver trigger a shutdown of the virtual machine when "xm shutdown -H" is sent.
Result - (same as fix?...)
|
Story Points: | --- | ||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-02-21 05:35:37 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
Pengzhen Cao
2011-07-25 08:52:43 UTC
Created attachment 514992 [details]
qemu-dm.log
Created attachment 514993 [details]
xend.log
Created attachment 514994 [details]
xm_dmesg.log
What version of windows do you use for testing? I'm using win xp 32bit and I'm not able to reproduce...Do you had pv drivers installed? (In reply to comment #4) > What version of windows do you use for testing? I'm using win xp 32bit and I'm > not able to reproduce...Do you had pv drivers installed? yes, xen pv driver should be installed in the guest. Reproduced the bug: Guest with installed pv driver do not rreact on xm shutdown. Without drivers xm shutdown leads to destroy the guest. Reassign to xenpv-win component. Correction from mirek on IRC: xm shutdown works if it is called first..if it is called after -H variant, it does not work anymore. I reproduced the bug with xenpv-win-1.3.4-9.el5.
Then update the pv driver to xenpv-win-1.3.12-3.el5 and do 5 times test for every kind of windows guest. The guest shutdown immediately via shutdown -H.
So change this bug to VERIFIED.
Host: 2.6.18-301.el5
Xen: xen-3.0.3-135.el5
Guest: win2k3 i386 x86_64
win2k8 i386 x86_64
win7 i386 x86_64
vista i386 x86_64
xp
Win2008r2
Bug verify steps:
1. Create a windows guest with cfg file.
2. Shutdown the guest with "xm shutdown $domU_id -H"
3. Check whether the guest shutdown immediately.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause - Windows guests did not acknowledge an "xm shutdown -H" operation started from the host.
Consequence - Attempting to turn a Windows virtual machine off with "xm shutdown -H" will not have any effect. Furthermore, it will prevent "xm shutdown" from working until the virtual machine is rebooted.
Fix - The paravirtualized Xen network driver trigger a shutdown of the virtual machine when "xm shutdown -H" is sent.
Result - (same as fix?...)
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-2012-0195.html |