qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3022e6: Revert "chardev: Get filename for new


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3022e6: Revert "chardev: Get filename for new qapi backend...
Date: Wed, 29 May 2013 13:30:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3022e6b472d0f6d56efbe890e0f1c94841b170d4
      
https://github.com/qemu/qemu/commit/3022e6b472d0f6d56efbe890e0f1c94841b170d4
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-05-27 (Mon, 27 May 2013)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  Revert "chardev: Get filename for new qapi backend"

Does not handle chardevs created via chardev-add monitor command.

This reverts commit 2b220025993e76d4116781ca91a4fabc5ad9c722.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 60d95386abf1f5f37ded6a812d12ac458df2491b
      
https://github.com/qemu/qemu/commit/60d95386abf1f5f37ded6a812d12ac458df2491b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-05-27 (Mon, 27 May 2013)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  chardev: fix "info chardev" output

Fill unset CharDriverState->filename with the backend name, so
'info chardev' will return at least the chardev type.  Don't
touch it in case the chardev init function filled it already,
like the socket+pty chardevs do for example.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c7e587b73ebac05943df78f5f37d80d32ff47d3d
      
https://github.com/qemu/qemu/commit/c7e587b73ebac05943df78f5f37d80d32ff47d3d
  Author: Aneesh Kumar K.V <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M hw/9pfs/virtio-9p.c

  Log Message:
  -----------
  hw/9pfs: Fix segfault with 9p2000.u

When guest tries to chmod a block or char device file over 9pfs,
the qemu process segfaults. With 9p2000.u protocol we use wstat to
change mode bits and client don't send extension information for
chmod. We need to check for size field to check whether extension
info is present or not.

Reported-by: Michael Tokarev <address@hidden>
Acked-by: Michael Tokarev <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>


  Commit: aed858ce10ef09c7bdf03f73e75e772f567c74cd
      
https://github.com/qemu/qemu/commit/aed858ce10ef09c7bdf03f73e75e772f567c74cd
  Author: Aneesh Kumar K.V <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M hw/9pfs/virtio-9p-local.c

  Log Message:
  -----------
  hw/9pfs: use O_NOFOLLOW for mapped readlink operation

With mapped security models like mapped-xattr and mapped-file, we save the
symlink target as file contents. Now if we ever expose a normal directory
with mapped security model and find real symlinks in export path, never
follow them and return proper error.

Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>


  Commit: 0ceb092e35f9d8793d64d86194ec9463718dffa3
      
https://github.com/qemu/qemu/commit/0ceb092e35f9d8793d64d86194ec9463718dffa3
  Author: Aneesh Kumar K.V <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M hw/9pfs/virtio-9p-local.c

  Log Message:
  -----------
  hw/9pfs: Use O_NOFOLLOW when opening files on server

9p server should never follow a symlink. So use O_NOFOLLOW with all open
syscall

Tested-by: "M. Mohan Kumar" <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>


  Commit: db431f6adc881a0758512cd765b3108209013512
      
https://github.com/qemu/qemu/commit/db431f6adc881a0758512cd765b3108209013512
  Author: Gabriel de Perthuis <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M hw/9pfs/cofile.c

  Log Message:
  -----------
  hw/9pfs: Be robust against paths without FS_IOC_GETVERSION

9P optionally uses the FS_IOC_GETVERSION ioctl to get information about
a file's version (sometimes called generation number).

The code checks for supported filesystems at mount time, but some paths
may come from other mounted filesystems.

Change it to treat unsupported paths the same as unsupported
filesystems, returning 0 in both cases.

Note: ENOTTY is the error code for an unsupported ioctl.

This fix allows booting a linux kernel with the same / filesystem as the
host; otherwise the boot fails when mounting devtmpfs.

Signed-off-by: Gabriel de Perthuis <address@hidden>
Reviewed-by: Aneesh Kumar K.V <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>


  Commit: 19cd090e17b293b49eec59346df94a668f5d2438
      
https://github.com/qemu/qemu/commit/19cd090e17b293b49eec59346df94a668f5d2438
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M roms/configure-seabios.sh

  Log Message:
  -----------
  Revert "roms: switch oldnoconfig to olddefconfig"

This reverts commit a5519b42cfd6c00e9f8b31c5aad7682e7a9f1181.

Breaks "make bios" in roms/ as the kconfig version in seabios doesn't
support olddefconfig.  Must have been be totally untested.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6683d7bc2759e9da8b5c4907a9de85d500933ffb
      
https://github.com/qemu/qemu/commit/6683d7bc2759e9da8b5c4907a9de85d500933ffb
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M pc-bios/bios.bin
    M roms/seabios

  Log Message:
  -----------
  update seabios to release 1.7.2.2

git shortlog from 1.7.2.1

Asias He (2):
      virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd}
      virtio-scsi: Set _DRIVER_OK flag before scsi target scanning

