1. 11 7月, 2017 34 次提交
  2. 10 7月, 2017 6 次提交
    • S
      Use unsigned timeout in cmdMigrateSetMaxDowntime · 7432141c
      Scott Garfinkle 提交于
      While looking to implement a migrate-getmaxdowntime command (coming),
      I noticed that the setmaxdowntime is incorrectly looking at its
      parameter as a signed longlong. Not sure how that got past gcc, but
      here's a simple patch to make the command line parsing and the parameter to
      the worker functions all have the correct (unsigned) type.
      Signed-off-by: NScott Garfinkle <seg@us.ibm.com>
      7432141c
    • F
      docs: add entry for Ravada to apps page · fde0dff6
      Francesc Guasch 提交于
      fde0dff6
    • M
      docs: Properly quote self uri in search.php · f27dd534
      Martin Kletzander 提交于
      This removes the classical XSS vulnerability of using unquoted
      PHP_SELF.
      Reported-by: NJohn Lightsey <john@nixnuts.net>
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      f27dd534
    • P
      qemu: domain: Use vcpu 'node-id' property and pass it back to qemu · ccac4465
      Peter Krempa 提交于
      vcpu properties gathered from query-hotpluggable cpus need to be passed
      back to qemu. As qemu did not use the node-id property until now and
      libvirt forgot to pass it back properly (it was parsed but not passed
      around) we did not honor this.
      
      This patch adds node-id to the structures where it was missing and
      passes it around as necessary.
      
      The test data was generated with a VM with following config:
          <numa>
            <cell id='0' cpus='0,2,4,6' memory='512000' unit='KiB'/>
            <cell id='1' cpus='1,3,5,7' memory='512000' unit='KiB'/>
          </numa>
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1452053
      ccac4465
    • P
      configure: fix typo in nss error message · 1df47a70
      Pino Toscano 提交于
      This error message refers to the lack of network, not to yajl.
      Signed-off-by: NPino Toscano <ptoscano@redhat.com>
      1df47a70
    • J
      tools: virsh: domdisplay command is not freeing the domain pointer · f50ba8e4
      Julio Faracco 提交于
      The command 'domdisplay' is not freeing the domain pointer properly in
      cleanup section. See the error below:
      
      virsh # domdisplay WINDOWS7
      vnc://127.0.0.1:0
      
      virsh # quit
      
      error: One or more references were leaked after disconnect from the hypervisor
      
      Valgrind report:
      
      ==29168== 66 (56 direct, 10 indirect) bytes in 1 blocks are definitely lost in loss record 154 of 239
      ==29168==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==29168==    by 0x5505324: virAllocVar (viralloc.c:560)
      ==29168==    by 0x555A61B: virObjectNew (virobject.c:199)
      ==29168==    by 0x561F367: virGetDomain (datatypes.c:284)
      ==29168==    by 0x5680979: get_nonnull_domain (remote_driver.c:8143)
      ==29168==    by 0x5680979: remoteDomainLookupByName (remote_client_bodies.h:3047)
      ==29168==    by 0x5623D9A: virDomainLookupByName (libvirt-domain.c:425)
      ==29168==    by 0x160480: virshLookupDomainInternal (virsh-util.c:59)
      ==29168==    by 0x160547: virshCommandOptDomainBy (virsh-util.c:98)
      ==29168==    by 0x13D3A9: cmdDomDisplay (virsh-domain.c:10963)
      ==29168==    by 0x165680: vshCommandRun (vsh.c:1327)
      ==29168==    by 0x12E320: main (virsh.c:953)
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      f50ba8e4