--- /usr/bin/xen-create-image.old	2007-01-05 11:59:05.000000000 -0200
+++ /usr/bin/xen-create-image	2007-01-05 11:45:10.000000000 -0200
@@ -1865,9 +1865,12 @@
     }
     if ( ! -e $lvm_swap )
     {
-        logprint( "The LVM disk image creation failed to create $swap.\n" );
-        logprint( "aborting\n" );
-        exit;
+	unless( $CONFIG{'noswap'} )
+	{
+	        logprint( "The LVM disk image creation failed to create $swap.\n" );
+	        logprint( "aborting\n" );
+	        exit;
+	}
     }
 
 
