sushy-tools/sushy_tools
Ilya Etingof dbc20db622 Fix libvirt set-boot-image implementation
When libvirt driver performs set-boot-image operation, it actually
adds new block device to libvirt domain. This new 'disk' device
should be mapped on a virtual bus and possess unique bus identifiers.

Prior to this fix, these identifiers were hardcoded in the emulator,
however it turned out that static values may sometimes collide with
already existing devices on the same bus.

It seems that libvirt is capable of automatically choosing free bus
identifiers if they are not given explicitly. So the essence of this
fix is just to let libvirt pick hopefully proper mapping.

Change-Id: I19fdae4417391a2fb753ccdd0a87fe88b4184161
2019-10-01 17:37:14 +02:00
..
emulator Fix libvirt set-boot-image implementation 2019-10-01 17:37:14 +02:00
static Cleanup shebang line 2018-07-17 18:51:18 +03:00
tests Add Volume resource support 2019-09-05 18:42:16 +05:30
__init__.py Initial Commit 2017-04-06 17:05:16 +01:00
error.py Add `get/set_boot_image` to libvirt driver 2019-07-02 16:13:05 +02:00