1. 10 7月, 2017 5 次提交
    • 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
    • J
      tests: virstringtest: adding tests to virStrToDouble() · 89cb34c7
      Julio Faracco 提交于
      There are no occurrences of tests related to Strings and Double numbers
      inside virstringtest.c. This commit introduces some tests to validate the
      conversion. The test does not include locale changes yet.
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      89cb34c7
  2. 08 7月, 2017 6 次提交
    • S
      news: Update news for new Hyper-V APIs · 840c97b0
      Sri Ramanujam 提交于
      840c97b0
    • S
      hyperv: Add support for virDomainSetMemory · 48c537f3
      Sri Ramanujam 提交于
      Introduces support for virDomainSetMemory. This also serves an an
      example for how to use the new method invocation API with a more
      complicated method, this time including an EPR and embedded param.
      48c537f3
    • S
      hyperv: support virDomainSendKey · 8efd5b64
      Sri Ramanujam 提交于
      This commit adds support for virDomainSendKey. It also serves as an
      example of how to use the new method invocation APIs with a single
      "simple" type parameter.
      8efd5b64
    • S
      hyperv: add hypervInvokeMethod · 8c28c76a
      Sri Ramanujam 提交于
      This commit adds support for invoking methods on remote objects
      via hypervInvokeMethod.
      8c28c76a
    • S
      hyperv: Generate object property type information · e4a2f5a2
      Sri Ramanujam 提交于
      Update the generator to generate basic property type information for
      each CIM object representation. Right now, it generates arrays of
      hypervCimType structs:
      
      struct _hypervCimType {
          const char *name;
          const char *type;
          bool isArray;
      };
      e4a2f5a2
    • S
      hyperv: Functions to work with invocation parameters · 638a5efd
      Sri Ramanujam 提交于
      This commit introduces functionality for creating and working with
      invoke parameters. This commit does not include any code for serializing
      and actually performing the method invocations; it merely defines the
      functions and API for using invocation parameters in driver code.
      
      HYPERV_DEFAULT_PARAM_COUNT was chosen because almost no method
      invocations have more than 4 parameters.
      
      Functions added:
      * hypervInitInvokeParamsList
      * hypervFreeInvokeParams
      * hypervAddSimpleParam
      * hypervAddEprParam
      * hypervCreateEmbeddedParam
      * hypervSetEmbeddedProperty
      * hypervAddEmbeddedParam
      * hypervFreeEmbeddedParam
      638a5efd
  3. 07 7月, 2017 1 次提交
  4. 05 7月, 2017 5 次提交
  5. 04 7月, 2017 3 次提交
  6. 30 6月, 2017 2 次提交
  7. 29 6月, 2017 3 次提交
  8. 28 6月, 2017 8 次提交
  9. 27 6月, 2017 3 次提交
  10. 26 6月, 2017 4 次提交