vfio/pci: Fix incorrect error message
commit6e4e6f0d403b1fb25f9dfdbe17754c643997753d
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Wed, 3 May 2017 20:52:35 +0000 (3 14:52 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 3 May 2017 20:52:35 +0000 (3 14:52 -0600)
tree5fd5722cb8795c847f72c1b04b39bb5162ff010c
parent38d49e8c1523d97d2191190d3f7b4ce7a0ab5aa3
vfio/pci: Fix incorrect error message

When the "No host device provided" error occurs, the hint message
that starts with "Use -vfio-pci," makes no sense, since "-vfio-pci"
is not a valid command line parameter.

Correct this by replacing "-vfio-pci" with "-device vfio-pci".

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c