1. 06 11月, 2010 1 次提交
  2. 05 11月, 2010 1 次提交
  3. 03 11月, 2010 6 次提交
    • S
      macvtap: libvirtd forgot macvtap dev name when restarted · c4bd44d9
      Stefan Berger 提交于
      During a shutdown/restart cycle libvirtd forgot the macvtap device name that it had created on behalf of a VM so that a stale macvtap device remained on the host when the VM terminated. Libvirtd has to actively tear down a macvtap device and it uses its name for identifying which device to tear down.
      
      The solution is to not blank out the <target dev='...'/> completely, but only blank it out on VMs that are not active. So, if a VM is active, the device name makes it into the XML and is also being parsed. If a VM is not active, the device name is discarded.
      c4bd44d9
    • O
      tests: fix daemon-conf testing failure · d9c75c8d
      Osier Yang 提交于
      libvirtd.conf uses "libvirt" as the value of "unix_sock_group",
      however, group "libvirt" may not exist on the system, in this case
      the case will always fail.
      
      As a solution, replace "libvirt" with "$USER" in "tmp.conf".
      d9c75c8d
    • D
      Fix virPipeReadUntilEOF on more than 1024 bytes of data · 04cbfa4f
      Daniel Veillard 提交于
      virPipeReadUntilEOF is used to read the stdout of exec'ed
      and this could fail to capture the full output and read only
      1024 bytes.
        The problem is that this is based on a poll loop, and in the
      loop we read at most 1024 bytes per file descriptor, but we also
      note in the loop if poll indicates that the process won't output
      more than that on that fd by setting finished[i] = 1.
        The simplest way is that if we read a full buffer make sure
      finished[i] is still 0 because we will need another pass in the
      loop.
      04cbfa4f
    • E
      virterror: supply missing spaces · b50408c1
      Eric Blake 提交于
      * src/util/virterror.c (virErrorDomainName): Always supply
      trailing space if category was present.
      b50408c1
    • E
      xen: work with xen 4.0.1 headers · 8dd22be9
      Eric Blake 提交于
      * src/xen/xen_driver.h (includes): Include main xen headers
      here...
      * src/xen/xs_internal.c (includes): ...rather than in just one of
      the sub-drivers.
      8dd22be9
    • J
      Fix build with polkit 0 · 98b8424e
      Jim Fehlig 提交于
      Commit e8066d53 broke the build with polkit0:
      
      remote.c: In function 'remoteDispatchAuthPolkit':
      remote.c:4177: error: 'rv' undeclared (first use in this function)
      
      Add missing identifier.
      98b8424e
  4. 02 11月, 2010 12 次提交
  5. 01 11月, 2010 1 次提交
    • E
      xen: work with ia64 MAX_VIRT_CPUS of 64 · dc27e089
      Eric Blake 提交于
      * src/xen/xen_hypervisor.c (MAX_VIRT_CPUS): Move...
      * src/xen/xen_driver.h (MAX_VIRT_CPUS): ...so all xen code can see
      same value.
      * src/xen/xend_internal.c (sexpr_to_xend_domain_info)
      (xenDaemonDomainGetVcpusFlags, xenDaemonParseSxpr)
      (xenDaemonFormatSxpr): Work if MAX_VIRT_CPUS is 64 on a platform
      where long is 64-bits.
      * src/xen/xm_internal.c (xenXMDomainConfigParse)
      (xenXMDomainConfigFormat): Likewise.
      dc27e089
  6. 30 10月, 2010 3 次提交
    • D
      build: cleanup declaration of xen tests. · 2f88770b
      Diego Elio Pettenò 提交于
      Only build statstest and reconnect if they should be used, so add them
      behind the ENABLE_XEN_TESTS conditional.
      2f88770b
    • K
    • K
      add compression support for "virsh dump" · 95a17abd
      KAMEZAWA Hiroyuki 提交于
      Add dump_image_format[] to qemu.conf and support compressed dump
      at virsh dump. coredump compression is important for saving disk space
      in an environment where multiple guests run.
      
      In general, "disk space for dump" is specially allocated and will be
      a dead space in the system. It's used only at emergency. So, it's better
      to have both of save_image_format and dump_image_format. "save" is done
      in scheduled manner with enough calculated disk space for it.
      
      This code reuses some of save_image_format[] and supports the same format.
      
      Changelog:
       - modified libvirtd_qemu.aug
       - modified test_libvirtd_qemu.aug
       - fixed error handling of qemudSaveCompressionTypeFromString()
      95a17abd
  7. 29 10月, 2010 7 次提交
  8. 28 10月, 2010 9 次提交