• M
    domain_conf: Remove zPCI validation from formatter · db4b24b6
    Michal Privoznik 提交于
    In 07659100 a validation code was added to
    virDomainDeviceInfoFormat() which reports an error if zPCI
    address entered in was incomplete. But, there are two problems
    with this approach.
    
    The first problem is the placement of the code - it doesn't
    belong into XML formatter rather than XML validator.
    
    The second one is that at the point of formatting XML the post
    parse callback has run and thus filled in required info.
    Therefore this check can never do something useful and instead of
    moving it into validator, it's removed completely.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
    db4b24b6
domain_conf.c 1.0 MB