[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/1] vmstate: fix failed iotests case 68 and
Re: [Qemu-devel] [PATCH v1 1/1] vmstate: fix failed iotests case 68 and 91
Thu, 16 Mar 2017 09:01:22 +0100
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
QingFeng Hao <address@hidden> wrote:
> This problem affects s390x only if we are running without KVM.
> Basically, S390CPU.irqstate is unused if we do not use KVM,
> and thus no buffer is allocated.
> This causes size=0, first_elem=NULL and n_elems=1 in
> vmstate_load_state and vmstate_save_state. And the assert fails.
> With this fix we can go back to the old behavior and support
> VMS_VBUFFER with size 0 and nullptr.
> Signed-off-by: QingFeng Hao <address@hidden>
> Signed-off-by: Halil Pasic <address@hidden>