1. 01 2月, 2018 2 次提交
    • J
      qemu: Split qemuDomainSetSCSIControllerModel · e37540f4
      John Ferlan 提交于
      Rather than one function serving two purposes, let's split out the
      else condition which is checking whether the model can be used
      during command line building based on the capabilities.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      e37540f4
    • M
      virUSBDeviceNew: Construct vroot path properly · 7b0ea999
      Michal Privoznik 提交于
      When starting an LXC container, the /dev entries are created
      under temp root (/var/run/libvirt/lxc/$name.dev), relabelled and
      then the root is pivoted. However, when it comes to USB devices
      which keep path to the device in the structure we need a way to
      override the default /dev/usb/... path because we want to work
      with the one under temp root. That's what @vroot argument is for
      in virUSBDeviceNew. However, what is being passed there is:
      
        vroot = /var/run/libvirt/lxc/lxc_0.dev/bus/usb
      
      Therefore, constructed path is wrong:
      
        dev->path = //var/run/libvirt/lxc/lxc_0.dev/bus/usb//dev/bus/usb/002/002
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      7b0ea999
  2. 31 1月, 2018 24 次提交
  3. 30 1月, 2018 9 次提交
  4. 29 1月, 2018 5 次提交