xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Saving domain in xl does not have proper cleanup
@ 2012-09-16 14:58 Bastian Blank
  2012-09-16 15:36 ` Bastian Blank
  0 siblings, 1 reply; 3+ messages in thread
From: Bastian Blank @ 2012-09-16 14:58 UTC (permalink / raw)
  To: xen-devel

Hi

Saving a domain without enough available space with xl in 4.2-rc5 fails
to cleanup completely. The domain informations remains in Xenstore,
the domain itself seems to remain in a suspended state and there is not
xl process for it anymore.

Reason is the use of the MUST macro in save_domain. It exits the process
prematurely instead of cleaning up the external visible changes.

Also the MUST macro is broken. exit() only takes "values & 0xff", so
this macro may exit the process with 0 if the error value is chosen
unwisely.

Bastian

-- 
A princess should not be afraid -- not with a brave knight to protect her.
		-- McCoy, "Shore Leave", stardate 3025.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-25 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-16 14:58 Saving domain in xl does not have proper cleanup Bastian Blank
2012-09-16 15:36 ` Bastian Blank
2012-09-25 10:08   ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).