[libvirt] [PATCH v5 12/16] qemu: Move PCI command modelName TypeToString to controller def validate

Michal Privoznik mprivozn at redhat.com
Sun Jan 28 08:48:12 UTC 2018


On 01/06/2018 12:47 AM, John Ferlan wrote:
> Similar to the checking the modelName vs. NAME_NONE, let's make the
> ModelNameTypeToString check more generic too within the checking done
> in controller validation (with the same ignore certain models.
> 
> NB: We need to keep the ModelNameTypeToString fetch in command line
> validation since we use it, but at least we can assume it returns
> something valid now.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/qemu/qemu_command.c | 59 +++----------------------------------------------
>  src/qemu/qemu_domain.c  | 10 +++++++++
>  2 files changed, 13 insertions(+), 56 deletions(-)

ACK

Michal




More information about the libvir-list mailing list