[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1422285] Re: The guest will be destroyed when hot plug
From: |
chao zhou |
Subject: |
[Qemu-devel] [Bug 1422285] Re: The guest will be destroyed when hot plug the VF to guest for the second time. |
Date: |
Tue, 17 Feb 2015 02:38:40 -0000 |
please ignore comment 1.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1422285
Title:
The guest will be destroyed when hot plug the VF to guest for the
second time.
Status in QEMU:
New
Bug description:
Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):linux
kvm.git Commit: 6557bada461afeaa920a189fae2cff7c8fdce39f
qemu.kvm Commit: cd2d5541271f1934345d8ca42f5fafff1744eee7
Host Kernel Version:3.19.0-rc3
Hardware:Haswell_EP,Ivytown_EP
Bug detailed description:
--------------------------
create guest , then hot plug the VF to the guest for the second time, the
guest will be destroyed.
note:
1. hot plug the device to guest with vfio, the guest works fine
2.this should be a qemu bug:
kvm + qemu = result
6557bada + cd2d5541 = bad
6557bada + a805ca54 = good
Reproduce steps:
----------------
1. qemu-system-x86_64 -enable-kvm -m 2G -net none -monitor pty rhel6u5.qcow
2. echo "device_add pci-assign,host=03:10.1,id=nic" >/dev/pts/2
3. cat /dev/pts/2 &
4. echo "device_del nic" >/dev/pts/2
5. echo "device_add pci-assign,host=03:10.0,id=nic" >/dev/pts/2
Current result:
----------------
guest will be destroyed when hot plug the vf to guest for the second time.
Expected result:
----------------
guest works fine when hot plug the vf to guest for the second time
Basic root-causing log:
----------------------
address@hidden cathy]# qemu-system-x86_64 -enable-kvm -m 2G -net none
-monitor pty rhel6u5.qcow
char device redirected to /dev/pts/2 (label compat_monitor0)
Segmentation fault (core dumped)
some dmesg log:
pci-stub 0000:03:10.1: kvm deassign device
pci-stub 0000:03:10.1: enabling device (0000 -> 0002)
qemu-system-x86[9894]: segfault at 0 ip (null) sp 00007fa73df0cae8
error 14
pci-stub 0000:03:10.1: kvm assign device
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1422285/+subscriptions
- [Qemu-devel] [RFC PATCH v3 00/11] Generate ACPI v5.1 tables and expose it to guest over fw_cfg on ARM, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 04/11] hw/acpi/aml-build: Add aml_memory32_fixed() and aml_interrupt(), Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 08/11] hw/arm/virt-acpi-build: Generate GTDT table, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 03/11] hw/arm/virt-acpi-build: Basic framework for building ACPI tables on ARM, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 09/11] hw/arm/virt-acpi-build: Generate RSDT table, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 06/11] hw/arm/virt-acpi-build: Generate FADT table and update ACPI headers, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 01/11] hw/i386: Move ACPI header definitions in an arch-independent location, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 02/11] hw/i386/acpi-build: move generic acpi building helpers into dedictated file, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 07/11] hw/arm/virt-acpi-build: Generate MADT table, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 05/11] hw/arm/virt-acpi-build: Generation of DSDT table for virt devices, Shannon Zhao, 2015/02/16
- [Qemu-devel] [RFC PATCH v3 10/11] hw/arm/virt-acpi-build: Generate RSDP table, Shannon Zhao, 2015/02/16