Package com.cybozu.vmbkp.util

Examples of com.cybozu.vmbkp.util.AdapterType


            int unitNumber = profGen.getUnitNumber(diskId);
            long capacity = profGen.getCapacity(diskId);
            assert capacity % 1024L == 0;
            long capacityInKb = capacity / 1024L;

            AdapterType type = profGen.getAdapterType(diskId);
            assert type != AdapterType.UNKNOWN;
            int ckey = profGen.getControllerDeviceKey(diskId);
            int busNumber = profGen.getBusNumber(ckey);

            /* Create virtual disk manager and virtual controller manager. */
 
View Full Code Here


                }

                /* get the controller information  */
                Integer ckeyI = diskDev.getControllerKey(); assert ckeyI != null;
                int ckey = ckeyI.intValue();
                AdapterType type = getAdapterType(ckey);
                int busNumber = getBusNumber(ckey);
               
                /* create VmdkInfo object. */
                VmdkInfo a = new VmdkInfo(name, uuid, changeId,
                                          key, ckey, capacityInKB, type,
View Full Code Here

        if (vd == null) {
            return AdapterType.UNKNOWN;
        }
        assert vd.getKey() == ckey;

        AdapterType ret = AdapterType.UNKNOWN;
        if (vd instanceof VirtualIDEController) {
            ret = AdapterType.IDE;
        } else if (vd instanceof VirtualBusLogicController) {
            ret = AdapterType.BUSLOGIC;
        } else if (vd instanceof VirtualLsiLogicController) {
View Full Code Here

TOP

Related Classes of com.cybozu.vmbkp.util.AdapterType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.