|
From: | Thomas Huth |
Subject: | Re: [PATCH 17/21] hw/scsi/vmw_pvscsi: Remove PVSCSI_COMPAT_DISABLE_PCIE_BIT definition |
Date: | Fri, 17 Jan 2025 10:24:46 +0100 |
User-agent: | Mozilla Thunderbird |
On 16/01/2025 00.22, Philippe Mathieu-Daudé wrote:
PVSCSI_COMPAT_DISABLE_PCIE_BIT was only used by the hw_compat_2_5[] array, via the 'x-disable-pcie=on' property. We removed all machines using that array, lets remove all the code around PVSCSI_COMPAT_DISABLE_PCIE_BIT. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> ---
...
@@ -1292,19 +1269,14 @@ static const VMStateDescription vmstate_pvscsi = {static const Property pvscsi_properties[] = {DEFINE_PROP_UINT8("use_msg", PVSCSIState, use_msg, 1), - DEFINE_PROP_BIT("x-disable-pcie", PVSCSIState, compat_flags, - PVSCSI_COMPAT_DISABLE_PCIE_BIT, false), };
While you're at it, I think this was the last user of compat_flags, so you could remove that compat_flags field from the struct, too, now?
Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |