Re: [libvirt] [PATCH v2 03/14] qemuBuildInterfaceCommandLine: Move hostdev handling a bit further

2016-10-13 Thread Michal Privoznik
On 13.10.2016 22:58, John Ferlan wrote: > > > On 10/06/2016 09:38 AM, Michal Privoznik wrote: >> The idea is to have function that does some checking of the >> arguments at its beginning and then have one big switch for all >> the interface types it supports. Each one of them generating the >> co

Re: [libvirt] [PATCH v2 03/14] qemuBuildInterfaceCommandLine: Move hostdev handling a bit further

2016-10-13 Thread John Ferlan
On 10/06/2016 09:38 AM, Michal Privoznik wrote: > The idea is to have function that does some checking of the > arguments at its beginning and then have one big switch for all > the interface types it supports. Each one of them generating the > corresponding part of the command line. > > Signed-

[libvirt] [PATCH v2 03/14] qemuBuildInterfaceCommandLine: Move hostdev handling a bit further

2016-10-06 Thread Michal Privoznik
The idea is to have function that does some checking of the arguments at its beginning and then have one big switch for all the interface types it supports. Each one of them generating the corresponding part of the command line. Signed-off-by: Michal Privoznik --- src/qemu/qemu_command.c