1. 21 6月, 2018 1 次提交
    • C
      qemu_command: replace vlan= with netdev= for legacy nic · 14781dcd
      Cole Robinson 提交于
      VMs with hardcoded platform network devices are forced to use old
      style '-net nic' command line config. Current we use qemu's vlan
      option to hook this with the '-netdev' host side of things.
      
      However since qemu 1.2 there is '-net nic,netdev=X' option for
      explicitly referencing a netdev ID, which is more inline with
      typical VM commandlines, so let's switch to that
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      14781dcd
  2. 13 6月, 2018 1 次提交
  3. 06 6月, 2018 1 次提交
  4. 05 6月, 2018 32 次提交
  5. 31 5月, 2018 1 次提交
    • P
      qemu: hotplug: Fix detach of disk with managed persistent reservations · 105bcdde
      Peter Krempa 提交于
      In commit 8bebb2b7 I've refactored how the detach of disk with a
      managed persistent reservations object is handled. After the commit if
      any disk with a managed PR object would be removed libvirt would also
      attempt to remove the shared 'pr-manager-helper' object potentially used
      by other disks.
      
      Thankfully this should not have practical impact as qemu should reject
      deletion of the object if it was still used and the rest of the code is
      correct.
      
      Fix this by removing the disk from the definition earlier and checking
      if the shared/managed pr-manager-helper object is still needed.
      
      This basically splits the detach code for the managed PR object from the
      unmanaged ones. The same separation will follow for the attachment code
      as well as it greatly simplifies -blockdev support for this.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      105bcdde
  6. 29 5月, 2018 1 次提交
  7. 28 5月, 2018 3 次提交