[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 34/39] migration: Use vmstate_register_any() for vmware_vga
From: |
Juan Quintela |
Subject: |
[PULL 34/39] migration: Use vmstate_register_any() for vmware_vga |
Date: |
Tue, 24 Oct 2023 15:13:00 +0200 |
I have no idea if we can have more than one vmware_vga device, so play
it safe.
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231020090731.28701-14-quintela@redhat.com>
---
hw/display/vmware_vga.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
index 09591fbd39..7490d43881 100644
--- a/hw/display/vmware_vga.c
+++ b/hw/display/vmware_vga.c
@@ -1264,7 +1264,7 @@ static void vmsvga_init(DeviceState *dev, struct
vmsvga_state_s *s,
vga_common_init(&s->vga, OBJECT(dev), &error_fatal);
vga_init(&s->vga, OBJECT(dev), address_space, io, true);
- vmstate_register(NULL, 0, &vmstate_vga_common, &s->vga);
+ vmstate_register_any(NULL, &vmstate_vga_common, &s->vga);
s->new_depth = 32;
}
--
2.41.0
- [PULL 27/39] migration: Use vmstate_register_any() for isa-ide, (continued)
- [PULL 27/39] migration: Use vmstate_register_any() for isa-ide, Juan Quintela, 2023/10/24
- [PULL 31/39] migration: Improve example and documentation of vmstate_register(), Juan Quintela, 2023/10/24
- [PULL 35/39] qemu-iotests: Filter warnings about block migration being deprecated, Juan Quintela, 2023/10/24
- [PULL 28/39] migration: Use VMSTATE_INSTANCE_ID_ANY for slirp, Juan Quintela, 2023/10/24
- [PULL 33/39] migration: Use vmstate_register_any() for eeprom93xx, Juan Quintela, 2023/10/24
- [PULL 30/39] migration: Check in savevm_state_handler_insert for dups, Juan Quintela, 2023/10/24
- [PULL 36/39] migration: migrate 'inc' command option is deprecated., Juan Quintela, 2023/10/24
- [PULL 26/39] migration: Use vmstate_register_any(), Juan Quintela, 2023/10/24
- [PULL 37/39] migration: migrate 'blk' command option is deprecated., Juan Quintela, 2023/10/24
- [PULL 38/39] migration: Deprecate block migration, Juan Quintela, 2023/10/24
- [PULL 34/39] migration: Use vmstate_register_any() for vmware_vga,
Juan Quintela <=
- [PULL 39/39] migration: Deprecate old compression method, Juan Quintela, 2023/10/24
- [PULL 32/39] migration: Use vmstate_register_any() for audio, Juan Quintela, 2023/10/24
- Re: [PULL 00/39] Migration 20231024 patches, Stefan Hajnoczi, 2023/10/25