Bug 682101

Summary: failed to save windows guests
Product: Red Hat Enterprise Linux 5 Reporter: Qixiang Wan <qwan>
Component: xenAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.7CC: minovotn, mrezanin, pbonzini, xen-maint, yuzhang, yuzhou
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xen-3.0.3-125.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 09:14:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Qixiang Wan 2011-03-04 06:15:18 UTC
Description of problem:
cbad352 XenD: Fix setName() code to store new domain name
introduced a regression, now save a windows guest will fail, RHEL guests works well.

Version-Release number of selected component (if applicable):
xen-3.0.3-122.el5

How reproducible:
100%

Steps to Reproduce:
1. boot up a windows guest
2. perform xm save when windows boot up (can't reproduce at the beginning of windows boot)

$ xm save winxp winxp.save
Error: unknown device type: savedstate
Usage: xm save <Domain> <CheckpointFile>

Save a domain state to restore later.
$ xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     4825     2 r-----   1347.8
migrating-winxp                           18     1031     1 -b----    106.1

3. domain name is change as step 2 show, but guest is running actually, and no log found in xend.log
  
Actual results:
save windows guests failed

Expected results:
save windows guest should work

Additional info:
save RHEL guests works well

Comment 1 Michal Novotny 2011-03-04 11:34:36 UTC
I'll investigate this further for the Windows guests.

Michal

Comment 5 Yuyu Zhou 2011-03-09 07:40:54 UTC
This bug is reproduced in xen-3.0.3-124.el5 and verified to be fixed in xen-3.0.3-125.el5.

How to reproduce|verify
1- Update the xen to the specific version and restart xend service
2- start a Windows guest(such as WinXP 32bit HVM guest)
3- #xm save $Domain_ID|$Domain_name $savefile

Result:
1- In xen-3.0.3-124.el5, failed to save windows guests
2- In xen-3.0.3-125.el5, succeed to save windows guests
   Plus,
   #xm restore $savefile
   The restored guest works well.

Comment 6 errata-xmlrpc 2011-07-21 09:14:39 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1070.html

Comment 7 errata-xmlrpc 2011-07-21 12:08:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1070.html