qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 500ffd: kvm: remove unused APIs


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 500ffd: kvm: remove unused APIs
Date: Fri, 19 Apr 2013 11:30:12 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 500ffd4a29bda2109ab07fadc0f767473dab6010
      
https://github.com/qemu/qemu/commit/500ffd4a29bda2109ab07fadc0f767473dab6010
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-04-14 (Sun, 14 Apr 2013)

  Changed paths:
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  kvm: remove unused APIs

There are only used internally now, move them
out of header and out of stub.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 44c3f8f7c77ff24edbd4e682c12a8f1f50a20ae9
      
https://github.com/qemu/qemu/commit/44c3f8f7c77ff24edbd4e682c12a8f1f50a20ae9
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-04-14 (Sun, 14 Apr 2013)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  kvm: support any size for pio eventfd

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 41cb62c2d9a5a2668165fdd6f195f54ad30e5396
      
https://github.com/qemu/qemu/commit/41cb62c2d9a5a2668165fdd6f195f54ad30e5396
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-04-14 (Sun, 14 Apr 2013)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  kvm: support non datamatch ioeventfd

Adding restrictions just adds code.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 22773d6066a7f01a95f78c270edf9dbd2e755ac3
      
https://github.com/qemu/qemu/commit/22773d6066a7f01a95f78c270edf9dbd2e755ac3
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M default-configs/pci.mak
    A docs/specs/pci-testdev.txt
    M hw/misc/Makefile.objs
    A hw/misc/pci-testdev.c
    M include/hw/pci/pci.h

  Log Message:
  -----------
  pci: add pci test device

This device is used for kvm unit tests,
currently it supports testing performance of ioeventfd.
Using updated kvm unittest, here's an example output:
  mmio-no-eventfd:pci-mem 8796
  mmio-wildcard-eventfd:pci-mem 3609
  mmio-datamatch-eventfd:pci-mem 3685
  portio-no-eventfd:pci-io 5287
  portio-wildcard-eventfd:pci-io 1762
  portio-datamatch-eventfd:pci-io 1777

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: f505a4d74aae6fc8bb5502a6038b5f671aa97713
      
https://github.com/qemu/qemu/commit/f505a4d74aae6fc8bb5502a6038b5f671aa97713
  Author: Jan Kiszka <address@hidden>
  Date:   2013-04-17 (Wed, 17 Apr 2013)

  Changed paths:
    M scripts/kvm/vmxcap

  Log Message:
  -----------
  vmxcap: Open MSR file in unbuffered mode

Python may otherwise decide to to read larger chunks, applying the seek
only on the software buffer. This will return results from the wrong
MSRs.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Gleb Natapov <address@hidden>


  Commit: ea4ee28399f8ffee4eed2d724c28d2d9879b22fa
      
https://github.com/qemu/qemu/commit/ea4ee28399f8ffee4eed2d724c28d2d9879b22fa
  Author: Jan Kiszka <address@hidden>
  Date:   2013-04-17 (Wed, 17 Apr 2013)

  Changed paths:
    M scripts/kvm/vmxcap

  Log Message:
  -----------
  vmxcap: Augment reported information

Parse the Basic VMX Information MSR and add the bit for the new posted
interrupts.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Gleb Natapov <address@hidden>


  Commit: 614413f7f9a88d97ab40ecabd1c7920fb288f820
      
https://github.com/qemu/qemu/commit/614413f7f9a88d97ab40ecabd1c7920fb288f820
  Author: Jan Kiszka <address@hidden>
  Date:   2013-04-17 (Wed, 17 Apr 2013)

  Changed paths:
    M scripts/kvm/vmxcap

  Log Message:
  -----------
  vmxcap: Report APIC register emulation and RDTSCP control

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Marcelo Tosatti <address@hidden>


  Commit: 917367aa968fd4fef29d340e0c7ec8c608dffaab
      
