summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndre Richter <andre.o.richter@gmail.com>2013-10-02 12:23:26 +0200
committerGleb Natapov <gleb@redhat.com>2013-10-03 11:47:02 +0300
commit29242cb5c63b1f8e12e8055ba1a6c3e0004fa86d (patch)
tree9232fb54531bd2bea6035147964d34dbc4f1dfbf /arch
parent2f303b74a62fb74983c0a66e2df353be963c527c (diff)
downloadlwn-29242cb5c63b1f8e12e8055ba1a6c3e0004fa86d.tar.gz
lwn-29242cb5c63b1f8e12e8055ba1a6c3e0004fa86d.zip
virt/kvm/iommu.c: Add leading zeros to device's BDF notation in debug messages
When KVM (de)assigns PCI(e) devices to VMs, a debug message is printed including the BDF notation of the respective device. Currently, the BDF notation does not have the commonly used leading zeros. This produces messages like "assign device 0:1:8.0", which look strange at first sight. The patch fixes this by exchanging the printk(KERN_DEBUG ...) with dev_info() and also inserts "kvm" into the debug message, so that it is obvious where the message comes from. Also reduces LoC. Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Andre Richter <andre.o.richter@gmail.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions