qemu-irix/include/hw
David Gibson 880ae7de59 pseries: Move rtc_offset into RTC device's state structure
The initial creation of the PAPR RTC qdev class left a wart - the rtc's
offset was left in the sPAPREnvironment structure, accessed via a global.

This patch moves it into the RTC device's own state structure, were it
belongs.  This requires a small change to the migration stream format.  In
order to handle incoming streams from older versions, we also need to
retain the rtc_offset field in the sPAPREnvironment structure, so that it
can be loaded into via the vmsd, then pushed into the RTC device.

Since we're changing the migration format, this also takes the opportunity
to:

  * Change the rtc offset from a value in seconds to a value in
    nanoseconds, allowing nanosecond offsets between host and guest
    rtc time, if desired.

  * Remove both the already unused "next_irq" field and now unused
    "rtc_offset" field from the new version of the spapr migration
    stream

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-03-09 14:59:58 +01:00
..
acpi aml-build: comment fix 2015-03-08 11:51:46 +01:00
arm target_arm: Parameterise the irq lines for armv7m_init 2015-02-05 13:37:21 +00:00
audio
block
char serial: Factor out common serial_hds_isa_init() 2015-02-24 00:19:06 +01:00
cpu
cris
i2c
i386 pci, pc, virtio fixes and cleanups 2015-03-09 09:14:28 +00:00
input
intc
ipack
isa pc: export applesmc IO port/len 2015-03-01 12:33:22 +01:00
kvm
lm32 hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00
m68k
mem pc-dimm: Add Error argument to pc_existing_dimms_capacity 2015-01-27 14:46:18 +02:00
mips
misc
net
nvram
pci pci: Give a few helpers internal linkage 2015-03-01 12:35:21 +01:00
pci-host spapr-pci: Enable huge BARs 2015-03-09 14:59:54 +01:00
ppc pseries: Move rtc_offset into RTC device's state structure 2015-03-09 14:59:58 +01:00
s390x s390: Add PCI bus support 2015-01-12 10:14:04 +01:00
scsi
sh4
sparc QOM infrastructure fixes and device conversions 2015-03-02 13:20:43 +00:00
timer
tricore
unicore32
usb
vfio vfio: allow to disable MMAP per device with -x-mmap=off option 2015-03-02 11:38:55 -07:00
virtio virtio: add feature checking helpers 2015-02-26 13:04:07 +01:00
xen fix QEMU build on Xen/ARM 2015-01-26 11:56:33 +00:00
boards.h hw/machine: added machine_usb wrapper 2015-01-08 17:32:27 +00:00
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h misc: Fix new typos in comments 2015-01-15 10:44:13 +03:00
hw.h
ide.h
irq.h
loader.h hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qdev: support to get a device firmware path directly 2015-02-11 21:47:51 +01:00
qdev-dma.h
qdev-properties.h qdev: Don't exit when running into bad -global 2015-02-26 12:42:18 +01:00
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00