The attached patch keeps track of the resources created on the Xen backend until the VM record is created.
If a failure occurs, the exception handler will destroy all the VDIs created so far, as well as kernel/ramdisk files stored on dom0's filesystem.
The attached patch keeps track of the resources created on the Xen backend until the VM record is created.
If a failure occurs, the exception handler will destroy all the VDIs created so far, as well as kernel/ramdisk files stored on dom0's filesystem.