virtio-serial: allocate post_load only at load-time
commitbdb917bf8ab187b662c612ee6fb87479c0b82490
authorAmit Shah <amit.shah@redhat.com>
Thu, 29 Nov 2012 19:24:44 +0000 (30 00:54 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 13 Dec 2012 10:31:26 +0000 (13 16:01 +0530)
tree9b2c3c1f5b13e5ce033dc79fd1994a88ff1abc57
parent2e575a86abc36764ef34030f423ef118914a01cc
virtio-serial: allocate post_load only at load-time

This saves us a few bytes in the VirtIOSerial struct.  Not a big
savings, but since the entire structure is used only during a short
while after migration, it's helpful to keep the struct cleaner and
smaller.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
hw/virtio-serial-bus.c