aboutsummaryrefslogtreecommitdiffstats
path: root/tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java
diff options
context:
space:
mode:
Diffstat (limited to 'tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java')
-rw-r--r--tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java b/tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java
index 5c0e80201f..a5c90a720d 100644
--- a/tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java
+++ b/tools/control/src/org/xenoserver/cmdline/ParsePhysicalRevoke.java
@@ -5,7 +5,6 @@ import java.util.LinkedList;
import org.xenoserver.control.CommandFailedException;
import org.xenoserver.control.CommandPhysicalRevoke;
import org.xenoserver.control.Defaults;
-import org.xenoserver.control.Extent;
import org.xenoserver.control.Partition;
import org.xenoserver.control.PartitionManager;
@@ -26,10 +25,7 @@ public class ParsePhysicalRevoke extends CommandParser {
if ( p == null )
throw new CommandFailedException("Partition " + partition_name + " does not exist.");
- // Convert the partition into a physical extent
- Extent e = p.toExtent();
-
- String output = new CommandPhysicalRevoke( d, domain_id, e ).execute();
+ String output = new CommandPhysicalRevoke( d, domain_id, p ).execute();
if ( output != null )
System.out.println( output );
}