On Tue, Nov 16, 2010 at 1:15 AM, Michael Roth <mdr...@linux.vnet.ibm.com> wrote: > Daemon to be run in guest, or on host in standalone mode. > (re-)implements some qemu utility functions used by core virtproxy.c > code via wrapper functions. For built-in virtproxy code we will define > these wrapper functions in terms of qemu's built-in implementations. > > Main logic will come in a later patch. > > Signed-off-by: Michael Roth <mdr...@linux.vnet.ibm.com> > --- > qemu-vp.c | 151 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 151 insertions(+), 0 deletions(-) > create mode 100644 qemu-vp.c
Can you move IOHandlerRecord, main_loop_wait(), and friends out of vl.c and into a portable self-contained file that can be used both from qemu and virtproxy? Also, check out 0290b57bdfec83ca78b6d119ea9847bb17943328 which fixes a main_loo_wait() bug. It was recently committed and didn't make it into qemu-vp.c. It would be unfortunate to duplicate this code. Stefan