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
(sdev=sdev@entry=0x55b50f9a8990, 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
(obj=obj@entry=0x55b50f9a8990, value=value@entry=0x55b50f997350,
name=name@entry=0x55b50ae0260b "realized",
     errp=errp@entry=0x7ffedda81898) 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
(opts=opts@entry=0x55b50ceb9880, errp=errp@entry=0x7ffedda81978) at
qdev-monitor.c:627
It looks like the hotplug event is sent too early to the guest?

Paolo



<<attachment: lizhengui.vcf>>

Reply via email to