Re: [Qemu-devel] [PATCH RFC 1/1] vfio/pci: Fix incorrect error message

2017-04-26 Thread Dong Jia Shi
* Auger Eric [2017-04-26 10:06:58 +0200]: Hi Eric, > Hi Dong, > > On 25/04/2017 06:56, Dong Jia Shi wrote: > > * Dong Jia Shi [2017-04-25 06:52:01 +0200]: > > > > Hey Alex, > > > > Please ignore the "RFC" tag in the subject. Sorry for the mistake. > > > >> When the "No host device provided"

Re: [Qemu-devel] [PATCH RFC 1/1] vfio/pci: Fix incorrect error message

2017-04-26 Thread Auger Eric
Hi Dong, On 25/04/2017 06:56, Dong Jia Shi wrote: > * Dong Jia Shi [2017-04-25 06:52:01 +0200]: > > Hey Alex, > > Please ignore the "RFC" tag in the subject. Sorry for the mistake. > >> When the "No host device provided" error occurs, the hint message >> that starts with "Use -vfio-pci," makes

Re: [Qemu-devel] [PATCH RFC 1/1] vfio/pci: Fix incorrect error message

2017-04-24 Thread Dong Jia Shi
* Dong Jia Shi [2017-04-25 06:52:01 +0200]: Hey Alex, Please ignore the "RFC" tag in the subject. Sorry for the mistake. > 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 parame

[Qemu-devel] [PATCH RFC 1/1] vfio/pci: Fix incorrect error message

2017-04-24 Thread Dong Jia Shi
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 --- hw/vfio/pci.c | 4 ++-- 1 f