diff mbox

qemu-kvm: Remove some spurious diffs to upstream

Message ID 4DE5FE55.2060603@siemens.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka June 1, 2011, 8:54 a.m. UTC
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(-)

Comments

Marcelo Tosatti June 3, 2011, 12:11 a.m. UTC | #1
On Wed, Jun 01, 2011 at 10:54:45AM +0200, Jan Kiszka wrote:
> 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(-)

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Makefile.target b/Makefile.target
index 7683e3d..150a475 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -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)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index a95c8d4..6b72470 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -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
diff --git a/cutils.c b/cutils.c
index 9de57d9..f9a7e36 100644
--- a/cutils.c
+++ b/cutils.c
@@ -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;
diff --git a/dma-helpers.c b/dma-helpers.c
index d4fc077..712ed89 100644
--- a/dma-helpers.c
+++ b/dma-helpers.c
@@ -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);
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-native.c
index 3bb3886..8848651 100644
--- a/fpu/softfloat-native.c
+++ b/fpu/softfloat-native.c
@@ -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)
 {
diff --git a/hw/i8259.c b/hw/i8259.c
index b892cee..1c545c7 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -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) {
diff --git a/sysemu.h b/sysemu.h
index 560210d..a42d83f 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -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);
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 316057a..74a9960 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -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;
diff --git a/target-i386/machine.c b/target-i386/machine.c
index bf14067..d78eceb 100644
--- a/target-i386/machine.c
+++ b/target-i386/machine.c
@@ -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),