qemu/hw/core
Marc-André Lureau c39860e6dc char: replace qemu_chr_claim/release with qemu_chr_fe_init/deinit
Now that all front end use qemu_chr_fe_init(), we can move chardev
claiming in init(), and add a function deinit() to release the chardev
and cleanup handlers.

The qemu_chr_fe_claim_no_fail() for property are gone, since the
property will raise an error instead. In other cases, where there is
already an error path, an error is raised instead. Finally, other cases
are handled by &error_abort in qemu_chr_fe_init().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-19-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-10-24 15:27:21 +02:00
..
bus.c bus: simplify name handling 2016-09-08 18:05:22 +04:00
empty_slot.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
fw-path-provider.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
generic-loader.c generic-loader: Add a generic loader 2016-10-04 13:28:09 +01:00
hotplug.c qdev: hotplug: Introduce HotplugHandler.pre_plug() callback 2016-06-17 16:33:48 +10:00
irq.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
loader.c loader: Add AddressSpace loading support to targphys 2016-09-22 18:13:08 +01:00
machine.c machine: Register TYPE_MACHINE properties as class properties 2016-10-17 15:48:40 -02:00
Makefile.objs generic-loader: Add a generic loader 2016-10-04 13:28:09 +01:00
nmi.c nmi: remove x86 specific nmi handling 2016-05-23 16:53:46 +02:00
null-machine.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
or-irq.c irq: Add a new irq device that allows the ORing of lines 2016-10-04 13:28:07 +01:00
platform-bus.c sysbus: Remove ignored return value of FindSysbusDeviceFunc 2016-09-27 17:03:34 -03:00
ptimer.c hw/ptimer: Suppress error messages under qtest 2016-09-22 18:13:07 +01:00
qdev-properties-system.c char: replace qemu_chr_claim/release with qemu_chr_fe_init/deinit 2016-10-24 15:27:21 +02:00
qdev-properties.c qdev: ignore GlobalProperty.errp for hotplugged devices 2016-07-27 11:25:06 -03:00
qdev.c qdev: Fix use after free in qdev_init_nofail error path 2016-08-03 18:44:57 +02:00
register.c register: Add block initialise helper 2016-07-04 13:15:22 +01:00
stream.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
sysbus.c hw: remove pio_addr_t 2016-05-19 16:42:30 +02:00
uboot_image.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00