[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2 09/21] qemu: Introduce qemuDomainChrTargetDefValidate()



On Tue, Nov 21, 2017 at 05:42:19PM +0100, Andrea Bolognani wrote:
> Instead of waiting until we get to command line generation, we can
> validate the target for a char device much earlier.
> 
> Move all the checks out of qemuBuildSerialChrDeviceStr() and into
> the new fuction. This will later allow us to validate the target
> for platform devices.
> 
> Signed-off-by: Andrea Bolognani <abologna redhat com>
> ---
>  src/qemu/qemu_command.c | 20 ---------------
>  src/qemu/qemu_domain.c  | 65 +++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 65 insertions(+), 20 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina redhat com>

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]