1. 21 12月, 2018 2 次提交
  2. 19 12月, 2018 20 次提交
  3. 18 12月, 2018 10 次提交
  4. 17 12月, 2018 4 次提交
    • J
      qemu: Add support for postcopy-requests migration statistics · 3f4914e0
      Jiri Denemark 提交于
      QEMU can report how many times during post-copy migration the domain
      running on the destination host tried to access a page which has not
      been migrated yet.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      3f4914e0
    • D
      qemu: use line breaks in command line args written to log · 07c9d660
      Daniel P. Berrangé 提交于
      The QEMU command line arguments are very long and currently all written
      on a single line to /var/log/libvirt/qemu/$GUEST.log. This introduces
      logic to add line breaks after every env variable and "-" optional
      argument, and every positional argument. This will create a clearer log
      file, which will in turn present better in bug reports when people cut +
      paste from the log into a bug comment.
      
      An example log file entry now looks like this:
      
        2018-12-14 12:57:03.677+0000: starting up libvirt version: 5.0.0, qemu version: 3.0.0qemu-3.0.0-1.fc29, kernel: 4.19.5-300.fc29.x86_64, hostname: localhost.localdomain
        LC_ALL=C \
        PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin \
        HOME=/home/berrange \
        USER=berrange \
        LOGNAME=berrange \
        QEMU_AUDIO_DRV=none \
        /usr/bin/qemu-system-ppc64 \
        -name guest=guest,debug-threads=on \
        -S \
        -object secret,id=masterKey0,format=raw,file=/home/berrange/.config/libvirt/qemu/lib/domain-33-guest/master-key.aes \
        -machine pseries-2.10,accel=tcg,usb=off,dump-guest-core=off \
        -m 1024 \
        -realtime mlock=off \
        -smp 1,sockets=1,cores=1,threads=1 \
        -uuid c8a74977-ab18-41d0-ae3b-4041c7fffbcd \
        -display none \
        -no-user-config \
        -nodefaults \
        -chardev socket,id=charmonitor,fd=23,server,nowait \
        -mon chardev=charmonitor,id=monitor,mode=control \
        -rtc base=utc \
        -no-shutdown \
        -boot strict=on \
        -device qemu-xhci,id=usb,bus=pci.0,addr=0x1 \
        -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
        -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
        -msg timestamp=on
        2018-12-14 12:57:03.730+0000: shutting down, reason=failed
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      07c9d660
    • D
      util: require command args to be non-NULL · 912c6b22
      Daniel P. Berrangé 提交于
      The virCommand APIs do not expect to be given a NULL value for an arg
      name or value. Such a mistake can lead to execution of the wrong
      command, as the NULL may prematurely terminate the list of args.
      Detect this and report suitable error messages.
      
      This identified a flaw in the storage test which was passing a NULL
      instead of the volume path. This flaw was then validated by an incorrect
      set of qemu-img args as expected data.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      912c6b22
    • R
      lxc: Set max uid/gid mappings for user namespace · f8f525ff
      Radostin Stoyanov 提交于
      There is a limit on the number of lines in the /proc/<pid>/{g,u}id_map
      files. In Linux 4.14 and earlier, this limit was (arbitrarily) set at
      5 lines. Since Linux 4.15, which was released on 28 Jan 2018, the limit
      is 340 lines.
      
      This change is documented in user_namespaces(7).
      
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6397fac4915ab3002dc15aae751455da1a852f25Signed-off-by: NRadostin Stoyanov <rstoyanov1@gmail.com>
      f8f525ff
  5. 14 12月, 2018 4 次提交