[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] hw/pcie: corrected a debug message
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-devel] [PATCH 1/3] hw/pcie: corrected a debug message |
Date: |
Thu, 19 Jun 2014 16:52:19 +0300 |
Trivial issue, discovered while debugging.
Signed-off-by: Marcel Apfelbaum <address@hidden>
---
hw/pci/pcie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c
index 02cde6f..ae92f00 100644
--- a/hw/pci/pcie.c
+++ b/hw/pci/pcie.c
@@ -224,7 +224,7 @@ static void pcie_cap_slot_hotplug_common(PCIDevice
*hotplug_dev,
*exp_cap = hotplug_dev->config + hotplug_dev->exp.exp_cap;
uint16_t sltsta = pci_get_word(*exp_cap + PCI_EXP_SLTSTA);
- PCIE_DEV_PRINTF(PCI_DEVICE(dev), "hotplug state: %d\n", state);
+ PCIE_DEV_PRINTF(PCI_DEVICE(dev), "hotplug state: 0x%x\n", sltsta);
if (sltsta & PCI_EXP_SLTSTA_EIS) {
/* the slot is electromechanically locked.
* This error is propagated up to qdev and then to HMP/QMP.
--
1.8.3.1
- [Qemu-devel] [PATCH 0/3] hw/pcie: better hotplug/hotunplug support, Marcel Apfelbaum, 2014/06/19
- [Qemu-devel] [PATCH 1/3] hw/pcie: corrected a debug message,
Marcel Apfelbaum <=
- [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Marcel Apfelbaum, 2014/06/19
- Re: [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Michael S. Tsirkin, 2014/06/19
- Re: [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Paolo Bonzini, 2014/06/19
- Re: [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Marcel Apfelbaum, 2014/06/22
- Re: [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Michael S. Tsirkin, 2014/06/22
- Re: [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Michael S. Tsirkin, 2014/06/22
- Re: [Qemu-devel] [PATCH 2/3] hw/pcie: implement power controller functionality, Marcel Apfelbaum, 2014/06/22
[Qemu-devel] [PATCH 3/3] hw/pcie: better hotplug/hotunplug support, Marcel Apfelbaum, 2014/06/19