mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
savevm: Port to qdev.vmsd all devices that have qdev
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
70cca6d872
commit
be73cfe2be
26 changed files with 60 additions and 37 deletions
|
@ -1189,7 +1189,6 @@ static int pci_vmsvga_initfn(PCIDevice *dev)
|
|||
|
||||
vmsvga_init(&s->chip, VGA_RAM_SIZE);
|
||||
|
||||
vmstate_register(0, &vmstate_vmware_vga, s);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1201,6 +1200,7 @@ void pci_vmsvga_init(PCIBus *bus)
|
|||
static PCIDeviceInfo vmsvga_info = {
|
||||
.qdev.name = "QEMUware SVGA",
|
||||
.qdev.size = sizeof(struct pci_vmsvga_state_s),
|
||||
.qdev.vmsd = &vmstate_vmware_vga,
|
||||
.init = pci_vmsvga_initfn,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue