|
From: | Klaus Jensen |
Subject: | Re: [Bug 1925496] Re: nvme disk cannot be hotplugged after removal |
Date: | Wed, 28 Apr 2021 12:12:56 +0200 |
On Apr 28 09:31, Oguz Bektas wrote:
My understanding is that this is the expected behavior. The reason is that the drive cannot be deleted immediately when the device is hot-unplugged, since it might not be safe (other parts of QEMU could be using it, like background block jobs). On the other hand, the fact that if the drive is removed explicitly through QMP (or in the monitor with drive_del), the drive id is remains "in use". This might be a completely different bug that is unrelated to the nvme device.using the same commands I can hot-plug and hot-unplug a scsi disk like this without issue - this behavior only appeared on nvme devices.
Kevin, Max, can you shed any light on this?Specifically what the expected behavior is wrt. to the drive when unplugging a device that has one attached?
If the scsi disk is capable of "cleaning up" immediately, then I suppose that some steps are missing in the nvme unrealization.
signature.asc
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |