public class VirtualHardwareSection extends Section<VirtualHardwareSection>
This specification supports abstract or incomplete hardware descriptions in which only the major devices are described. The hypervisor is allowed to create additional virtual hardware controllers and devices, as long as the required devices listed in the descriptor are realized.
Modifier and Type | Class and Description |
---|---|
static class |
VirtualHardwareSection.Builder |
Modifier and Type | Field and Description |
---|---|
protected Set<ResourceAllocationSettingData> |
items |
protected Set<String> |
transports |
protected VirtualSystemSettingData |
virtualSystem |
Constructor and Description |
---|
VirtualHardwareSection(String info,
Iterable<String> transports,
VirtualSystemSettingData virtualSystem,
Iterable<? extends ResourceAllocationSettingData> items) |
Modifier and Type | Method and Description |
---|---|
static VirtualHardwareSection.Builder |
builder() |
boolean |
equals(Object obj) |
Set<? extends ResourceAllocationSettingData> |
getItems() |
VirtualSystemSettingData |
getSystem() |
Set<String> |
getTransports()
transport types define methods by which the environment document is communicated from the
deployment platform to the guest software.
|
int |
hashCode() |
VirtualHardwareSection.Builder |
toBuilder() |
String |
toString() |
protected final VirtualSystemSettingData virtualSystem
protected final Set<ResourceAllocationSettingData> items
public VirtualHardwareSection(String info, Iterable<String> transports, VirtualSystemSettingData virtualSystem, Iterable<? extends ResourceAllocationSettingData> items)
public static VirtualHardwareSection.Builder builder()
public VirtualHardwareSection.Builder toBuilder()
toBuilder
in class Section<VirtualHardwareSection>
public Set<String> getTransports()
To enable interoperability, this specification defines an "iso" transport type which all implementations that support CD-ROM devices are required to support. The iso transport communicates the environment 1346 document by making a dynamically generated ISO image available to the guest software. To support the iso transport type, prior to booting a virtual machine, an implementation shall make an ISO 9660 read-only disk image available as backing for a disconnected CD-ROM. If the iso transport is selected for a VirtualHardwareSection, at least one disconnected CD-ROM device shall be present in this section.
Support for the "iso" transport type is not a requirement for virtual hardware architectures or guest 1351 operating systems which do not have CD-ROM device support.
public VirtualSystemSettingData getSystem()
public Set<? extends ResourceAllocationSettingData> getItems()
public int hashCode()
hashCode
in class Section<VirtualHardwareSection>
public boolean equals(Object obj)
equals
in class Section<VirtualHardwareSection>
public String toString()
toString
in class Section<VirtualHardwareSection>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.