aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/cli.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2020-07-16 12:55:42 +0000
committerBenoƮt Ganne <bganne@cisco.com>2020-08-20 09:33:23 +0000
commita0a68339b783c1663776225c264b309506934722 (patch)
tree0517cc802ecb63e90f5a2878bcea89edf53ac4c1 /src/vnet/devices/virtio/cli.c
parent224735bf090cde43827499405f663f859f82e161 (diff)
virtio: refactor pci device code
Type: refactor Change-Id: I7342178f9ab9adb99b91a4f984bc22bef2ce8021 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/cli.c')
-rw-r--r--src/vnet/devices/virtio/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/cli.c b/src/vnet/devices/virtio/cli.c
index 1b37338af1f..6d47bad7e39 100644
--- a/src/vnet/devices/virtio/cli.c
+++ b/src/vnet/devices/virtio/cli.c
@@ -229,7 +229,7 @@ show_virtio_pci_fn (vlib_main_t * vm, unformat_input_t * input,
{
vif = pool_elt_at_index (vim->interfaces, hi->dev_instance);
if (vif->type == VIRTIO_IF_TYPE_PCI)
- debug_device_config_space (vm, vif);
+ vif->virtio_pci_func->device_debug_config_space (vm, vif);
}
virtio_show (vm, hw_if_indices, show_descr, VIRTIO_IF_TYPE_PCI);