diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-10-08 15:34:40 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-10-15 16:11:22 +0200 |
commit | 12b2fad7dcc8d08b6a59d1b14caa392ea614c6d9 (patch) | |
tree | 3855001d9766af91ba35e1c6ec129dd9f7dc3f35 /include/monitor | |
parent | 259a10dbcb4f36a3489fb52f9f7a654761589448 (diff) | |
download | qemu-12b2fad7dcc8d08b6a59d1b14caa392ea614c6d9.zip qemu-12b2fad7dcc8d08b6a59d1b14caa392ea614c6d9.tar.gz qemu-12b2fad7dcc8d08b6a59d1b14caa392ea614c6d9.tar.bz2 |
virtio-net: Avoid QemuOpts in failover_find_primary_device()
Don't go through the global QemuOptsList, it is state of the legacy
command line parser and we will create devices that are not contained
in it. It is also just the command line configuration and not
necessarily the current runtime state.
Instead, look at the qdev device tree which has the current state of all
existing devices.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20211008133442.141332-14-kwolf@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/monitor')
0 files changed, 0 insertions, 0 deletions