diff options
author | Pavel Dovgalyuk | 2014-09-10 16:34:14 +0200 |
---|---|---|
committer | Paolo Bonzini | 2014-09-11 12:20:33 +0200 |
commit | 462efe9e530e22b1b60aaf01716e1423cd94302c (patch) | |
tree | 1a807466d89495a97c7aebc84bf5011c0a6b4005 /hw/misc/macio/cuda.c | |
parent | pckbd: adding new fields to vmstate (diff) | |
download | qemu-462efe9e530e22b1b60aaf01716e1423cd94302c.tar.gz qemu-462efe9e530e22b1b60aaf01716e1423cd94302c.tar.xz qemu-462efe9e530e22b1b60aaf01716e1423cd94302c.zip |
gdbstub: init mon_chr through qemu_chr_alloc
This patch initializes monitor for gdbstub with the qemu_chr_alloc function
instead of just allocating the memory. Initialization function call
is required, because it also creates chr_write_lock mutex, which is used
when writing to this character device.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/macio/cuda.c')
0 files changed, 0 insertions, 0 deletions