|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: Handle missing s3_integrity value,
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236275405 0
# Node ID cff29d694a8905e94dfe7506ca1e3482c2c8a76b
# Parent 7ee8bbac10d68334a87809fb5a8f5ef1457889aa
xend: Handle missing s3_integrity value, default to zero.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -r 7ee8bbac10d6 -r cff29d694a89 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Thu Mar 05 15:10:17 2009 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Thu Mar 05 17:50:05 2009 +0000
@@ -2212,7 +2212,9 @@ class XendDomainInfo:
if security.has_authorization(ssidref) == False:
raise VmError("VM is not authorized to run.")
- s3_integrity = self.info['s3_integrity']
+ s3_integrity = 0
+ if self.info.has_key('s3_integrity'):
+ s3_integrity = self.info['s3_integrity']
flags = (int(hvm) << 0) | (int(hap) << 1) | (int(s3_integrity) << 2)
try:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend: Handle missing s3_integrity value, default to zero.,
Xen patchbot-unstable <=
|
|
|
|
|