aboutsummaryrefslogtreecommitdiff
path: root/include/hw/acpi/vmgenid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/acpi/vmgenid.h')
-rw-r--r--include/hw/acpi/vmgenid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/vmgenid.h b/include/hw/acpi/vmgenid.h
index 8578476..7beb959 100644
--- a/include/hw/acpi/vmgenid.h
+++ b/include/hw/acpi/vmgenid.h
@@ -24,6 +24,7 @@ typedef struct VmGenIdState {
bool write_pointer_available;
} VmGenIdState;
+/* returns NULL unless there is exactly one device */
static inline Object *find_vmgenid_dev(void)
{
return object_resolve_path_type("", VMGENID_DEVICE, NULL);