Bugs item #2432316, was opened at 2008-12-16 03:44 Message generated for change (Comment added) made by jessorensen 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: Jes Sorensen (jessorensen) Date: 2010-11-26 10: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