summary refs log tree commit diff stats
path: root/hw
diff options
context:
space:
mode:
authorKamil Szczęk <kamil@szczek.dev>2024-08-12 17:23:31 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-02 12:58:46 +0200
commita711afbbdbe9e7450d35b2aa2484e55eda90ea20 (patch)
tree2a2d206db8c344bc71675d8f144339b5db961587 /hw
parent89d26d34ce8bb95552570e729d3a7e8cb17f7369 (diff)
downloadfocaccia-qemu-a711afbbdbe9e7450d35b2aa2484e55eda90ea20.tar.gz
focaccia-qemu-a711afbbdbe9e7450d35b2aa2484e55eda90ea20.zip
hw/i386/pc: Add a description for the i8042 property
While working on exposing the i8042 property in libvirt I noticed that
the property is missing a description. This adds a simple description
so that QEMU users don't have to dig in the source code to figure out
what this option does.

Signed-off-by: Kamil Szczęk <kamil@szczek.dev>
Link: https://lore.kernel.org/r/15fhXFY6x78KW8P5gw0eKTW8kc17zejrJFxqnOyoBy6vw4W9rCmgDhoxssWosWFs_dbFtfsyjn9wpPrV3x8Nlzhy8mTJSEnXCr4qyHAhXSw=@szczek.dev
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/i386/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 80a65d965f..67a921779c 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1823,6 +1823,8 @@ static void pc_machine_class_init(ObjectClass *oc, void *data)
 
     object_class_property_add_bool(oc, PC_MACHINE_I8042,
         pc_machine_get_i8042, pc_machine_set_i8042);
+    object_class_property_set_description(oc, PC_MACHINE_I8042,
+        "Enable/disable Intel 8042 PS/2 controller emulation");
 
     object_class_property_add_bool(oc, "default-bus-bypass-iommu",
         pc_machine_get_default_bus_bypass_iommu,