]> Git Repo - qemu.git/commit - gdbstub.c
gdbstub: init mon_chr through qemu_chr_alloc
authorPavel Dovgalyuk <[email protected]>
Wed, 10 Sep 2014 14:34:14 +0000 (18:34 +0400)
committerPaolo Bonzini <[email protected]>
Thu, 11 Sep 2014 10:20:33 +0000 (12:20 +0200)
commit462efe9e530e22b1b60aaf01716e1423cd94302c
tree1a807466d89495a97c7aebc84bf5011c0a6b4005
parenta28fe7e3f6dbacfddc70c8fa773466f4a17d92e3
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
gdbstub.c
This page took 0.024842 seconds and 4 git commands to generate.