]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-io-cmds.c
qemu-io: Factor out qemuio_command
authorKevin Wolf <kwolf@redhat.com>
Wed, 5 Jun 2013 12:19:32 +0000 (14:19 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 6 Jun 2013 09:27:04 +0000 (11:27 +0200)
commitdd5832967ac3fe96bd5bf9f199639176998ead69
treea5053905409672db4fc98332fcc44824ed01a521
parent797ac58cb2093ab9192d8998a1fef85d87cc8661
qemu-io: Factor out qemuio_command

It's duplicated code. Move it to qemu-io-cmds.c because it's not
dependent on any static data of the qemu-io tool.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
cmd.c
cmd.h
qemu-io-cmds.c