virtio-pci: fix migration for pci bus master
[qemu/ar7.git] / target-i386 / kvm-stub.c
blob2b9e8011fb82a84a85c4e9fe381733910d609a2f
1 /*
2 * QEMU KVM x86 specific function stubs
4 * Copyright Linaro Limited 2012
6 * Author: Peter Maydell <peter.maydell@linaro.org>
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-common.h"
13 #include "kvm_i386.h"
15 bool kvm_allows_irq0_override(void)
17 return 1;
20 #ifndef __OPTIMIZE__
21 /* This function is only called inside conditionals which we
22 * rely on the compiler to optimize out when CONFIG_KVM is not
23 * defined.
25 uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function,
26 uint32_t index, int reg)
28 abort();
30 #endif