1. 06 6月, 2017 1 次提交
    • E
      pc: Use "min-[x]level" on compat_props · 1f435716
      Eduardo Habkost 提交于
      Since the automatic cpuid-level code was introduced in commit
      c39c0edf ("target-i386: Automatically
      set level/xlevel/xlevel2 when needed"), the CPU model tables just define
      the default CPUID level code (set using "min-level").  Setting
      "[x]level" forces CPUID level to a specific value and disable the
      automatic-level logic.
      
      But the PC compat code was not updated and the existing "[x]level"
      compat properties broke compatibility for people using features that
      triggered the auto-level code.  To keep previous behavior, we should set
      "min-[x]level" instead of "[x]level" on compat_props.
      
      This was not a problem for most cases, because old machine-types don't
      have full-cpuid-auto-level enabled.  The only common use case it broke
      was the CPUID[7] auto-level code, that was already enabled since the
      first CPUID[7] feature was introduced (in QEMU 1.4.0).
      
      This causes the regression reported at:
      https://bugzilla.redhat.com/show_bug.cgi?id=1454641
      
      Change the PC compat code to use "min-[x]level" instead of "[x]level" on
      compat_props, and add new test cases to ensure we don't break this
      again.
      Reported-by: N"Guo, Zhiyi" <zhguo@redhat.com>
      Fixes: c39c0edf ("target-i386: Automatically set level/xlevel/xlevel2 when needed")
      Cc: qemu-stable@nongnu.org
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      1f435716
  2. 05 6月, 2017 1 次提交
    • P
      Merge remote-tracking branch 'remotes/elmarco/tags/chrfe-pull-request' into staging · cb8b8ef4
      Peter Maydell 提交于
      # gpg: Signature made Fri 02 Jun 2017 20:12:48 BST
      # gpg:                using RSA key 0xDAE8E10975969CE5
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * remotes/elmarco/tags/chrfe-pull-request:
        char: move char devices to chardev/
        char: make chr_fe_deinit() optionaly delete backend
        char: rename functions that are not part of fe
        char: move CharBackend handling in char-fe unit
        char: generalize qemu_chr_write_all()
        be-hci: use backend functions
        chardev: serial & parallel declaration to own headers
        chardev: move headers to include/chardev
        Remove/replace sysemu/char.h inclusion
        char-win: close file handle except with console
        char-win: rename hcom->file
        char-win: rename win_chr_init/poll win_chr_serial_init/poll
        char-win: remove WinChardev.len
        char-win: simplify win_chr_read()
        char: cast ARRAY_SIZE() as signed to silent warning on empty array
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      cb8b8ef4
  3. 03 6月, 2017 1 次提交
    • P
      Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging · c6e84fbd
      Peter Maydell 提交于
      virtio, vhost: fixes, features
      
      IOTLB support in vhost-user.
      A bunch of fixes all over the place.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Fri 02 Jun 2017 17:33:25 BST
      # gpg:                using RSA key 0x281F0DB8D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
      #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
      
      * remotes/mst/tags/for_upstream:
        spec/vhost-user spec: Add IOMMU support
        vhost-user: add slave-req-fd support
        vhost-user: add vhost_user to hold the chr
        vhost: rework IOTLB messaging
        vhost: propagate errors in vhost_device_iotlb_miss()
        virtio-serial: fix segfault on disconnect
        virtio: add virtqueue_alloc_element tracepoint
        virtio-serial-bus: Unset hotplug handler when unrealize
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c6e84fbd
  4. 02 6月, 2017 37 次提交