1. 21 5月, 2010 6 次提交
    • C
      daemon: A few initscript corrections · 9d0adf24
      Cole Robinson 提交于
      Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=565238
      
      - Avahi service is called 'avahi-daemon'
      - chkconfig descriptions must use \ for line continuations
      9d0adf24
    • C
      qemu: Use ShutdownVMDaemon for all startup cleanup paths · ac23d911
      Cole Robinson 提交于
      The current cleanup: in StartVMDaemon path is a poor duplication.
      qemuShutdownVMDaemon can handle teardown for inactive VMs, so let's use it.
      
      v2: Remove old abort: label, only use cleanup:
      ac23d911
    • C
      Domain snapshot RNG and tests. · 54971d91
      Chris Lalancette 提交于
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      54971d91
    • C
      Fix up the python bindings for snapshotting. · 8749256d
      Chris Lalancette 提交于
      This involved a few fixes.  To start with,
      an virDomainSnapshot object is really tied to a
      domain, not a connection, so we have to generate
      a slightly different object so that we can get
      at self._dom for the object.
      
      Next, we had to "dummy" up an override piece of
      XML with a bogus argument that the function doesn't
      actually take.  That's so that the generator places
      virDomainRevertToSnapshot underneath the correct
      class (namely, the virDomain class).
      
      Finally, we had to hand-implement the
      virDomainRevertToSnapshot implementation, ignoring the
      bogus pointer we are being passed.
      
      With all of this in place, I was able to successfully
      take a snapshot and revert to it using only the
      Python bindings.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      8749256d
    • J
      qemu_conf.c: also recognize new first line of qemu -help output · 20beb0c0
      Jim Meyering 提交于
      * src/qemu/qemu_conf.c (QEMU_VERSION_STR_1, QEMU_VERSION_STR_2):
      Define these instead of...
      (QEMU_VERSION_STR): ... this.  Remove definition.
      (qemudParseHelpStr): Check first for the new, shorter prefix,
      "QEMU emulator version", and then for the old one,
      "QEMU PC emulator version" when trying to parse the version number.
      Based on a patch by Chris Wright.
      20beb0c0
    • J
      lxc_controller.c: don't ignore failed "accept" · 1f6fc519
      Jim Meyering 提交于
      * src/lxc/lxc_controller.c (ignorable_epoll_accept_errno): New function.
      (lxcControllerMain): Handle a failed accept carefully:
      most errno values indicate legitimate failure and must be fatal.
      However, ignore a special case: that in which an incoming client quits
      between the poll() indicating its presence, and our accept() which
      is trying to process it.
      1f6fc519
  2. 20 5月, 2010 13 次提交
  3. 19 5月, 2010 19 次提交
  4. 18 5月, 2010 2 次提交