machine.c (33e60e01988b02ac9baf4dc0f4a452b39fb5ce55) machine.c (4f01a637795af77f1c191230b9f6e3a2547b0c28)
1/*
2 * QEMU Machine
3 *
4 * Copyright (C) 2014 Red Hat Inc
5 *
6 * Authors:
7 * Marcel Apfelbaum <marcel.a@redhat.com>
8 *

--- 318 unchanged lines hidden (view full) ---

327
328static bool machine_get_enforce_config_section(Object *obj, Error **errp)
329{
330 MachineState *ms = MACHINE(obj);
331
332 return ms->enforce_config_section;
333}
334
1/*
2 * QEMU Machine
3 *
4 * Copyright (C) 2014 Red Hat Inc
5 *
6 * Authors:
7 * Marcel Apfelbaum <marcel.a@redhat.com>
8 *

--- 318 unchanged lines hidden (view full) ---

327
328static bool machine_get_enforce_config_section(Object *obj, Error **errp)
329{
330 MachineState *ms = MACHINE(obj);
331
332 return ms->enforce_config_section;
333}
334
335static int error_on_sysbus_device(SysBusDevice *sbdev, void *opaque)
335static void error_on_sysbus_device(SysBusDevice *sbdev, void *opaque)
336{
337 error_report("Option '-device %s' cannot be handled by this machine",
338 object_class_get_name(object_get_class(OBJECT(sbdev))));
339 exit(1);
340}
341
342static void machine_init_notify(Notifier *notifier, void *data)
343{

--- 260 unchanged lines hidden ---
336{
337 error_report("Option '-device %s' cannot be handled by this machine",
338 object_class_get_name(object_get_class(OBJECT(sbdev))));
339 exit(1);
340}
341
342static void machine_init_notify(Notifier *notifier, void *data)
343{

--- 260 unchanged lines hidden ---