Skip to content
Snippets Groups Projects
Commit 644e5023 authored by Dimitris Aragriorgs's avatar Dimitris Aragriorgs
Browse files

Maintain backwards compatibility in kvm runtime


Introduce _GenerateKVMBlockDevicesOptions()

In case hotplug is enabled per instance then the runtime file
contains one more field: block_devices. In this case kvm_cmd
is extended with block device options during _ExecuteKVMRuntime().

If no hotplug is enabled then runtime file has block_devices info
encapsulated in kvm_cmd and block device options are exteded
during _GenerateKVMRuntime.

Signed-off-by: default avatarDimitris Aragriorgs <dimara@grnet.gr>
parent b02615b4
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment