mirror of
https://github.com/qemu/qemu.git
synced 2026-07-20 23:44:37 +00:00
Call it hw/core/qdev.h to avoid the duplication in the name. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
20 lines
495 B
C
20 lines
495 B
C
/*
|
|
* 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/core/qdev.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");
|
|
}
|