serial: Register vmstate via qdev
commit1cc9f5143936d381366bdd55a9b28d4dfb891e08
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 15 May 2010 11:32:41 +0000 (15 13:32 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 14:32:51 +0000 (15 14:32 +0000)
treeee728a674145d22c108604b49712b049727f2228
parent4d2ffa08b601bdd40d9ccf225480c0a7e90ca078
serial: Register vmstate via qdev

At least for isa-serial, we can already let qdev do the vmstate
registration for us. It just takes wrapping vmstate for the
encapsulating ISASerialState and defining the proper instance ID
aliases.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/serial.c