Bug 760862 - adev->name should not be null if it is specified in cli
Summary: adev->name should not be null if it is specified in cli
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-07 08:01 UTC by Chao Yang
Modified: 2012-02-01 14:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-01 14:11:49 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Chao Yang 2011-12-07 08:01:42 UTC
Description of problem:
Boot a vm with -pcidevice host=28:00.1,name=func1, then hot unplug it, qemu-kvm claims:
(qemu) pci_del pci_addr=0:6
(qemu) Unregister host PCI device 28:00.1 ("") from guest
                                          ^^^^^
From source code, under qemu/hw/pci-hotplug.c line 173, in function qemu_pci_hot_deassign_device:
term_printf("Unregister host PCI device %02x:%02x.%1x "
                "(\"%s\") from guest\n",
                adev->bus, adev->dev, adev->func, adev->name);

adev->name should output the correct string passed in cli.

Version-Release number of selected component (if applicable):
# rpm -q kvm;uname -r
kvm-83-246.el5
2.6.18-300.el5


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ronen Hod 2012-02-01 14:11:49 UTC
Closing since the bug does not hurt the actual work in any way. It is only about the printed output. We do not fix such bugs in RHEL5.9
Is it solved in RHEL6.2?
Thanks, Ronen.


Note You need to log in before you can comment on or make changes to this bug.