projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d26d3
)
hw/i386/pc: Add a description for the i8042 property
author
Kamil Szczęk
<kamil@szczek.dev>
Mon, 12 Aug 2024 17:23:31 +0000
(17:23 +0000)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 2 Oct 2024 10:58:46 +0000
(12:58 +0200)
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>
hw/i386/pc.c
patch
|
blob
|
history
diff --git
a/hw/i386/pc.c
b/hw/i386/pc.c
index 80a65d965fb24c44e9e10d15ec13d1ca25022147..67a921779cac04043df3d44cc1482244506340e1 100644
(file)
--- 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,