[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [Q] About xc.domain_destroy_hook
Hi, I have a question. XendDomainInfo.py: def shutdown(self, reason): """Shutdown a domain by signalling this via xenstored.""" log.debug('XendDomainInfo.shutdown(%s)', reason) <<snip>> # HVM domain shuts itself down only if it has PV drivers if self.info.is_hvm(): hvm_pvdrv = xc.hvm_get_param(self.domid, HVM_PARAM_CALLBACK_IRQ) if not hvm_pvdrv: code = REVERSE_DOMAIN_SHUTDOWN_REASONS[reason] here! --> xc.domain_destroy_hook(self.domid) log.info("HVM save:remote shutdown dom %d!", self.domid) xc.domain_shutdown(self.domid, code) [Q] The line does not need, does it? When I tested xm shutdown command for an HVM domain, I saw the following error message in xend-debug.log. Nvram save successful! ERROR Internal error: Save to nvram fail! (9 = Bad file descriptor) Also same message was seen in xm reboot command. Nvram save successful! ERROR Internal error: Save to nvram fail! (9 = Bad file descriptor) I think that xc.domain_destroy_hook() is called twice. Best regards, Kan _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |