1. 03 10月, 2013 2 次提交
  2. 02 10月, 2013 2 次提交
  3. 01 10月, 2013 15 次提交
  4. 30 9月, 2013 8 次提交
  5. 29 9月, 2013 2 次提交
  6. 28 9月, 2013 8 次提交
  7. 27 9月, 2013 3 次提交
    • D
      Fix crash in libvirtd when events are registered & ACLs active · 8294aa0c
      Daniel P. Berrange 提交于
      When a client disconnects from libvirtd, all event callbacks
      must be removed. This involves running the public API
      
        virConnectDomainEventDeregisterAny
      
      This code does not run in normal API dispatch context, so no
      identity was set. The result was that the access control drivers
      denied the attempt to deregister callbacks. The callbacks thus
      continued to trigger after the client was free'd causing fairly
      predictable use of free memory & a crash.
      
      This can be triggered by any client with readonly access when
      the ACL drivers are active.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      8294aa0c
    • C
      virsh: Fix domdisplay when domain only uses TLS · 9976c4b9
      Christophe Fergeau 提交于
      It's possible to create a domain which will only use a TLS port
      and will not have a non-TLS port set by using:
      <graphics type='spice' autoport='yes' defaultMode='secure'/>
      In such a setup, the 'graphics' node for the running domain will be:
      <graphics type='spice' tlsPort='5900'
                autoport='yes' listen='127.0.0.1'
                defaultMode='secure'>
      
      However, cmdDomDisplay loops over all the 'graphics' node, and it
      ignores nodes which don't have a 'port' attribute. This means
      'virsh domdisplay' will only return an empty string for domains
      as the one above.
      
      This commit looks for both 'port' and 'tlsPort' before deciding
      to ignore a graphics node. It also makes sure 'port' is not printed
      when it's not set.
      This makes 'virsh domdisplay' return
      'spice://127.0.0.1?tls-port=5900' for domains using only a TLS
      port.
      Signed-off-by: NChristophe Fergeau <cfergeau@redhat.com>
      9976c4b9
    • J
      qemu: Free all driver data in qemuStateCleanup · 9e03f313
      Jiri Denemark 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1011330 (case A)
      
      While activeScsiHostdevs and webSocketPorts were allocated in
      qemuStateInitialize, they were not freed in qemuStateCleanup.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      9e03f313