- vdpa: suspend function return 0 when the vdpa device is stopped - vdpa: don't suspend/resume device when vdpa device not started - vdpa: support vdpa device suspend/resume - vdpa: correct param passed in when unregister save - vdpa: set vring enable only if the vring address has already been set - shadow_dev: introduce shadow dev for virtio-net device - revert "tcg/loongarch64: Fix tcg_out_mov() Aborted" - migration: Set downtime_start even for postcopy - gdb-xml: fix duplicate register in arm-neon.xml - iotests: fix default machine type detection - migration: fix RAMBlock add NULL check - s390x: Fix spelling errors - ppc: spelling fixes - hw/scsi/vhost-scsi: don't double close vhostfd on error - virtio/vhost-vsock: don't double close vhostfd, remove redundant cleanup - hw/scsi/vhost-scsi: don't leak vqs on error - hw/i386/pc: Add missing property descriptions - pcie_aer: Don't trigger a LSI if none are defined - pci: Export the pci_intx() function - hw/qdev: Cosmetic around documentation - tests/unit: fix a -Wformat-truncation warning - tests/avocado: mark ReplayKernelNormal.test_mips64el_malta as flaky - i386/sev: Avoid SEV-ES crash due to missing MSR_EFER_LMA bit - ui/vnc-clipboard: fix inflate_buffer - hw/usb/hcd-xhci.c: spelling: tranfer Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com> (cherry picked from commit 68fee7dc06a6beb5f69d951e22a7f16091f269ff)
54 lines
2.1 KiB
Diff
54 lines
2.1 KiB
Diff
From 5ce3662809ab7a594fcbe024eb81416e8556f5ea Mon Sep 17 00:00:00 2001
|
|
From: boringandboring <wangjinlei_yewu@cmss.chinamobile.com>
|
|
Date: Thu, 7 Dec 2023 19:13:02 +0800
|
|
Subject: [PATCH] hw/i386/pc: Add missing property descriptions
|
|
|
|
cherry picked from 44bff3767ced18845adb2612a2cf9691d8769d41
|
|
|
|
When running "qemu-system-x86_64 -M pc,help" I noticed that some
|
|
properties were still missing their description. Add them now so
|
|
that users get at least a slightly better idea what they are all
|
|
about.
|
|
|
|
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
Message-Id: <20211206134255.94784-1-thuth@redhat.com>
|
|
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
|
|
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
|
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
Signed-off-by: boringandboring <wangjinlei_yewu@cmss.chinamobile.com>
|
|
---
|
|
hw/i386/pc.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
|
|
index c5f430f83d..7003ea1a05 100644
|
|
--- a/hw/i386/pc.c
|
|
+++ b/hw/i386/pc.c
|
|
@@ -1726,15 +1726,23 @@ static void pc_machine_class_init(ObjectClass *oc, void *data)
|
|
|
|
object_class_property_add_bool(oc, PC_MACHINE_SMBUS,
|
|
pc_machine_get_smbus, pc_machine_set_smbus);
|
|
+ object_class_property_set_description(oc, PC_MACHINE_SMBUS,
|
|
+ "Enable/disable system management bus");
|
|
|
|
object_class_property_add_bool(oc, PC_MACHINE_SATA,
|
|
pc_machine_get_sata, pc_machine_set_sata);
|
|
+ object_class_property_set_description(oc, PC_MACHINE_SATA,
|
|
+ "Enable/disable Serial ATA bus");
|
|
|
|
object_class_property_add_bool(oc, PC_MACHINE_PIT,
|
|
pc_machine_get_pit, pc_machine_set_pit);
|
|
+ object_class_property_set_description(oc, PC_MACHINE_PIT,
|
|
+ "Enable/disable Intel 8254 programmable interval timer emulation");
|
|
|
|
object_class_property_add_bool(oc, "hpet",
|
|
pc_machine_get_hpet, pc_machine_set_hpet);
|
|
+ object_class_property_set_description(oc, "hpet",
|
|
+ "Enable/disable high precision event timer emulation");
|
|
|
|
object_class_property_add_bool(oc, "default-bus-bypass-iommu",
|
|
pc_machine_get_default_bus_bypass_iommu,
|
|
--
|
|
2.27.0
|
|
|