nvme disk cannot be hotplugged after removal
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Invalid
|
Undecided
|
Klaus Jensen | ||
Bug Description
Hello,
When I try to re-add an nvme disk shortly after removing it, I get an error about duplicate ID.
See the following commands to reproduce. This happens consistently on all VMs that I tested:
attach
==========
$VAR1 = {
'execute' => 'human-
};
$VAR1 = {
'execute' => 'device_add',
};
detach
===========
$VAR1 = {
'execute' => 'device_del'
};
$VAR1 = {
'execute' => 'human-
};
reattach
===========
$VAR1 = {
'execute' => 'human-
};
and I get:
"Duplicate ID 'drive-nvme1' for drive"
although it does not show up in query-block or query-pci anymore after the first detach.
Is this a bug or am I missing something? Please advise.
Best regards,
Oguz
| Changed in qemu: | |
| assignee: | nobody → Klaus Jensen (birkelund) |
| status: | New → Confirmed |

Hi,
What QEMU version is this happening on? Is this the -rc4, is it a regression?