Enum DiskInterface

    • Enum Constant Detail

      • IDE

        public static final DiskInterface IDE
        Legacy controller device. Works with almost all guest operating systems, so it is good for compatibility. Performance is lower than with the other alternatives.
      • SATA

        public static final DiskInterface SATA
        SATA controller device.
      • SPAPR_VSCSI

        public static final DiskInterface SPAPR_VSCSI
        Para-virtualized device supported by the IBM pSeries family of machines, using the SCSI protocol.
      • VIRTIO

        public static final DiskInterface VIRTIO
        Virtualization interface where just the guest's device driver knows it is running in a virtual environment. Enables guests to get high performance disk operations.
      • VIRTIO_SCSI

        public static final DiskInterface VIRTIO_SCSI
        Para-virtualized SCSI controller device. Fast interface with the guest via direct physical storage device address, using the SCSI protocol.
    • Method Detail

      • values

        public static DiskInterface[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DiskInterface c : DiskInterface.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DiskInterface valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()