Kevin O'Connor (1):
      Cache boot-fail-wait to avoid romfile access after POST.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6e657e64cdc478461c1e6a5e81c6d23115664326
      
https://github.com/qemu/qemu/commit/6e657e64cdc478461c1e6a5e81c6d23115664326
  Author: Peter Maydell <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  cocoa: Fix leaks of NSScreen and NSConcreteMapTable

On MacOSX 10.8 QEMU provokes system log messages:
11/03/2013 17:03:29.998 qemu-system-arm[42586]: objc[42586]: Object
0x7ffbf9c2f3b0 of class NSScreen autoreleased with no pool in place - just
leaking - break on objc_autoreleaseNoPool() to debug

11/03/2013 17:03:29.999 qemu-system-arm[42586]: objc[42586]: Object
0x7ffbf9c3a010 of class NSConcreteMapTable autoreleased with no pool in
place - just leaking - break on objc_autoreleaseNoPool() to debug

This is because we call back into Cocoa from threads other than
the UI thread (specifically from the CPU thread). Since we created
these threads via the POSIX API rather than NSThread, they don't have
automatically created autorelease pools. Guard all the functions where
QEMU can call back into the Cocoa UI code with autorelease pools
so that we don't leak any Cocoa objects.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 42a5dfe75f455fe7f3619ce44b7eb025ba631ee8
      
https://github.com/qemu/qemu/commit/42a5dfe75f455fe7f3619ce44b7eb025ba631ee8
  Author: Peter Maydell <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  cocoa: Avoid deprecated CPS* functions

