[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
Fri, 17 Mar 2017 10:32:30 +0800
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
在 2017/3/16 16:01, Juan Quintela 写道:
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>