mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
on a clean machine. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
6ed1133818
commit
4d5a404460
1 file changed
+3
-2
@@ -152,8 +152,9 @@ def recreate(info, priv):
|
||||
try:
|
||||
vmpath = xstransact.Read(dompath, "vm")
|
||||
if not vmpath:
|
||||
log.warn('/local/domain/%d/vm is missing. recreate is '
|
||||
'confused, trying our best to recover' % domid)
|
||||
if not priv:
|
||||
log.warn('/local/domain/%d/vm is missing. recreate is '
|
||||
'confused, trying our best to recover' % domid)
|
||||
needs_reinitialising = True
|
||||
raise XendError('reinit')
|
||||
|
||||
|
||||