Browse Source
Define a list of vfio devices in CPR state, in a subsection so that older QEMU can be live updated to this version. However, new QEMU will not be live updateable to old QEMU. This is acceptable because CPR is not yet commonly used, and updates to older versions are unusual. The contents of each device object will be defined by the vfio subsystem in a subsequent patch. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Link: https://lore.kernel.org/qemu-devel/1751493538-202042-14-git-send-email-steven.sistare@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>pull/292/head
committed by
Cédric Le Goater
6 changed files with 40 additions and 9 deletions
@ -0,0 +1,18 @@ |
|||
/*
|
|||
* Copyright (c) 2025 Oracle and/or its affiliates. |
|||
* |
|||
* SPDX-License-Identifier: GPL-2.0-or-later |
|||
*/ |
|||
|
|||
#include "qemu/osdep.h" |
|||
#include "migration/cpr.h" |
|||
#include "migration/vmstate.h" |
|||
|
|||
const VMStateDescription vmstate_cpr_vfio_devices = { |
|||
.name = CPR_STATE "/vfio devices", |
|||
.version_id = 1, |
|||
.minimum_version_id = 1, |
|||
.fields = (const VMStateField[]){ |
|||
VMSTATE_END_OF_LIST() |
|||
} |
|||
}; |
|||
Loading…
Reference in new issue