qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] question: disk missing in the guest contingently when h


From: l00284672
Subject: Re: [Qemu-devel] question: disk missing in the guest contingently when hotplug several virtio scsi disks consecutively.
Date: Wed, 4 Jul 2018 09:20:18 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

yes, I also think so.


On 2018/7/4 0:27, Paolo Bonzini wrote:
On 03/07/2018 09:20, l00284672 wrote:
}

The scsi inqury request from guest is cancelled by qemu. The qemu bt is
below:

(gdb) bt
#0  scsi_req_cancel_async (req=0x7f86d00055c0, notifier=0x0) at
hw/scsi/scsi-bus.c:1825
#1  0x000055b50ac254c7 in scsi_device_purge_requests
(address@hidden, sense=...) at hw/scsi/scsi-bus.c:1925
#2  0x000055b50ac1d337 in scsi_disk_reset (dev=0x55b50f9a8990) at
hw/scsi/scsi-disk.c:2186
#3  0x000055b50ab95d91 in device_set_realized (obj=<optimized out>,
value=<optimized out>, errp=0x7ffedda81898) at hw/core/qdev.c:949
#4  0x000055b50acd167e in property_set_bool (obj=0x55b50f9a8990,
v=<optimized out>, name=<optimized out>, opaque=0x55b50f9c1b50,
errp=0x7ffedda81898) at qom/object.c:1854
#5  0x000055b50acd5091 in object_property_set_qobject
(address@hidden, address@hidden,
address@hidden "realized",
     address@hidden) at qom/qom-qobject.c:27
#6  0x000055b50acd3210 in object_property_set_bool (obj=0x55b50f9a8990,
value=<optimized out>, name=0x55b50ae0260b "realized",
errp=0x7ffedda81898) at qom/object.c:1157
#7  0x000055b50ab1e0b5 in qdev_device_add
(address@hidden, address@hidden) at
qdev-monitor.c:627
It looks like the hotplug event is sent too early to the guest?

Paolo



Attachment: lizhengui.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]