[5580] Move CharDriverState code out of vl.c
Revision: 5580
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5580 Author: aliguori Date: 2008-10-31 18:49:55 +0000 (Fri, 31 Oct 2008)
Log Message:
-----------
Move CharDriverState code out of vl.c
The motivating goal behind this is to allow other tools to use the CharDriver code. This patch is pure code motion except for the Makefile changes and the copyright/header in qemu-char.c.
Modified Paths:
--------------
trunk/Makefile.target
trunk/vl.c
Added Paths:
-----------
trunk/qemu-char.c
Modified: trunk/Makefile.target
===================================================================
Makefile.target +1 -1
@@ -579,7 +579,7 @@ ifndef CONFIG_USER_ONLY OBJS=vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o machine.o net-checksum.o -OBJS+=fw_cfg.o aio.o buffered_file.o migration.o migration-tcp.o +OBJS+=fw_cfg.o aio.o buffered_file.o migration.o migration-tcp.o qemu-char.o ifdef CONFIG_WIN32 OBJS+=block-raw-win32.o else
Added: trunk/qemu-char.c
===================================================================
qemu-char.c +2202 -0
2,202 lines not on this page · raw message
Modified: trunk/vl.c
===================================================================
vl.c +1 -2113
790 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Quoted 10 lines · Anthony Liguori
Revision: 5580
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5580Author: aliguori
Date: 2008-10-31 18:49:55 +0000 (Fri, 31 Oct 2008)Log Message:
-----------
Move CharDriverState code out ofvl.c+inline int
send_all(int fd, const uint8_t *buf, int len1)
Forgot something?
Quoted 13 lines · Blue Swirl
Quoted 9 lines · Anthony Liguori
Revision: 5580
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5580Author: aliguori
Date: 2008-10-31 18:49:55 +0000 (Fri, 31 Oct 2008)Log Message:
-----------
Move CharDriverState code out ofvl.c
Quoted 5 lines
Quoted 2 lines
+inline int
send_all(int fd, const uint8_t *buf, int len1)Forgot something?
Yeah, sorry about that. I had updated the patch but it didn't apply anymore so I redid the motion. I fixed it in SVN.
Regards,
Anthony Liguori