Bug 769229

Summary: Windows guest cannot respond to xm shutdown if requested too early
Product: Red Hat Enterprise Linux 5 Reporter: Jinxin Zheng <jzheng>
Component: xenpv-winAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED CANTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8CC: drjones, leiwang, pbonzini, qguan, qwan, tburke, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-23 15:23:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 807971    

Description Jinxin Zheng 2011-12-20 10:53:37 UTC
Description of problem:
Execute xm shutdown or xm reboot when the guest is booting. The xend.log shows the following message:

[2011-12-20 17:53:19 xend.XendDomainInfo 3219] DEBUG (XendDomainInfo:1335) XendDomainInfo.handleShutdownWatch
[2011-12-20 17:53:19 xend.XendDomainInfo 3219] DEBUG (XendDomainInfo:1335) XendDomainInfo.handleShutdownWatch
[2011-12-20 17:53:49 xend.XendDomainInfo 3219] INFO (XendDomainInfo:1323) Domain shutdown timeout expired: name=vmtest1 id=20

Then the guest cannot be shut-down or reboot using xm, not even after the guest completes the booting process.
Shutdown or reboot from inside the guest works though.

Version-Release number of selected component (if applicable):
xenpv-win-1.3.12-3.el5

How reproducible:
Always

Steps to Reproduce:
1. Create a Windows guest, install xenpv-win driver, then reboot.
2. xm shutdown the guest when it is booting.
3. xm shutdown the guest after it completes booting. 
  
Actual results:
Cannot shutdown the guest using xm.

Expected results:
The guest could at least be shutdown by xm after the boot process completed.

Comment 1 RHEL Program Management 2012-04-02 10:37:53 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 9 Paolo Bonzini 2013-04-23 15:23:36 UTC
CANTFIX due to comment 7 bullet 2.