1. 23 10月, 2017 8 次提交
  2. 22 10月, 2017 2 次提交
    • M
      conf: Parse user supplied aliases · c14f1ed2
      Michal Privoznik 提交于
      If driver that is calling the parse supports user supplied
      aliases, they can be parsed even for inactive XMLs. However, to
      avoid any clashes with aliases that libvirt generates, the user
      ones have to have "ua-" prefix.
      
      Note, that some drivers don't have notion of device aliases at
      all. Also, in order to support user supplied aliases some extra
      checks need to be done (e.g. during hotplug). Therefore we can't
      just enable this feature for all the drivers. Thus we need a flag
      that drivers set to tell parsing code that they can handle user
      supplied device aliases.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c14f1ed2
    • M
      qemu_alias: Be more tolerant if alias don't follow our format · ad30f069
      Michal Privoznik 提交于
      When assigning alias to a device we usually iterate over other
      devices of its kind trying to find next index. We do this by
      stripping down the prefix and then parsing number at the end,
      Usually, if the prefix doesn't match the one we are expecting, we
      just continue with next iteration. Except for couple of
      functions: qemuGetNextChrDevIndex(),
      qemuAssignDeviceRedirdevAlias() and qemuAssignDeviceShmemAlias().
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ad30f069
  3. 21 10月, 2017 1 次提交
  4. 20 10月, 2017 16 次提交
  5. 19 10月, 2017 13 次提交