Skip to content
Snippets Groups Projects
Commit 61f46231 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 50fab955
No related branches found
No related tags found
Loading
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