summaryrefslogtreecommitdiffstats
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorMarc-André Lureau2016-12-12 11:41:40 +0100
committerMarc-André Lureau2017-01-31 20:31:20 +0100
commiteb314a9497dbbbd14795a6cdba27eb3131ee7e25 (patch)
tree6ec49e35c54db8228e76374bbd1be9cc4f8c5a0e /include/exec/cpu-common.h
parentchar: create chardev-obj-y (diff)
downloadqemu-eb314a9497dbbbd14795a6cdba27eb3131ee7e25.tar.gz
qemu-eb314a9497dbbbd14795a6cdba27eb3131ee7e25.tar.xz
qemu-eb314a9497dbbbd14795a6cdba27eb3131ee7e25.zip
char: make null_chr_write() the default method
All chardev must implement chr_write(), but parallel and null chardev both use null_chr_write(). Move it to the base class, so we don't need to export the function when splitting the chardev in respective files. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions