|
From: | Rorie Reyes |
Subject: | Re: [RFC PATCH v12 2/4] hw/vfio/ap: store object indicating AP config changed in a queue |
Date: | Mon, 9 Jun 2025 10:00:26 -0400 |
User-agent: | Mozilla Thunderbird |
Wouldn't QEMU_LOCK_GUARD(&cfg_chg_events_lock) be better since it's a one line? Or the fact there's no return here makes it insufficient?+ QTAILQ_INSERT_TAIL(&cfg_chg_events, cfg_chg_event, next);
Need locking here:
WITH_QEMU_LOCK_GUARD(&cfg_chg_events_lock) {
QTAILQ_INSERT_TAIL(&cfg_chg_events, cfg_chg_event, next);
}
[Prev in Thread] | Current Thread | [Next in Thread] |