diff options
| author | Marc-André Lureau | 2016-10-21 15:07:45 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-01-27 18:07:58 +0100 |
| commit | 0b812f31925f2ed50eb54d2be6ac9291bf67b890 (patch) | |
| tree | 8a51007dff4c1b2d7a6d004a06ac53a6059c0358 /scripts | |
| parent | doc: fix spelling (diff) | |
| download | qemu-0b812f31925f2ed50eb54d2be6ac9291bf67b890.tar.gz qemu-0b812f31925f2ed50eb54d2be6ac9291bf67b890.tar.xz qemu-0b812f31925f2ed50eb54d2be6ac9291bf67b890.zip | |
char: use a const CharDriver
No need to allocate & copy fields, let's use static const struct instead.
Add an alias field to the CharDriver structure to cover the cases where
we previously registered a driver twice under two names.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
