• Si-Wei Liu's avatar
    vdpa: validate device feature provisioning against supported class · dbb6f1c4
    Si-Wei Liu authored
    Today when device features are explicitly provisioned, the features
    user supplied may contain device class specific features that are
    not supported by the parent management device. On the other hand,
    when parent management device supports more than one class, the
    device features to provision may be ambiguous if none of the class
    specific attributes is provided at the same time. Validate these
    cases and prompt appropriate user errors accordingly.
    Signed-off-by: default avatarSi-Wei Liu <si-wei.liu@oracle.com>
    Message-Id: <1675725124-7375-5-git-send-email-si-wei.liu@oracle.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    dbb6f1c4
vdpa.c 33.3 KB