]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix the check of virDomainObjUnref()'s return value
authorWen Congyang <wency@cn.fujitsu.com>
Tue, 19 Apr 2011 02:08:21 +0000 (10:08 +0800)
committerWen Congyang <wency@cn.fujitsu.com>
Tue, 19 Apr 2011 13:46:09 +0000 (21:46 +0800)
commitd2fd997ea61ae17c241d9b19298e74244e1a1f37
treeb16e1ecff37c6a47f205721c9e4e47d849c2870a
parent68c5b6fb2b5fdabce775e9f8fc761a400e16a9d3
qemu: fix the check of virDomainObjUnref()'s return value

If vm is unlocked in virDomainObjUnref(), the return value is 0, not less
than 0.
src/qemu/qemu_process.c