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