CLOUDSTACK-1302: Make sure the disk cache mode is passed to the KVM Agent

The StartCommand did not contain the proper cache mode due to VolumeJoinVO
not containing the cache_mode field.
This commit is contained in:
Wido den Hollander 2015-04-30 17:19:30 +02:00
parent 1441ed1ea7
commit ab1a6912a9

View File

@ -201,6 +201,9 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
@Column(name = "iops_write_rate")
Long iopsWriteRate;
@Column(name = "cache_mode")
String cacheMode;
@Column(name = "pool_id")
private long poolId;
@ -492,6 +495,10 @@ public class VolumeJoinVO extends BaseViewVO implements ControlledViewEntity {
return iopsWriteRate;
}
public String getCacheMode() {
return cacheMode;
}
public long getPoolId() {
return poolId;
}