Move filedescriptor parsing code from net.c into qemu_parse_fd()
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 28 Sep 2011 10:41:32 +0000 (06:41 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 21:52:08 +0000 (16:52 -0500)
commit507f3db5e50d7cbcffc4335aeeadc03d86fc2733
tree960cdab08620defed8855e9d8101418fc78b03c6
parentccbde5db1a6fbaee51a28fd0659136eacae50be6
Move filedescriptor parsing code from net.c into qemu_parse_fd()

Move the parsing of a filedescriptor into a common function
qemu_parse_fd() so others can use it as well. Have net.c call this
function.

v2:
 - moving qemu_parse_fd into cutils.c

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cutils.c
net.c
qemu-common.h