-
Dimitris Aragiorgis authored
With this patch we add another entry in runtime files along with kvm_cmd, kvm_nics, and hvparams. block_devices that used to be encapsulated inside kvm_cmd, live now separately just like nics do but in tupples of (L{objects.Disk}, dev_path). Introduce also _GetExistingDeviceInfo() helper function to search for runtime entries. This is going to be useful later in hotplug methods. Define new exception: HotplugError. Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by: Thomas Thrainer <thomasth@google.com> Reviewed-by: Thomas Thrainer <thomasth@google.com>
0fe22ad2