1. 17 10月, 2017 4 次提交
  2. 16 10月, 2017 1 次提交
  3. 14 10月, 2017 3 次提交
  4. 05 10月, 2017 7 次提交
  5. 25 9月, 2017 1 次提交
  6. 21 9月, 2017 3 次提交
    • M
      qemu: Introduce a wrapper over virFileWrapperFdClose · 92524d3e
      Michal Privoznik 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1448268
      
      When migrating to a file (e.g. when doing 'virsh save file'),
      couple of things are happening in the thread that is executing
      the API:
      
      1) the domain obj is locked
      2) iohelper is spawned as a separate process to handle all I/O
      3) the thread waits for iohelper to finish
      4) the domain obj is unlocked
      
      Now, the problem is that while the thread waits in step 3 for
      iohelper to finish this may take ages because iohelper calls
      fdatasync(). And unfortunately, we are waiting the whole time
      with the domain locked. So if another thread wants to jump in and
      say copy the domain name ('virsh list' for instance), they are
      stuck.
      
      The solution is to unlock the domain whenever waiting for I/O and
      lock it back again when it finished.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      92524d3e
    • J
      qemu: Don't update CPU when formatting live def · 06f75ff2
      Jiri Denemark 提交于
      Since commit v2.2.0-199-g7ce711a3 libvirt stores an updated guest CPU
      in domain's live definition and there's no need to update it every time
      we want to format the definition. The commit itself tried to address
      this in qemuDomainFormatXML, but forgot to fix qemuDomainDefFormatLive.
      Not to mention that masking a previously set flag is only acceptable if
      the flag was set by a public API user. Internally, libvirt should have
      never set the flag in the first place.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1485022Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      06f75ff2
    • J
      cpu_conf: Drop updateCPU from virCPUDefFormat · 4fd179f5
      Jiri Denemark 提交于
      In the past we updated host-model CPUs with host CPU data by adding a
      model and features, but keeping the host-model mode. And since the CPU
      model is not normally formatted for host-model CPU defs, we had to pass
      the updateCPU flag to the formatting code to be able to properly output
      updated host-model CPUs. Libvirt doesn't do this anymore, host-model
      CPUs are turned into custom mode CPUs once updated with host CPU data
      and thus there's no reason for keeping the hacks inside CPU XML
      formatters.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      4fd179f5
  7. 20 9月, 2017 1 次提交
  8. 19 9月, 2017 2 次提交
  9. 18 9月, 2017 2 次提交
  10. 14 9月, 2017 2 次提交
    • P
      qemu: monitor: Remove support for "legacy" block jobs · 771a3860
      Peter Krempa 提交于
      Drop all the monitor code necessary to do the downstream block jobs.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      771a3860
    • P
      qemu: Remove support for legacy block jobs · 2350d101
      Peter Krempa 提交于
      Block job QMP commands with underscores rather than dashes were never
      released in upstream qemu, (they were added, but modified in the same
      release [1]), but a certain distro managed to backport the version in the
      middle.
      
      The change also slightly modified semantics for the abort command, which
      made us have a lot of code which was only ever present in certain
      downstream distros.
      
      Clean the upstream code from the legacy cruft and support only the
      upstream implementations.
      
      [1] See qemu commit v1.0-2176-gdb58f9c060
      Reviewed-by: NEric Blake <eblake@redhat.com>
      2350d101
  11. 13 9月, 2017 1 次提交
    • C
      security: add MANAGER_MOUNT_NAMESPACE flag · 321031e4
      Cole Robinson 提交于
      The VIR_SECURITY_MANAGER_MOUNT_NAMESPACE flag informs the DAC driver
      if mount namespaces are in use for the VM. Will be used for future
      changes.
      
      Wire it up in the qemu driver
      321031e4
  12. 12 9月, 2017 4 次提交
  13. 11 9月, 2017 1 次提交
  14. 07 9月, 2017 8 次提交