mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/pci: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-45-richard.henderson@linaro.org>
This commit is contained in:
parent
be555ec413
commit
8e5e0890b7
6 changed files with 11 additions and 11 deletions
|
@ -685,7 +685,7 @@ static int get_msix_state(QEMUFile *f, void *pv, size_t size,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static VMStateInfo vmstate_info_msix = {
|
||||
static const VMStateInfo vmstate_info_msix = {
|
||||
.name = "msix state",
|
||||
.get = get_msix_state,
|
||||
.put = put_msix_state,
|
||||
|
@ -693,7 +693,7 @@ static VMStateInfo vmstate_info_msix = {
|
|||
|
||||
const VMStateDescription vmstate_msix = {
|
||||
.name = "msix",
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
{
|
||||
.name = "msix",
|
||||
.version_id = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue