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
2
hw/gus.c
2
hw/gus.c
|
@ -287,7 +287,6 @@ static int gus_initfn (ISADevice *dev)
|
|||
|
||||
AUD_set_active_out (s->voice, 1);
|
||||
|
||||
vmstate_register (0, &vmstate_gus, s);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -301,6 +300,7 @@ static ISADeviceInfo gus_info = {
|
|||
.qdev.name = "gus",
|
||||
.qdev.desc = "Gravis Ultrasound GF1",
|
||||
.qdev.size = sizeof (GUSState),
|
||||
.qdev.vmsd = &vmstate_gus,
|
||||
.init = gus_initfn,
|
||||
.qdev.props = (Property[]) {
|
||||
DEFINE_PROP_UINT32 ("freq", GUSState, freq, 44100),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue