qdev: Fix object reference leak in case device.realize() fails
[qemu/ar7.git] / target-ppc / kvm-stub.c
blobefeafca1df61b247e549c7bc9b00fe649e888a7a
1 /*
2 * QEMU KVM PPC specific function stubs
4 * Copyright Freescale Inc. 2013
6 * Author: Alexander Graf <agraf@suse.de>
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
12 #include "qemu/osdep.h"
13 #include "qemu-common.h"
14 #include "cpu.h"
15 #include "hw/ppc/openpic.h"
17 int kvm_openpic_connect_vcpu(DeviceState *d, CPUState *cs)
19 return -EINVAL;