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

Pavel Hrdina phrdina at redhat.com
Thu Nov 23 14:57:46 UTC 2017


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 at 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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171123/c3324261/attachment-0001.sig>


More information about the libvir-list mailing list