summaryrefslogtreecommitdiffstats
path: root/hw/mips/boston.c
diff options
context:
space:
mode:
authorAnton Nefedov2017-07-06 14:08:49 +0200
committerPaolo Bonzini2017-07-14 11:04:33 +0200
commit81517ba37a6cec59f92396b4722861868eb0a500 (patch)
treedebc47fba5f9718bc490176419076212e7dc1b57 /hw/mips/boston.c
parentchar: move QemuOpts->ChardevBackend translation to a separate func (diff)
downloadqemu-81517ba37a6cec59f92396b4722861868eb0a500.tar.gz
qemu-81517ba37a6cec59f92396b4722861868eb0a500.tar.xz
qemu-81517ba37a6cec59f92396b4722861868eb0a500.zip
char: add backend hotswap handler
Frontends should have an interface to setup the handler of a backend change. The interface will be used in the next commits Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1499342940-56739-3-git-send-email-anton.nefedov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mips/boston.c')
-rw-r--r--hw/mips/boston.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/boston.c b/hw/mips/boston.c
index a4677f7da4..146be2ae74 100644
--- a/hw/mips/boston.c
+++ b/hw/mips/boston.c
@@ -533,7 +533,7 @@ static void boston_mach_init(MachineState *machine)
chr = qemu_chr_new("lcd", "vc:320x240");
qemu_chr_fe_init(&s->lcd_display, chr, NULL);
qemu_chr_fe_set_handlers(&s->lcd_display, NULL, NULL,
- boston_lcd_event, s, NULL, true);
+ boston_lcd_event, NULL, s, NULL, true);
ahci = pci_create_simple_multifunction(&PCI_BRIDGE(&pcie2->root)->sec_bus,
PCI_DEVFN(0, 0),