Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> --- hw/i8254.c | 1 - kvm.h | 1 + target-i386/kvm.c | 1 - 3 files changed, 1 insertions(+), 2 deletions(-) diff --git a/hw/i8254.c b/hw/i8254.c index 668a217..33d94e1 100644 --- a/hw/i8254.c +++ b/hw/i8254.c @@ -459,7 +459,6 @@ static int pit_load_old(QEMUFile *f, void *opaque, int version_id) qemu_get_timer(f, s->irq_timer); } } - return 0; } diff --git a/kvm.h b/kvm.h index f8aebbc..43d4c68 100644 --- a/kvm.h +++ b/kvm.h @@ -205,6 +205,7 @@ static inline void cpu_synchronize_post_init(CPUState *env) } } + #if !defined(CONFIG_USER_ONLY) int kvm_physical_memory_addr_from_host(KVMState *s, void *ram_addr, target_phys_addr_t *phys_addr); diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 864ed5a..9fca9b9 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -774,7 +774,6 @@ static void get_seg(SegmentCache *lhs, const struct kvm_segment *rhs) (rhs->avl * DESC_AVL_MASK); } - static void kvm_getput_reg(__u64 *kvm_reg, target_ulong *qemu_reg, int set) { if (set) { -- 1.7.3.4 -- 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