On Tuesday, August 25, 2009 8:33 PM Avi Kivity wrote: > On 08/25/2009 03:29 PM, Marcelo Tosatti wrote: >> The kvm_pit_state2 structure contains extra space, so the memcpy >> in kvm_vm_ioctl_set_pit2 corrupts kvm->arch.vpit->pit_state. >> >> Fix it by memcpy'ing the channel information and assigning flags >> manually. >> > > Good catch; applied. I verified with kvm commit: 323d3b06db8bf2d8e4c5ed1a390668ae7b1b84bf, the issue has gone with the fix. Best Regards Jiajun-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html