@@ -107,8 +107,6 @@ tcg/tcg.o: cpu.h
# cpu_signal_handler() in cpu-exec.c.
signal.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
-qemu-kvm-helper.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
-
#########################################################
# Linux user emulator target
@@ -208,7 +206,6 @@ obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/virtio-9p.o
obj-y += rwhandler.o
obj-$(CONFIG_KVM) += kvm.o kvm-all.o
obj-$(CONFIG_NO_KVM) += kvm-stub.o
-
LIBS+=-lz
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
@@ -27,8 +27,6 @@
#include "qemu-log.h"
#include "block_int.h"
#include "module.h"
-#include "compatfd.h"
-#include <assert.h>
#include "block/raw-posix-aio.h"
#ifdef CONFIG_COCOA
@@ -239,11 +239,6 @@ void qemu_iovec_to_buffer(QEMUIOVector *qiov, void *buf)
}
}
-/*
- * No dma flushing needed here, as the aio code will call dma_bdrv_cb()
- * on completion as well, which will result in a call to
- * dma_bdrv_unmap() which will do the flushing ....
- */
void qemu_iovec_from_buffer(QEMUIOVector *qiov, const void *buf, size_t count)
{
const uint8_t *p = (const uint8_t *)buf;
@@ -160,10 +160,6 @@ static BlockDriverAIOCB *dma_bdrv_io(
dbs->is_write = is_write;
dbs->bh = NULL;
qemu_iovec_init(&dbs->iov, sg->nsg);
- /*
- * DMA flushing is handled in dma_bdrv_cb() calling dma_bdrv_unmap()
- * so we don't need to do that here.
- */
dma_bdrv_cb(dbs, 0);
if (!dbs->acb) {
qemu_aio_release(dbs);
@@ -5,7 +5,6 @@
#if defined(CONFIG_SOLARIS)
#include <fenv.h>
#endif
-#include "config-host.h"
void set_float_rounding_mode(int val STATUS_PARAM)
{
@@ -23,7 +23,6 @@
*/
#include "hw.h"
#include "pc.h"
-#include "apic.h"
#include "isa.h"
#include "monitor.h"
#include "qemu-timer.h"
@@ -192,6 +191,7 @@ int64_t irq_time[16];
static void i8259_set_irq(void *opaque, int irq, int level)
{
PicState2 *s = opaque;
+
#if defined(DEBUG_PIC) || defined(DEBUG_IRQ_COUNT)
if (level != irq_level[irq]) {
DPRINTF("i8259_set_irq: irq=%d level=%d\n", irq, level);
@@ -220,11 +220,9 @@ static inline void pic_intack(PicState *s, int irq)
} else {
s->isr |= (1 << irq);
}
-
/* We don't clear a level sensitive interrupt here */
if (!(s->elcr & (1 << irq)))
s->irr &= ~(1 << irq);
-
}
extern int time_drift_fix;
@@ -236,7 +234,6 @@ int pic_read_irq(PicState2 *s)
irq = pic_get_irq(&s->pics[0]);
if (irq >= 0) {
-
pic_intack(&s->pics[0], irq);
#ifdef TARGET_I386
if (time_drift_fix && irq == 0) {
@@ -40,7 +40,6 @@ void vm_stop(int reason);
void qemu_system_reset_request(void);
void qemu_system_shutdown_request(void);
void qemu_system_powerdown_request(void);
-int qemu_no_shutdown(void);
void qemu_system_debug_request(void);
void qemu_system_vmstop_request(int reason);
int qemu_shutdown_requested_get(void);
@@ -551,7 +551,6 @@ void kvm_arch_reset_vcpu(CPUState *env)
}
}
-
static int kvm_get_supported_msrs(KVMState *s)
{
static int kvm_supported_msrs;
@@ -982,6 +981,7 @@ static int kvm_put_msrs(CPUState *env, int level)
}
+
static int kvm_get_fpu(CPUState *env)
{
struct kvm_fpu fpu;
@@ -487,7 +487,6 @@ static const VMStateDescription vmstate_cpu = {
/* KVM pvclock msr */
VMSTATE_UINT64_V(system_time_msr, CPUState, 11),
VMSTATE_UINT64_V(wall_clock_msr, CPUState, 11),
-
/* XSAVE related fields */
VMSTATE_UINT64_V(xcr0, CPUState, 12),
VMSTATE_UINT64_V(xstate_bv, CPUState, 12),
No functional changes. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> --- Makefile.target | 3 --- block/raw-posix.c | 2 -- cutils.c | 5 ----- dma-helpers.c | 4 ---- fpu/softfloat-native.c | 1 - hw/i8259.c | 5 +---- sysemu.h | 1 - target-i386/kvm.c | 2 +- target-i386/machine.c | 1 - 9 files changed, 2 insertions(+), 22 deletions(-)