diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/baum.c | 2 | ||||
-rw-r--r-- | backends/hostmem-ram.c | 2 | ||||
-rw-r--r-- | backends/msmouse.c | 2 | ||||
-rw-r--r-- | backends/testdev.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/backends/baum.c b/backends/baum.c index 796512d387..a69aafff48 100644 --- a/backends/baum.c +++ b/backends/baum.c @@ -629,7 +629,7 @@ fail_handle: static void register_types(void) { - register_char_driver_qapi("braille", CHARDEV_BACKEND_KIND_BRAILLE, NULL); + register_char_driver("braille", CHARDEV_BACKEND_KIND_BRAILLE, NULL); } type_init(register_types); diff --git a/backends/hostmem-ram.c b/backends/hostmem-ram.c index d9a8290dc9..a67a134521 100644 --- a/backends/hostmem-ram.c +++ b/backends/hostmem-ram.c @@ -27,7 +27,7 @@ ram_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) path = object_get_canonical_path_component(OBJECT(backend)); memory_region_init_ram(&backend->mr, OBJECT(backend), path, - backend->size); + backend->size, errp); g_free(path); } diff --git a/backends/msmouse.c b/backends/msmouse.c index 650a5314d4..0119110a40 100644 --- a/backends/msmouse.c +++ b/backends/msmouse.c @@ -79,7 +79,7 @@ CharDriverState *qemu_chr_open_msmouse(void) static void register_types(void) { - register_char_driver_qapi("msmouse", CHARDEV_BACKEND_KIND_MSMOUSE, NULL); + register_char_driver("msmouse", CHARDEV_BACKEND_KIND_MSMOUSE, NULL); } type_init(register_types); diff --git a/backends/testdev.c b/backends/testdev.c index 70d63b3b8d..eba396aeb9 100644 --- a/backends/testdev.c +++ b/backends/testdev.c @@ -125,7 +125,7 @@ CharDriverState *chr_testdev_init(void) static void register_types(void) { - register_char_driver_qapi("testdev", CHARDEV_BACKEND_KIND_TESTDEV, NULL); + register_char_driver("testdev", CHARDEV_BACKEND_KIND_TESTDEV, NULL); } type_init(register_types); |