]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-tool: revert cpu_get_clock() abort(3)
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 29 Feb 2012 14:41:32 +0000 (14:41 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 29 Feb 2012 14:48:44 +0000 (15:48 +0100)
commit4889978e94bd16c5374f473d57f5e757fbe72485
tree1405fde2bfb87b65538628b7be9cda56adf48f24
parent6ce2d77abeb7dece24612e884a74d149cdf52376
qemu-tool: revert cpu_get_clock() abort(3)

Despite the fact that the qemu-tool environment has no guest running and
vm_clock therefore does not make sense, there is code that gets the
vm_clock time even in qemu-tool.  Therefore, revert the abort(3) call
and just return 0 like we used to.  This unbreaks qemu-img/qemu-io with
QED and Kevin has also expressed interest in this for qcow2.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-tool.c