mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
qemu: Drop comma after QEMU_CAPS_LAST in queryDirtyRateRequired[]
The idea of queryDirtyRateRequired[] is that it lists QEMU capabilities required for given domstats record (VIR_DOMAIN_STATS_DIRTYRATE in this particular case) and QEMU_CAPS_LAST is used as a sentinel. Therefore, there can never be anything after it. Drop the comma to make it more obvious. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
362643a847
commit
9f56686bf0
@ -18667,7 +18667,7 @@ struct qemuDomainGetStatsWorker {
|
||||
|
||||
static virQEMUCapsFlags queryDirtyRateRequired[] = {
|
||||
QEMU_CAPS_QUERY_DIRTY_RATE,
|
||||
QEMU_CAPS_LAST,
|
||||
QEMU_CAPS_LAST
|
||||
};
|
||||
|
||||
static struct qemuDomainGetStatsWorker qemuDomainGetStatsWorkers[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user