[PATCH] virsh: Remove any reference of KVM device assignment

Michal Privoznik mprivozn at redhat.com
Tue Apr 5 08:42:03 UTC 2022


The KVM device assignment was removed in v5.7.0-rc1~103 but virsh
and its manpage still mention it. Don't do that.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 docs/manpages/virsh.rst | 7 +++----
 tools/virsh-nodedev.c   | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst
index d2e6528533..215beabd96 100644
--- a/docs/manpages/virsh.rst
+++ b/docs/manpages/virsh.rst
@@ -5198,10 +5198,9 @@ guests via <hostdev> passthrough.  This is reversed with
 ``nodedev-reattach``, and is done automatically for managed devices.
 
 Different backend drivers expect the device to be bound to different
-dummy devices. For example, QEMU's "kvm" backend driver (the default)
-expects the device to be bound to pci-stub, but its "vfio" backend
-driver expects the device to be bound to vfio-pci. The *--driver*
-parameter can be used to specify the desired backend driver.
+dummy devices. For example, QEMU's "vfio" backend driver expects the
+device to be bound to vfio-pci. The *--driver* parameter can be used
+to specify the desired backend driver.
 
 
 nodedev-dumpxml
diff --git a/tools/virsh-nodedev.c b/tools/virsh-nodedev.c
index d21b2baab6..90066249af 100644
--- a/tools/virsh-nodedev.c
+++ b/tools/virsh-nodedev.c
@@ -615,7 +615,7 @@ static const vshCmdOptDef opts_node_device_detach[] = {
     {.name = "driver",
      .type = VSH_OT_STRING,
      .completer = virshNodeDevicePCIBackendCompleter,
-     .help = N_("pci device assignment backend driver (e.g. 'vfio' or 'kvm')")
+     .help = N_("pci device assignment backend driver (e.g. 'vfio' or 'xen')")
     },
     {.name = NULL}
 };
-- 
2.35.1



More information about the libvir-list mailing list