The functions CPSGetCurrentProcess and CPSEnableForegroundOperation
are deprecated in newer versions of MacOSX and cause warning messages
to be logged to the system log. Instead, use the new preferred method
of promoting our console process up to a graphical app with menubar
and Dock icon, which is TransformProcessType. (This function came
in with MacOSX 10.3, so there's no need to retain the old method as
we don't support anything earlier than 10.3 anyway.)

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 8bb3f1e3742ca8d26af7156e14068435437918a1
      
https://github.com/qemu/qemu/commit/8bb3f1e3742ca8d26af7156e14068435437918a1
  Author: Peter Maydell <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  cocoa: Avoid deprecated NSOpenPanel filename method

Avoid the NSOpenPanel filename method (deprecated in MacOSX 10.6)
in favour of using the URL method and extracting the path from the
resulting NSUrl object.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2ba9de6ed0455f5c55e4fb1841e1597204535430
      
https://github.com/qemu/qemu/commit/2ba9de6ed0455f5c55e4fb1841e1597204535430
  Author: Peter Maydell <address@hidden>
  Date:   2013-05-28 (Tue, 28 May 2013)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  cocoa: Avoid deprecated NSOpenPanel beginSheetForDirectory

In MacOSX 10.6 and above the NSOpenPanel beginSheetForDirectory
method is deprecated. Use the preferred replacements instead.
We retain the original code for use on earlier MacOSX versions
because the replacement methods don't exist before 10.6.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c199707ad0dcbb4a72e7435551c7f23b9606a063
      
https://github.com/qemu/qemu/commit/c199707ad0dcbb4a72e7435551c7f23b9606a063
  Author: Anthony Liguori <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M pc-bios/bios.bin
    M roms/configure-seabios.sh
    M roms/seabios

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/seabios-1.7.2.2' into staging

# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/seabios-1.7.2.2:
  update seabios to release 1.7.2.2
  Revert "roms: switch oldnoconfig to olddefconfig"

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


  Commit: 46a352a7d7a47b3733ae76c0a0906d6934f81fc0
      
https://github.com/qemu/qemu/commit/46a352a7d7a47b3733ae76c0a0906d6934f81fc0
  Author: Anthony Liguori <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/chardev.6' into staging

# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/chardev.6:
  chardev: fix "info chardev" output
  Revert "chardev: Get filename for new qapi backend"

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


  Commit: 1afd566ce921493a13b3878662b5320aab7645d0
      
https://github.com/qemu/qemu/commit/1afd566ce921493a13b3878662b5320aab7645d0
  Author: Anthony Liguori <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  Merge remote-tracking branch 'afaerber-or/cocoa-for-upstream' into staging

# By Peter Maydell
# Via Andreas Färber
* afaerber-or/cocoa-for-upstream:
  cocoa: Avoid deprecated NSOpenPanel beginSheetForDirectory
  cocoa: Avoid deprecated NSOpenPanel filename method
  cocoa: Avoid deprecated CPS* functions
  cocoa: Fix leaks of NSScreen and NSConcreteMapTable


  Commit: 338ea905e948613607c98346e127fc9472c57f0d
      
https://github.com/qemu/qemu/commit/338ea905e948613607c98346e127fc9472c57f0d
  Author: Anthony Liguori <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M hw/9pfs/cofile.c
    M hw/9pfs/virtio-9p-local.c
    M hw/9pfs/virtio-9p.c

  Log Message:
  -----------
  Merge remote-tracking branch 'aneesh/for-upstream' into staging

# By Aneesh Kumar K.V (3) and Gabriel de Perthuis (1)
# Via Aneesh Kumar K.V
* aneesh/for-upstream:
  hw/9pfs: Be robust against paths without FS_IOC_GETVERSION
  hw/9pfs: Use O_NOFOLLOW when opening files on server
  hw/9pfs: use O_NOFOLLOW for mapped readlink operation
  hw/9pfs: Fix segfault with 9p2000.u

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


  Commit: dade922f357c709c02eed2e1b1891453896756dd
      
https://github.com/qemu/qemu/commit/dade922f357c709c02eed2e1b1891453896756dd
  Author: Jordan Justen <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M hw/block/pc_sysfw.c
    M hw/i386/pc_piix.c

  Log Message:
  -----------
  isapc: Fix non-KVM qemu boot (read/write memory for isapc BIOS)

The isapc machine with seabios currently requires the BIOS region
to be read/write memory rather than read-only memory.

KVM currently cannot support the BIOS as a ROM region, but qemu
in non-KVM mode can. Based on this, isapc machine currently only
works with KVM.

To work-around this isapc issue, this change avoids marking the
BIOS as readonly for isapc.

This change also will allow KVM to start supporting ROM mode
via KVM_CAP_READONLY_MEM.

Signed-off-by: Jordan Justen <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: df9c8b758a04825e23f82427001028342b92d0cf
      
https://github.com/qemu/qemu/commit/df9c8b758a04825e23f82427001028342b92d0cf
  Author: Jordan Justen <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

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

  Log Message:
  -----------
  kvm: add kvm_readonly_mem_enabled

Signed-off-by: Jordan Justen <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 235e8982ad393e5611cb892df54881c872eea9e1
      
https://github.com/qemu/qemu/commit/235e8982ad393e5611cb892df54881c872eea9e1
  Author: Jordan Justen <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  kvm: support using KVM_MEM_READONLY flag for regions

For readonly memory regions and rom devices in romd_mode,
we make use of the KVM_MEM_READONLY. A slot that uses
KVM_MEM_READONLY can be read from and code can execute from the
region, but writes will exit to qemu.

For rom devices with !romd_mode, we force the slot to be
removed so reads or writes to the region will exit to qemu.
(Note that a memory region in this state is not executable
within kvm.)

v7:
 * Update for readable => romd_mode rename (5f9a5ea1)

Signed-off-by: Jordan Justen <address@hidden>
Reviewed-by: Xiao Guangrong <address@hidden> (v4)
Reviewed-by: Paolo Bonzini <address@hidden> (v5)
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: dafb82e0fc89b631d25f8def649fbfd14fec3db2
      
https://github.com/qemu/qemu/commit/dafb82e0fc89b631d25f8def649fbfd14fec3db2
  Author: Jordan Justen <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M hw/block/pc_sysfw.c

  Log Message:
  -----------
  pc_sysfw: allow flash (-pflash) memory to be used with KVM

When pc-sysfw.rom_only == 0, flash memory will be
usable with kvm. In order to enable flash memory mode,
a pflash device must be created. (For example, by
using the -pflash command line parameter.)

Usage of a flash memory device with kvm requires
KVM_CAP_READONLY_MEM, and kvm will abort if
a flash device is used with an older kvm which does
not support this capability.

If a flash device is not used, then qemu/kvm will
operate in the original rom-mode.

Signed-off-by: Jordan Justen <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 04129606170ec9011d4952b4f22c368679bedbf9
      
https://github.com/qemu/qemu/commit/04129606170ec9011d4952b4f22c368679bedbf9
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M tests/Makefile
    M tests/qemu-iotests/check

  Log Message:
  -----------
  tests: set MALLOC_PERTURB_ to expose memory bugs

glibc wipes malloc(3) memory when the MALLOC_PERTURB_ environment
variable is set.  The value of the environment variable determines the
bit pattern used to wipe memory.  For more information, see
http://udrepper.livejournal.com/11429.html.

Set MALLOC_PERTURB_ for gtester and qemu-iotests.  Note we pick a random
value from 1 to 255 to expose more bugs.  If you need to reproduce a
crash use 'show environment' in gdb to extract the MALLOC_PERTURB_
value from a core dump.

Both make check and qemu-iotests pass with MALLOC_PERTURB_ enabled.

Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 87d23f78aa79b72da022afda358bbc8a8509ca70
      
https://github.com/qemu/qemu/commit/87d23f78aa79b72da022afda358bbc8a8509ca70
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-05-29 (Wed, 29 May 2013)

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

  Log Message:
  -----------
  virtio-pci: drop unused wmb macro

The implementation is wrong for kvm, and it's unused anyway.
Drop it.

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


Compare: https://github.com/qemu/qemu/compare/6a4e17711442...87d23f78aa79

reply via email to

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