a9254a2 qemu: Validate target model for serial devices

Authored and Committed by Andrea Bolognani 6 years ago
    qemu: Validate target model for serial devices
    
    Target model and target type must agree for the configuration
    to make sense, so check that's actually the case and error out
    otherwise.
    
    Signed-off-by: Andrea Bolognani <abologna@redhat.com>
    Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
    
        
file modified
+2 -0
file modified
+41 -0