aboutsummaryrefslogtreecommitdiff
path: root/hw/core/qdev-user.c
blob: 3d421d8f4e5aeebf07e5b3e92dc2a5529957a215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * QDev helpers specific to user emulation.
 *
 * Copyright 2025 Linaro, Ltd.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */
#include "qemu/osdep.h"
#include "qom/object.h"
#include "hw/qdev-core.h"

void qdev_create_fake_machine(void)
{
    Object *fake_machine_obj;

    fake_machine_obj = object_property_add_new_container(object_get_root(),
                                                         "machine");
    object_property_add_new_container(fake_machine_obj, "unattached");
}