B #5181: Output PCI parameters in hex (#458)

(cherry picked from commit 81fa4753dd)
This commit is contained in:
Pavel Czerný authored and Ruben S. Montero committed 2020-11-23 09:14:33 +01:00
1 parent 6d4810de49
commit cc39b52f89
1 file changed
+6 -5
+6 -5
View File
@@ -427,11 +427,12 @@ ostream& operator<<(ostream& os, const HostSharePCI& pci)
{
HostSharePCI::PCIDevice * dev = it->second;
os << right << setw(15)<< dev->address << " "
<< right << setw(8) << dev->class_id << " "
<< right << setw(8) << dev->vendor_id << " "
<< right << setw(8) << dev->device_id << " "
<< right << setw(8) << dev->vmid << " " << endl;
os << right << setw(15) << dev->address << " "
<< right << hex << showbase
<< setw(8) << dev->class_id << " "
<< setw(8) << dev->vendor_id << " "
<< setw(8) << dev->device_id << " "
<< setw(8) << dec << dev->vmid << " " << endl;
}
return os;