1. 26 10月, 2017 8 次提交
  2. 25 10月, 2017 2 次提交
    • D
      vbox: Make autoport set RDP port range. · 380815f8
      Dawid Zamirski 提交于
      Originally autoport in vbox driver was setting the port to default value
      (3389) which caused multiple VM instances use the same port. Since
      libvirt XML does not allow to set port ranges, this patch changes the
      "autoport" behavior to set VBox's "TCP/Ports" property to an arbitrary
      port range (3389-3689) to avoid that issue.
      380815f8
    • D
      vbox: Remove old unflexible macros · 32845fd6
      Dawid Zamirski 提交于
      The VBOX_SESSION_OPEN/CLOSE macros are only called in
      _vboxDomainSnapshotRestore and they are unflexible because:
      
      * assume the caller will have variable named "data"
      * can only create Write lock type
      
      As per above, it's not that hard to simply use the VBOX API directly.
      32845fd6
  3. 24 10月, 2017 3 次提交
  4. 23 10月, 2017 16 次提交
  5. 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
  6. 21 10月, 2017 1 次提交
  7. 20 10月, 2017 8 次提交