virtio-rng-pci: fix transitional migration compat for vectors
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 7 Feb 2023 17:49:44 +0000 (17:49 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2023 08:10:47 +0000 (03:10 -0500)
commit62bdb8871512076841f4464f7e26efdc7783f78d
treeebff3c903b607751799829c3552c8691cf5ac3c4
parentf0dac71596d4b87a1a77d1f4efb6a6adb4730d7b
virtio-rng-pci: fix transitional migration compat for vectors

In bad9c5a516 ("virtio-rng-pci: fix migration compat for vectors") I
fixed the virtio-rng-pci migration compatibility, but it was discovered
that we also need to fix the other aliases of the device for the
transitional cases.

Fixes: 9ea02e8f1 ('virtio-rng-pci: Allow setting nvectors, so we can use MSI-X')
bz: https://bugzilla.redhat.com/show_bug.cgi?id=2162569
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20230207174944.138255-1-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/machine.c