]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: fix dispatch for node device APIs for virt drivers
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 9 Mar 2020 11:59:35 +0000 (11:59 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Mar 2020 13:58:20 +0000 (13:58 +0000)
commit744208e7db96c023f0c813708f5ed012f1ae17f8
tree89b74ff91182322bd6a70d9cc34f99925cdac307
parent0137bf0dab2738d5443e2f407239856e2aa25bb3
rpc: fix dispatch for node device APIs for virt drivers

Despite their names, the following APIs:

    virNodeDeviceDettach
    virNodeDeviceDetachFlags
    virNodeDeviceReAttach
    virNodeDeviceReset

are all handled by the virt drivers, not the node device driver.
A bug in the RPC generator meant that these APIs were sent to
the nodedev driver for handling. This caused breakage with the
split daemons, since nothing was available to process them.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/gendispatch.pl