1. 18 7月, 2019 14 次提交
  2. 16 7月, 2019 7 次提交
  3. 15 7月, 2019 8 次提交
  4. 12 7月, 2019 1 次提交
  5. 11 7月, 2019 3 次提交
    • J
      qemu: stop formatting json='1' in status XML · 173a191c
      Ján Tomko 提交于
      For quite some time now it is impossible to connect to a domain
      using a HMP monitor, so there is no point in formatting it in the status
      XML.
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      173a191c
    • D
      qemu: acquire a pidfile in the driver root directory · 1af03e27
      Daniel P. Berrangé 提交于
      When we allow multiple instances of the driver for the same user
      account, using a separate root directory, we need to ensure mutual
      exclusion. Use a pidfile to guarantee this.
      
      In privileged libvirtd this ends up locking
      
         /var/run/libvirt/qemu/driver.pid
      
      In unprivileged libvirtd this ends up locking
      
        /run/user/$UID/libvirt/qemu/run/driver.pid
      
      NB, the latter can vary depending on $XDG_RUNTIME_DIR
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      1af03e27
    • E
      snapshot: Add VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE flag · 95f8e323
      Eric Blake 提交于
      We've been doing a terrible job of performing XML validation in our
      various API that parse XML with a corresponding schema (we started
      with domains back in commit dd69a14f, v1.2.12, but didn't catch all
      domain-related APIs, didn't document the use of the flag, and didn't
      cover other XML). New APIs (like checkpoints) should do the validation
      unconditionally, but it doesn't hurt to continue retrofitting existing
      APIs to at least allow the option.
      
      While there are many APIs that could be improved, this patch focuses
      on wiring up a new snapshot XML creation flag through all the
      hypervisors that support snapshots, as well as exposing it in 'virsh
      snapshot-create'.  For 'virsh snapshot-create-as', we blindly set the
      flag without a command-line option, since the XML we create from the
      command line should generally always comply (note that validation
      might cause failures where it used to succeed, such as if we tighten
      the RNG to reject a name of '../\n'); but blindly passing the flag
      means we also have to add in fallback code to disable validation if
      the server is too old to understand the flag.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      95f8e323
  6. 08 7月, 2019 1 次提交
  7. 03 7月, 2019 5 次提交
  8. 27 6月, 2019 1 次提交