qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 42644c: linux-user: arg_table need not have g


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 42644c: linux-user: arg_table need not have global scope
Date: Thu, 30 Aug 2012 06:00:11 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 42644cee08f85202f5d3e8babf6503487849353a
      
https://github.com/qemu/qemu/commit/42644cee08f85202f5d3e8babf6503487849353a
  Author: Jim Meyering <address@hidden>
  Date:   2012-08-27 (Mon, 27 Aug 2012)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: arg_table need not have global scope

Declare arg_table to be "static const", and adjust the two users
to also be const.

Signed-off-by: Jim Meyering <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: 333858b77c2b4f7636257808a77822c58bdd80fe
      
https://github.com/qemu/qemu/commit/333858b77c2b4f7636257808a77822c58bdd80fe
  Author: Dmitry V. Levin <address@hidden>
  Date:   2012-08-27 (Mon, 27 Aug 2012)

  Changed paths:
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: fix emulation of getdents

In case when TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64, the last
byte of the target dirent structure (aka d_type byte) was never copied
from the host dirent structure, thus breaking everything that relies
on valid d_type value, e.g. glob(3).

Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Dmitry V. Levin <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: 097b8cb840a31ec526cc58778bd8cbab0d2beaaa
      
https://github.com/qemu/qemu/commit/097b8cb840a31ec526cc58778bd8cbab0d2beaaa
  Author: Peter Maydell <address@hidden>
  Date:   2012-08-27 (Mon, 27 Aug 2012)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: Clarify "Unable to reserve guest address space" error

Now that we default to reserving nearly 4GB of RAM for the guest
address space when running a 32 bit linux-user guest on 64 bit
hosts, users are much more likely to run into it. Reword the
message to be more informative about what failed and provide
suggestions for how to fix things.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: fb6541571e0dc74655f0bfb0534c95d759a7bdb4
      
https://github.com/qemu/qemu/commit/fb6541571e0dc74655f0bfb0534c95d759a7bdb4
  Author: Hannes Reinecke <address@hidden>
  Date:   2012-08-28 (Tue, 28 Aug 2012)

  Changed paths:
    M hw/megasas.c

  Log Message:
  -----------
  megasas: Add 'hba_serial' property

Add a 'hba_serial' property to the megasas driver. Originally
it would be using a pointer value which would break migration.

Reported-by: Stefan Weil <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Hannes Reinecke <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 9ea73f8b10531de4b1173835c819b7c35b7160c6
      
https://github.com/qemu/qemu/commit/9ea73f8b10531de4b1173835c819b7c35b7160c6
  Author: Paolo Bonzini <address@hidden>
  Date:   2012-08-28 (Tue, 28 Aug 2012)

  Changed paths:
    M hw/esp.c

  Log Message:
  -----------
  esp: support 24-bit DMA

SeaBIOS will issue requests for more than 64k when loading a CD-ROM
image into memory.  Support the TCHI register from the AMD PCscsi
spec.

Acked-by: Hervé Poussineau <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0f1da449ec65403bc5c028eb9618d0ee598a3615
      
https://github.com/qemu/qemu/commit/0f1da449ec65403bc5c028eb9618d0ee598a3615
  Author: Paolo Bonzini <address@hidden>
  Date:   2012-08-28 (Tue, 28 Aug 2012)

  Changed paths:
    M hw/scsi-disk.c
    M hw/scsi-generic.c

  Log Message:
  -----------
  scsi: more fixes to properties for passthrough devices

Commit 0384783 (scsi-block: remove properties that are not relevant for
passthrough, 2012-07-09) removed one property that should have been
left there, "bootindex".

It also did not touch scsi-generic, while it should have.

Fix both problems.

Reported-by: Alexandre DERUMIER <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 135b9088780d7d8e5eae027b4fba6b33562f7006
      
https://github.com/qemu/qemu/commit/135b9088780d7d8e5eae027b4fba6b33562f7006
  Author: Ronnie Sahlberg <address@hidden>
  Date:   2012-08-28 (Tue, 28 Aug 2012)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  iscsi: Set number of blocks to 0 for blank CDROM devices

