mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-09 12:04:42 +00:00
blkdebug: Fix set_state_opts definition
The list head was initialized to point to the wrong list, so all actions ended up being handled as inject-error even if they were set-state in fact. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
bb67ab0290
commit
327cdad416
@ -111,7 +111,7 @@ static QemuOptsList inject_error_opts = {
|
|||||||
|
|
||||||
static QemuOptsList set_state_opts = {
|
static QemuOptsList set_state_opts = {
|
||||||
.name = "set-state",
|
.name = "set-state",
|
||||||
.head = QTAILQ_HEAD_INITIALIZER(inject_error_opts.head),
|
.head = QTAILQ_HEAD_INITIALIZER(set_state_opts.head),
|
||||||
.desc = {
|
.desc = {
|
||||||
{
|
{
|
||||||
.name = "event",
|
.name = "event",
|
||||||
|
Loading…
Reference in New Issue
Block a user