[libvirt] [PATCH 2/2] qemu: alias: Fix calculation of memory device aliases

Pavel Hrdina phrdina at redhat.com
Wed Apr 6 16:16:11 UTC 2016


On Wed, Apr 06, 2016 at 05:52:49PM +0200, Peter Krempa wrote:
> For device hotplug, the new alias ID needs to be checked in the list
> rather than using the count of devices. Unplugging a device that is not
> last in the array will make further hotplug impossible due to alias
> collision.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324551
> ---
>  src/qemu/qemu_alias.c   | 27 +++++++++++++++++++++++++++
>  src/qemu/qemu_alias.h   |  4 ++++
>  src/qemu/qemu_hotplug.c |  2 +-
>  3 files changed, 32 insertions(+), 1 deletion(-)

ACK with the same update as for first patch.

Pavel




More information about the libvir-list mailing list