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(a)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(a)redhat.com>