https://github.com/qemu/qemu/commit/917367aa968fd4fef29d340e0c7ec8c608dffaab
  Author: Marcelo Tosatti <address@hidden>
  Date:   2013-04-17 (Wed, 17 Apr 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/kvm.c
    M target-i386/machine.c

  Log Message:
  -----------
  target-i386: kvm: save/restore steal time MSR

Read and write steal time MSR, so that reporting is functional across
migration.

Signed-off-by: Marcelo Tosatti <address@hidden>
Signed-off-by: Gleb Natapov <address@hidden>


  Commit: 007e986ff2dd140348e76feb21cde1a51ce6c5b4
      
https://github.com/qemu/qemu/commit/007e986ff2dd140348e76feb21cde1a51ce6c5b4
  Author: Jan Kiszka <address@hidden>
  Date:   2013-04-17 (Wed, 17 Apr 2013)

  Changed paths:
    M scripts/kvm/vmxcap

  Log Message:
  -----------
  vmxcap: Update according to SDM of January 2013

This adds reporting of VMCS shadowing, #VE, IA32_SMBASE, unrestricted
VMWRITE and fixes the range of the MSEG revision ID.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Marcelo Tosatti <address@hidden>


  Commit: ea44910eefc3661af6b80442858102a4f8cd8034
      
https://github.com/qemu/qemu/commit/ea44910eefc3661af6b80442858102a4f8cd8034
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap: fix compiler warning

The bswap functions use memcpy but the bswap.h header itself does not seem to
include it in some configuration such as cross compiling for powerpc64
on x86_64 machine.

The patch explicitly includes string.h.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: David Gibson <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: fd1ca7e0d5f76c6787428171355bcde49133c9c1
      
https://github.com/qemu/qemu/commit/fd1ca7e0d5f76c6787428171355bcde49133c9c1
  Author: Luiz Capitulino <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio.h: drop unused function prototypes

They are unused since commit 5c7d0962f60498c3f11d402e1c857cb9d5d8568d.

Signed-off-by: Luiz Capitulino <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: e1fe50dcb3c86e25ce482a7f67f2ac5405bced8a
      
https://github.com/qemu/qemu/commit/e1fe50dcb3c86e25ce482a7f67f2ac5405bced8a
  Author: Stefan Weil <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M hw/arm/armv7m.c
    M hw/arm/boot.c
    M hw/arm/musicpal.c
    M hw/arm/nseries.c
    M hw/arm/omap1.c
    M hw/audio/marvell_88w8618.c
    M hw/display/pxa2xx_lcd.c
    M hw/dma/pxa2xx_dma.c
    M hw/dma/xilinx_axidma.c
    M hw/gpio/zaurus.c
    M hw/microblaze/boot.c
    M hw/misc/macio/mac_dbdma.c
    M hw/misc/milkymist-pfpu.c
    M hw/net/mcf_fec.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/virtex_ml507.c

  Log Message:
  -----------
  Remove unneeded type casts

cpu_physical_memory_read, cpu_physical_memory_write take any pointer
as 2nd argument without needing a type cast.

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 7f1721dfb7d3a9e464ba59a7d5f76761fd8a3ab9
      
https://github.com/qemu/qemu/commit/7f1721dfb7d3a9e464ba59a7d5f76761fd8a3ab9
  Author: Stefan Weil <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  w64: Fix compiler warnings (wrong format specifier)

GetLastError() returns a DWORD value which is unsigned long,
so the correct format specifier is %lu.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 40508bb424971d9f39f3fb3b455a1765aa7799ee
      
https://github.com/qemu/qemu/commit/40508bb424971d9f39f3fb3b455a1765aa7799ee
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: change do_semop to return target errno when unsuccessful

do_semop() is called from two places, and one of these fails to convert
return error to target errno when semop fails. This patch changes the
function to always return target errno in case of an unsuccessful call.

Signed-off-by: Petar Jovanovic <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 6ae7d660a089502ec5f5cea133e5fd93fd82f3a8
      
https://github.com/qemu/qemu/commit/6ae7d660a089502ec5f5cea133e5fd93fd82f3a8
  Author: Stefan Weil <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M block/ssh.c

  Log Message:
  -----------
  block/ssh: Add missing gcc format attributes

Now gcc will check whether format string and variable arguments match.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: c7a101f5297442de7cbee44f7a31428f0e85a09f
      
https://github.com/qemu/qemu/commit/c7a101f5297442de7cbee44f7a31428f0e85a09f
  Author: Richard W.M. Jones <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M block/ssh.c

  Log Message:
  -----------
  ssh: Remove unnecessary use of strlen function.

Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>

Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: ad6b40f471cf8bf7b106032145b1b2ac105f99cf
      
https://github.com/qemu/qemu/commit/ad6b40f471cf8bf7b106032145b1b2ac105f99cf
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M hw/block/m25p80.c

  Log Message:
  -----------
  m25p80: Remove bogus include of devices.h

I think in the early revisions of this we had an instantiation helper
for the device in devices.h. This was later removed and this header was
left over. Removed

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: b6c99f8a6d66c5fa01a60483d9b012eb2b0932f2
      
https://github.com/qemu/qemu/commit/b6c99f8a6d66c5fa01a60483d9b012eb2b0932f2
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M scripts/kvm/vmxcap
    M target-i386/cpu.h
    M target-i386/kvm.c
    M target-i386/machine.c

  Log Message:
  -----------
  Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

# By Jan Kiszka (4) and Marcelo Tosatti (1)
# Via Marcelo Tosatti
* qemu-kvm/uq/master:
  vmxcap: Update according to SDM of January 2013
  target-i386: kvm: save/restore steal time MSR
  vmxcap: Report APIC register emulation and RDTSCP control
  vmxcap: Augment reported information
  vmxcap: Open MSR file in unbuffered mode

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 5dff24bebae5103810002ea76b1d03927e2148f2
      
https://github.com/qemu/qemu/commit/5dff24bebae5103810002ea76b1d03927e2148f2
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M default-configs/pci.mak
    A docs/specs/pci-testdev.txt
    M hw/misc/Makefile.objs
    A hw/misc/pci-testdev.c
    M include/hw/pci/pci.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pci: add pci test device

This adds a new device that we can use for testing PCI PIO and MMIO, with and
without ioeventfd in different configurations.  FAST_MMIO will be added if/when
kvm supports it.  Also included are minor cleanups in kvm APIs that it needs.

Signed-off-by: Michael S. Tsirkin <address@hidden>

# gpg: Signature made Mon 15 Apr 2013 05:42:24 PM CDT using RSA key ID D28D5469
# gpg: Can't check signature: public key not found

# By Michael S. Tsirkin
# Via Michael S. Tsirkin
* mst/tags/for_anthony:
  pci: add pci test device
  kvm: support non datamatch ioeventfd
  kvm: support any size for pio eventfd
  kvm: remove unused APIs

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: f691df528340807d42247fe79a89ea88e6303e1d
      
https://github.com/qemu/qemu/commit/f691df528340807d42247fe79a89ea88e6303e1d
  Author: Anthony Liguori <address@hidden>
  Date:   2013-04-19 (Fri, 19 Apr 2013)

  Changed paths:
    M block/ssh.c
    M cpus.c
    M hw/arm/armv7m.c
    M hw/arm/boot.c
    M hw/arm/musicpal.c
    M hw/arm/nseries.c
    M hw/arm/omap1.c
    M hw/audio/marvell_88w8618.c
    M hw/block/m25p80.c
    M hw/display/pxa2xx_lcd.c
    M hw/dma/pxa2xx_dma.c
    M hw/dma/xilinx_axidma.c
    M hw/gpio/zaurus.c
    M hw/microblaze/boot.c
    M hw/misc/macio/mac_dbdma.c
    M hw/misc/milkymist-pfpu.c
    M hw/net/mcf_fec.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/virtex_ml507.c
    M include/hw/virtio/virtio.h
    M include/qemu/bswap.h
    M linux-user/syscall.c

  Log Message:
  -----------
  Merge remote-tracking branch 'stefanha/trivial-patches' into staging

# By Stefan Weil (3) and others
# Via Stefan Hajnoczi
* stefanha/trivial-patches:
  m25p80: Remove bogus include of devices.h
  ssh: Remove unnecessary use of strlen function.
  block/ssh: Add missing gcc format attributes
  linux-user: change do_semop to return target errno when unsuccessful
  w64: Fix compiler warnings (wrong format specifier)
  Remove unneeded type casts
  virtio.h: drop unused function prototypes
  bswap: fix compiler warning

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/09dada400328...f691df528340

reply via email to

[Prev in Thread] Current Thread [Next in Thread]