• C
    conf: Add <disk model='virtio-{non-}transitional'/> · 25d05051
    Cole Robinson 提交于
    <disk> devices lack the model= attribute which is used by
    most other device types. bus= mostly acts as one, but it
    serves other purposes too like determing what target=
    prefix to use, and for matching against controller type=
    values.
    
    Extending bus= to handle additional virtio transitional
    devices will complicate apps lives, and it isn't a clean
    mapping anyways. So let's bite the bullet and add a new
    <disk model=X/> attribute, and wire up common handling
    for virtio and virtio-{non-}transitional
    Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
    Signed-off-by: NCole Robinson <crobinso@redhat.com>
    25d05051
domaincommon.rng 170.8 KB