Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Using the VMMRequest instead of WorkspaceRequest command semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
carlasouza committed Jul 18, 2011
1 parent 32cb9b4 commit b3acab2
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -77,7 +77,7 @@ public VMMReaper(ExecutorService executorService,
throw new IllegalArgumentException("lagerImpl may not be null"); throw new IllegalArgumentException("lagerImpl may not be null");
} }
this.lager = lagerImpl; this.lager = lagerImpl;
this.reqFactory = new RequestFactoryImpl(lager); this.reqFactory = new VMMRequestFactoryImpl(lager);
} }




Expand Down Expand Up @@ -119,8 +119,7 @@ protected void reaperVMM() throws ManageException {


// These are the libvirt guest states // These are the libvirt guest states
// 1 = running; 2 = idle; 3 = paused; 4 = shutdown; 5 = shut off; 6 = crashed; 7 = dying // 1 = running; 2 = idle; 3 = paused; 4 = shutdown; 5 = shut off; 6 = crashed; 7 = dying
VMMRequest req; VMMRequest req = reqFactory.query();
WorkspaceRequest req = reqFactory.query();
//set context //set context
String state = null; String state = null;
try{ try{
Expand Down

0 comments on commit b3acab2

Please sign in to comment.