1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

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

This commit is contained in:
Pavel Czerný 2020-11-23 09:13:52 +01:00 committed by GitHub
parent c781e1f376
commit 81fa4753dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -442,11 +442,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;