52a166f Assign default SCSI controller model before checking attribute validity

Authored and Committed by Ján Tomko 9 years ago
    Assign default SCSI controller model before checking attribute validity
    
    If the qemu binary on x86 does not support lsi SCSI controller,
    but it supports virtio-scsi, we reject the virtio-specific attributes
    for no reason.
    
    Move the default controller assignment before the check.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1168849
    
        
file modified
+7 -6