The main qemud.c file has alot of code which deals with starting and stopping
QEMU, dnsmasq processes, setting up iptables and generally controlling the
lifecycle of VMs and networks. With the advent of the general purpose event
loop code, there is no need for any of this to be present in the qemud.c
file. So this patch moves the code into the driver.c file. The qemud.d file
is now solely responsible with client/server socket code.
driver.c | 1041 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
driver.h | 14
internal.h | 14
qemud.c | 1036 ------------------------------------------------------------
4 files changed, 1062 insertions(+), 1043 deletions(-)
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|