.hypervisor("XenServer")
.processors(ImmutableList.of(new Processor(from.getStartCpus(), 2)))
.ram(from.getMaxMemory());
if (from.getVirtualGuestBlockDevices() != null) {
builder.volumes(
FluentIterable.from(from.getVirtualGuestBlockDevices()).filter(new Predicate<VirtualGuestBlockDevice>() {
@Override
public boolean apply(VirtualGuestBlockDevice input) {
return input.getMountType().equals("Disk");
}