Revision bb4ea393 target-ppc/kvm.c

b/target-ppc/kvm.c
271 271
        env->exception_index = EXCP_HLT;
272 272
    }
273 273

  
274
    return 1;
274
    return 0;
275 275
}
276 276

  
277 277
/* map dcr access to existing qemu dcr emulation */
......
280 280
    if (ppc_dcr_read(env->dcr_env, dcrn, data) < 0)
281 281
        fprintf(stderr, "Read to unhandled DCR (0x%x)\n", dcrn);
282 282

  
283
    return 1;
283
    return 0;
284 284
}
285 285

  
286 286
static int kvmppc_handle_dcr_write(CPUState *env, uint32_t dcrn, uint32_t data)
......
288 288
    if (ppc_dcr_write(env->dcr_env, dcrn, data) < 0)
289 289
        fprintf(stderr, "Write to unhandled DCR (0x%x)\n", dcrn);
290 290

  
291
    return 1;
291
    return 0;
292 292
}
293 293

  
294 294
int kvm_arch_handle_exit(CPUState *env, struct kvm_run *run)
295 295
{
296
    int ret = 0;
296
    int ret;
297 297

  
298 298
    switch (run->exit_reason) {
299 299
    case KVM_EXIT_DCR:

Also available in: Unified diff