acpi: split out apm register emulation from acpi.c
Split out apm register emulation for acpi.c into apm.c.The apm emulation will be used later.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Acked-by: Gerd Hoffmann <kraxel@redhat.com>Cc: Aurelien Jarno <aurelien@aurel32.net>...
acpi: split out piix4 smbus routines from acpi.c into pm_smbus.c
Split out piix4 smbus routines from acpi.c into pm_smbus.c anduse it.The split out smbus emulation will be used later.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Acked-by: Gerd Hoffmann <kraxel@redhat.com>...
mc146818rtc: Register vmstate via qdev
After defining the required alias ID, we can push vmstate registrationof mc146818rtc to qdev.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
fdc: Register vmstate via qdev
Establish vmstate containers for ISA and sysbus variant, define theiobase as instance ID alias, and let qdev do the vmstate registrationwork.
serial: Register vmstate via qdev
At least for isa-serial, we can already let qdev do the vmstateregistration for us. It just takes wrapping vmstate for theencapsulating ISASerialState and defining the proper instance IDaliases.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
vmstate: Add support for alias ID
Some legacy users (mostly PC devices) of vmstate_register manageinstance IDs on their own, and that unfortunately in a way that isincompatible with automatically generated ones. This so far preventsswitching those users to vmstates that are registered by qdev....
vmstate: Drop unused post_save handler
No device makes use of it anymore.
sh: sm501: add 2D engine support
In linux kernel v2.6.33, sm501 frame buffer driver modified to support2D graphics engine on sm501 chip. One example is "fill rectangle" operation.But current qemu's sm501 emulation doesn't support it. This results ingraphics console disturbance....
tmp105: update the register in post_load where it needs updating.
This was the only user of .post_save as noticed by Jan Kiszka andseems to have been added there wrongly during conversion toVMStateDescription.
Signed-off-by: Andrzej Zaborowski <balrogg@gmail.com>
e1000: make some tables 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View revisions
Also available in: Atom