VmScheduler scheduler = new VmScheduler(getArchitecture());
vm.setScheduler(scheduler);
if (processor == null) {
switch (bits) {
case 32:
processor = new VmX86Processor32(0,
(VmX86Architecture32) getArchitecture(), statics, isolatedStatics, scheduler,
getCPUID());
break;
case 64:
processor = new VmX86Processor64(0,