The number of blocks of the device is used to compute the device size
in bdrv_getlength()/iscsi_getlength().
For MMC devices, the ReturnedLogicalBlockAddress in the READCAPACITY10
has a special meaning when it is 0.
In this case it does not mean that LBA 0 is the last accessible LBA,
and thus the device has 1 readable block, but instead it means that the
disc is blank and there are no readable blocks.

This change ensures that when the iSCSI LUN is loaded with a blank
DVD-R disk or similar that bdrv_getlength() will return the correct
size of the device as 0 bytes.

Signed-off-by: Ronnie Sahlberg <address@hidden>


  Commit: 7dd6f4b250772e4859997d2624ac0bbc8d02482b
      
https://github.com/qemu/qemu/commit/7dd6f4b250772e4859997d2624ac0bbc8d02482b
  Author: Anthony Liguori <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M linux-user/main.c
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging

* riku/linux-user-for-upstream:
  linux-user: Clarify "Unable to reserve guest address space" error
  linux-user: fix emulation of getdents
  linux-user: arg_table need not have global scope


  Commit: 1e2778d59d110404428627690950405577be5090
      
https://github.com/qemu/qemu/commit/1e2778d59d110404428627690950405577be5090
  Author: Anthony Liguori <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M block/iscsi.c
    M hw/esp.c
    M hw/megasas.c
    M hw/scsi-disk.c
    M hw/scsi-generic.c

  Log Message:
  -----------
  Merge remote-tracking branch 'bonzini/scsi-next' into staging

* bonzini/scsi-next:
  iscsi: Set number of blocks to 0 for blank CDROM devices
  scsi: more fixes to properties for passthrough devices
  esp: support 24-bit DMA
  megasas: Add 'hba_serial' property


  Commit: 998a74bcda7f3297813732ddc2f28ffe5a12e37a
      
https://github.com/qemu/qemu/commit/998a74bcda7f3297813732ddc2f28ffe5a12e37a
  Author: Peter Maydell <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M hw/arm_gic.c

  Log Message:
  -----------
  hw/arm_gic.c: Define .class_size in arm_gic_info TypeInfo

Add the missing .class_size definition to the arm_gic_info TypeInfo.
This fixes the memory corruption and possible segfault that otherwise
results when the class struct is allocated at too small a size and
the class init function writes off the end of it.

Reported-by: Adam Lackorzynski <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7e7de876ae9bdb1b994dee148c6dc009ce94c48e
      
https://github.com/qemu/qemu/commit/7e7de876ae9bdb1b994dee148c6dc009ce94c48e
  Author: Cam Macdonell <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M hw/ivshmem.c

  Log Message:
  -----------
  ivshmem: remove redundant ioeventfd configuration

setup_ioeventfds() is unnecessary and actually causes a segfault when used
ioeventfd=on is used on the command-line.  Since ioeventfds are handled within
the memory API, it can be removed.

Signed-off-by: Cam Macdonell <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7e2a62d82a3f1397acd67685c3008046eba8344b
      
https://github.com/qemu/qemu/commit/7e2a62d82a3f1397acd67685c3008046eba8344b
  Author: Jan Kiszka <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: Fix copy&paste mistake in memory_region_iorange_write

The last argument of find_portio is "write", so this must be true here.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 4bdb1a3059d7d3a931de0748a2eec39a0ab41b4e
      
https://github.com/qemu/qemu/commit/4bdb1a3059d7d3a931de0748a2eec39a0ab41b4e
  Author: Stefan Weil <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M qemu-ga.c

  Log Message:
  -----------
  qemu-ga: Fix null pointer passed to unlink in failure branch

Clang reports this warning:

Null pointer passed as an argument to a 'nonnull' parameter

Reviewed-by: Luiz Capitulino <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 4d09d37c6aa9a02b44b1fdb6268820fab92499bd
      
https://github.com/qemu/qemu/commit/4d09d37c6aa9a02b44b1fdb6268820fab92499bd
  Author: Gleb Natapov <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M hw/acpi_piix4.c

  Log Message:
  -----------
  reset PMBA and PMREGMISC PIIX4 registers.

