]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu/qdev-monitor.c
failover: make sure that id always exist
authorJuan Quintela <quintela@redhat.com>
Wed, 18 Nov 2020 08:37:42 +0000 (09:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:58 +0000 (13:48 -0500)
commitfec037c1e2da0a7ea54eabce65cc14d461fdc5eb
tree21aec25c9fdf08509ed01e6d8533a3656aa21f27
parent2e28095369f4eab516852fd49dde17c3bfd782f9
failover: make sure that id always exist

We check that it exist at device creation time, so we don't have to
check anywhere else.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20201118083748.1328-22-quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/virtio-net.c
softmmu/qdev-monitor.c