char: move char devices to chardev/
Suggested by Paolo Bonzini during series review. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
		
							parent
							
								
									1ce2610c10
								
							
						
					
					
						commit
						6b10e573d1
					
				|  | @ -1239,13 +1239,11 @@ M: Marc-André Lureau <marcandre.lureau@redhat.com> | |||
| S: Maintained | ||||
| F: chardev/ | ||||
| F: include/chardev/ | ||||
| F: backends/msmouse.c | ||||
| F: backends/testdev.c | ||||
| 
 | ||||
| Character Devices (Braille) | ||||
| M: Samuel Thibault <samuel.thibault@ens-lyon.org> | ||||
| S: Maintained | ||||
| F: backends/baum.c | ||||
| F: chardev/baum.c | ||||
| 
 | ||||
| Command line option argument parsing | ||||
| M: Markus Armbruster <armbru@redhat.com> | ||||
|  |  | |||
|  | @ -50,8 +50,6 @@ common-obj-$(CONFIG_LINUX) += fsdev/ | |||
| 
 | ||||
| common-obj-y += migration/ | ||||
| 
 | ||||
| common-obj-$(CONFIG_SPICE) += spice-qemu-char.o | ||||
| 
 | ||||
| common-obj-y += audio/ | ||||
| common-obj-y += hw/ | ||||
| common-obj-y += accel.o | ||||
|  | @ -70,6 +68,7 @@ common-obj-y += tpm.o | |||
| common-obj-$(CONFIG_SLIRP) += slirp/ | ||||
| 
 | ||||
| common-obj-y += backends/ | ||||
| common-obj-y += chardev/ | ||||
| 
 | ||||
| common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o | ||||
| 
 | ||||
|  | @ -121,6 +120,7 @@ trace-events-subdirs += io | |||
| trace-events-subdirs += migration | ||||
| trace-events-subdirs += block | ||||
| trace-events-subdirs += backends | ||||
| trace-events-subdirs += chardev | ||||
| trace-events-subdirs += hw/block | ||||
| trace-events-subdirs += hw/block/dataplane | ||||
| trace-events-subdirs += hw/char | ||||
|  |  | |||
|  | @ -1,10 +1,6 @@ | |||
| common-obj-y += rng.o rng-egd.o | ||||
| common-obj-$(CONFIG_POSIX) += rng-random.o | ||||
| 
 | ||||
| common-obj-y += msmouse.o wctablet.o testdev.o | ||||
| common-obj-$(CONFIG_BRLAPI) += baum.o | ||||
| baum.o-cflags := $(SDL_CFLAGS) | ||||
| 
 | ||||
| common-obj-$(CONFIG_TPM) += tpm.o | ||||
| 
 | ||||
| common-obj-y += hostmem.o hostmem-ram.o | ||||
|  |  | |||
|  | @ -1,10 +0,0 @@ | |||
| # See docs/tracing.txt for syntax documentation. | ||||
| 
 | ||||
| # backends/wctablet.c | ||||
| wct_init(void) "" | ||||
| wct_cmd_re(void) "" | ||||
| wct_cmd_st(void) "" | ||||
| wct_cmd_sp(void) "" | ||||
| wct_cmd_ts(int input) "0x%02x" | ||||
| wct_cmd_other(const char *cmd) "%s" | ||||
| wct_speed(int speed) "%d" | ||||
|  | @ -16,3 +16,9 @@ chardev-obj-y += char-stdio.o | |||
| chardev-obj-y += char-udp.o | ||||
| chardev-obj-$(CONFIG_WIN32) += char-win.o | ||||
| chardev-obj-$(CONFIG_WIN32) += char-win-stdio.o | ||||
| 
 | ||||
| common-obj-y += msmouse.o wctablet.o testdev.o | ||||
| common-obj-$(CONFIG_BRLAPI) += baum.o | ||||
| baum.o-cflags := $(SDL_CFLAGS) | ||||
| 
 | ||||
| common-obj-$(CONFIG_SPICE) += spice.o | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| #include "qemu/osdep.h" | ||||
| #include "trace-root.h" | ||||
| #include "trace.h" | ||||
| #include "ui/qemu-spice.h" | ||||
| #include "chardev/char.h" | ||||
| #include "qemu/error-report.h" | ||||
|  | @ -0,0 +1,18 @@ | |||
| # See docs/tracing.txt for syntax documentation. | ||||
| 
 | ||||
| # chardev/wctablet.c | ||||
| wct_init(void) "" | ||||
| wct_cmd_re(void) "" | ||||
| wct_cmd_st(void) "" | ||||
| wct_cmd_sp(void) "" | ||||
| wct_cmd_ts(int input) "0x%02x" | ||||
| wct_cmd_other(const char *cmd) "%s" | ||||
| wct_speed(int speed) "%d" | ||||
| 
 | ||||
| # chardev/spice.c | ||||
| spice_vmc_write(ssize_t out, int len) "spice wrote %zd of requested %d" | ||||
| spice_vmc_read(int bytes, int len) "spice read %d of requested %d" | ||||
| spice_vmc_register_interface(void *scd) "spice vmc registered interface %p" | ||||
| spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p" | ||||
| spice_vmc_event(int event) "spice vmc event %d" | ||||
| 
 | ||||
|  | @ -41,13 +41,6 @@ system_wakeup_request(int reason) "reason=%d" | |||
| qemu_system_shutdown_request(int reason) "reason=%d" | ||||
| qemu_system_powerdown_request(void) "" | ||||
| 
 | ||||
| # spice-qemu-char.c | ||||
| spice_vmc_write(ssize_t out, int len) "spice wrote %zd of requested %d" | ||||
| spice_vmc_read(int bytes, int len) "spice read %d of requested %d" | ||||
| spice_vmc_register_interface(void *scd) "spice vmc registered interface %p" | ||||
| spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p" | ||||
| spice_vmc_event(int event) "spice vmc event %d" | ||||
| 
 | ||||
| # monitor.c | ||||
| monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p" | ||||
| monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Marc-André Lureau
						Marc-André Lureau