The bug causes Windows + OVMF hang after reboot since OVMF
checks PMREGMISC to see if IO space is enabled and skip
configuration if it is.

Reviewed-by: Laszlo Ersek <address@hidden>
Signed-off-by: Gleb Natapov <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: ef8621b1a3b199c348606c0a11a77d8e8bf135f1
      
https://github.com/qemu/qemu/commit/ef8621b1a3b199c348606c0a11a77d8e8bf135f1
  Author: Anthony Liguori <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: disable pv eoi to fix migration across QEMU versions

We have a problem with how we handle migration with KVM paravirt features.
We unconditionally enable paravirt features regardless of whether we know how
to migrate them.

We also don't tie paravirt features to specific machine types so an old QEMU on
a new kernel would expose features that never existed.

The 1.2 cycle is over and as things stand, migration is broken.  Michael has
another series that adds support for migrating PV EOI and attempts to make it
work correctly for different machine types.

After speaking with Michael on IRC, we agreed to take this patch plus 1 & 4
from his series.  This makes sure QEMU can migrate PV EOI if it's enabled, but
does not enable it by default.

This also means that we won't unconditionally enable new features for guests
future proofing us from this happening again in the future.

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


  Commit: 651682dcf54c4f2e07904bd822a97895900f6d8a
      
https://github.com/qemu/qemu/commit/651682dcf54c4f2e07904bd822a97895900f6d8a
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M linux-headers/asm-s390/kvm.h
    M linux-headers/asm-s390/kvm_para.h
    M linux-headers/asm-x86/kvm.h
    M linux-headers/asm-x86/kvm_para.h
    M linux-headers/linux/kvm.h

  Log Message:
  -----------
  linux-headers: update to 3.6-rc3

Update linux-headers to version present in Linux 3.6-rc3.
Header asm-x96_64/kvm_para.h update is needed for the new PV EOI
feature.

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


  Commit: bc9a839d569d4d8532c5c097bf1f4583226e3aa0
      
https://github.com/qemu/qemu/commit/bc9a839d569d4d8532c5c097bf1f4583226e3aa0
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

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

  Log Message:
  -----------
  kvm: get/set PV EOI MSR

Support get/set of new PV EOI MSR, for migration.
Add an optional section for MSR value - send it
out in case MSR was changed from the default value (0).

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


  Commit: 3cac001e5ae3c0ceb33e0a1978a48cb5e2482ab2
      
https://github.com/qemu/qemu/commit/3cac001e5ae3c0ceb33e0a1978a48cb5e2482ab2
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M hw/msix.c
    M hw/virtio-pci.c

  Log Message:
  -----------
  msix: make [un]use vectors on reset/load optional

The facility to use/unuse vectors dynamically is helpful
for virtio but little else: everyone just seems to use
vectors in their init function.

Avoid clearing msix vector use info on reset and load.
For virtio, clear it explicitly.
This should fix regressions reported with ivshmem - though
I didn't test this, I verified that virtio keeps
working like it did.

Tested-by: Cam Macdonell <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 5bb0b62e750c24886e90d1399eb9f03c68404001
      
https://github.com/qemu/qemu/commit/5bb0b62e750c24886e90d1399eb9f03c68404001
  Author: Stefan Weil <address@hidden>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M hw/scsi-disk.c

  Log Message:
  -----------
  scsi-disk: Fix typo (uint32 -> uint32_t)

Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: c9a238e7005bc6c94c7367b2976402ee5adec0de
      
https://github.com/qemu/qemu/commit/c9a238e7005bc6c94c7367b2976402ee5adec0de
  Author: Anthony Liguori <address@hidden>
  Date:   2012-08-30 (Thu, 30 Aug 2012)

  Changed paths:
    M VERSION

  Log Message:
  -----------
  Update version for 1.2.0-rc2

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


Compare: https://github.com/qemu/qemu/compare/18fec301cd2a...c9a238e7005b

reply via email to

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