[ kvm-Bugs-2432316 ] hotplug inexistent device will kill guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bugs item #2432316, was opened at 2008-12-16 10:44
Message generated for change (Comment added) made by haoxudong
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2432316&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Jiajun Xu (jiajun)
Assigned to: Nobody/Anonymous (nobody)
Summary: hotplug inexistent device will kill guest

Initial Comment:
Host OS (ia32/ia32e/IA64): ia32e
Kernel Commit: KVM-77, 2.6.27-rc9, 4330ed8ed4da360ac1ca14b0fddff4c05b10de16
Userspace Commit: bebd13cd8eac7ac9cc3a1b2b3bbdc28a0b0efd9a
Host Kernel Version: RHEL5u2

Bug detailed description:
--------------------------
We create one guest, then do VT-d device hotplug, if we add a inexistent BDF number of device, guest will be killed.

host print:
get_real_device: /sys/bus/pci/devices/0000:00:30.0/config: No such file or directory
init_assigned_device: Error: Couldn't get real device (00:30.0)!
assigned_dev_pci_read_config: pread failed, ret = -1 errno = 29

Reproduce steps:
----------------
1) install kvm and create one guest
2) enter guest qemu monitor(print <Ctrl+Alt+2>)
3) run command "pci_add 0 host host=00:30.0", 00:30.0 is a inexistent bdf number
4) guest will be killed


----------------------------------------------------------------------

>Comment By: Xudong Hao (haoxudong)
Date: 2010-11-29 10:31

Message:
I checked on latest kvm 9ee00410d82a7c5cab5ae347d97fbf8a95c55506 and
qemu-kvm b377474e589e5a1fe2abc7b13fafa8bad802637a, No crash now on RHEL5
system too.

Sure, close this bug.

----------------------------------------------------------------------

Comment By: Jes Sorensen (jessorensen)
Date: 2010-11-26 17:04

Message:
Hi,

Tested with upstream qemu/kvm - when trying to add a non existing device I
get an error message, but no crash. If you still see this problem with a
recent version of KVM please file a new bug in launhpad.

If you have issues with the current RHEL5 host, please file a bug in Red
Hat's bugzilla.

Thanks,
Jes


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2432316&group_id=180599
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux