Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: ab6453e0baf7
Choose a base ref
...
head repository: qemu/qemu
compare: f2fc49c30203
Choose a head ref
  • 12 commits
  • 10 files changed
  • 5 contributors

Commits on Sep 13, 2023

  1. virtio-gpu/win32: set the destroy function on load

    Don't forget to unmap the resource memory.
    
    Fixes: commit 9462ff4 ("virtio-gpu/win32: allocate shareable 2d resources/images")
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    (cherry picked from commit 04562ee)
    Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
    elmarco authored and Michael Tokarev committed Sep 13, 2023
    Copy the full SHA
    16d2adc View commit details
    Browse the repository at this point in the history
  2. ui: fix crash when there are no active_console

    Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault.
    0x0000555555888630 in dpy_ui_info_supported (con=0x0) at ../ui/console.c:812
    812	    return con->hw_ops->ui_info != NULL;
    (gdb) bt
    #0  0x0000555555888630 in dpy_ui_info_supported (con=0x0) at ../ui/console.c:812
    #1  0x00005555558a44b1 in protocol_client_msg (vs=0x5555578c76c0, data=0x5555581e93f0 <incomplete sequence \373>, len=24) at ../ui/vnc.c:2585
    #2  0x00005555558a19ac in vnc_client_read (vs=0x5555578c76c0) at ../ui/vnc.c:1607
    #3  0x00005555558a1ac2 in vnc_client_io (ioc=0x5555581eb0e0, condition=G_IO_IN, opaque=0x5555578c76c0) at ../ui/vnc.c:1635
    
    Fixes:
    https://issues.redhat.com/browse/RHEL-2600
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Albert Esteve <aesteve@redhat.com>
    (cherry picked from commit 48a35e1)
    Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
    elmarco authored and Michael Tokarev committed Sep 13, 2023
    Copy the full SHA
    88219fd View commit details
    Browse the repository at this point in the history
  3. s390x/ap: fix missing subsystem reset registration

    A subsystem reset contains a reset of AP resources which has been
    missing.  Adding the AP bridge to the list of device types that need
    reset fixes this issue.
    
    Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
    Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
    Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
    Fixes: a51b315 ("s390x/ap: base Adjunct Processor (AP) object model")
    Message-ID: <20230823142219.1046522-2-seiden@linux.ibm.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    (cherry picked from commit 297ec01)
    Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
    frankjaa authored and Michael Tokarev committed Sep 13, 2023
    Copy the full SHA
    84729ec View commit details
    Browse the repository at this point in the history
  4. meson: Fix targetos match for illumos and Solaris.

    qemu 8.1.0 breaks on illumos platforms due to _XOPEN_SOURCE and others no longer being set correctly, leading to breakage such as:
    
      https://us-central.manta.mnx.io/pkgsrc/public/reports/trunk/tools/20230908.1404/qemu-8.1.0/build.log
    
    This is a result of meson conversion which incorrectly matches against 'solaris' instead of 'sunos' for uname.
    
    First time submitting a patch here, hope I did it correctly.  Thanks.
    
    Signed-off-by: Jonathan Perkin <jonathan@perkin.org.uk>
    Message-ID: <ZPtdxtum9UVPy58J@perkin.org.uk>
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    (cherry picked from commit fb0a8b0)
    Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
    (Mjt: omit net/meson.build change before v8.1.0-279-g73258b3864, adjust context befor v8.1.0-288-g2fc36530de)
    jperkin authored and Michael Tokarev committed Sep 13, 2023
    Copy the full SHA
    bd1dd50 View commit details
    Browse the repository at this point in the history
  5. tpm: fix crash when FD >= 1024 and unnecessary errors due to EINTR

    Replace select() with poll() to fix a crash when QEMU has a large number
    of FDs. Also use RETRY_ON_EINTR to avoid unnecessary errors due to EINTR.
    
    Cc: qemu-stable@nongnu.org
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2020133
    Fixes: 56a3c24 ("tpm: Probe for connected TPM 1.2 or TPM 2")
    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
    Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
    Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
    (cherry picked from commit 8e32ddf)
    Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
    elmarco authored and Michael Tokarev committed Sep 13, 2023
    Copy the full SHA
    64e355f View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. accel/tcg: Avoid load of icount_decr if unused

    With CF_NOIRQ and without !CF_USE_ICOUNT, the load isn't used.
    Avoid emitting it.
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    rth7680 authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    48e5f09 View commit details
    Browse the repository at this point in the history
  2. accel/tcg: Hoist CF_MEMI_ONLY check outside translation loop

    The condition checked is loop invariant; check it only once.
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    rth7680 authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    d30da97 View commit details
    Browse the repository at this point in the history
  3. accel/tcg: Refactor gen_io_start() as set_can_do_io()

    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Message-ID: <20230914174436.1597356-4-richard.henderson@linaro.org>
    [PMD: Split patch in 2, extracting set_can_do_io() first]
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    philmd authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    ebe230e View commit details
    Browse the repository at this point in the history
  4. accel/tcg: Track current value of can_do_io in the TB

    Simplify translator_io_start by recording the current
    known value of can_do_io within DisasContextBase.
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Message-ID: <20230914174436.1597356-4-richard.henderson@linaro.org>
    [PMD: Split patch in 2, extracting set_can_do_io() first]
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    rth7680 authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    4e9bc3c View commit details
    Browse the repository at this point in the history
  5. accel/tcg: Improve setting of can_do_io at start of TB

    Initialize can_do_io to true if this the TB has CF_LAST_IO
    and will consist of a single instruction.  This avoids a
    set to 0 followed immediately by a set to 1.
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    rth7680 authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    24d4e0e View commit details
    Browse the repository at this point in the history
  6. accel/tcg: Always set CF_LAST_IO with CF_NOIRQ

    Without this we can get see loops through cpu_io_recompile,
    in which the cpu makes no progress.
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    rth7680 authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    602cfe4 View commit details
    Browse the repository at this point in the history
  7. accel/tcg: Always require can_do_io

    Require i/o as the last insn of a TranslationBlock always,
    not only with icount.  This is required for i/o that alters
    the address space, such as a pci config space write.
    
    Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1866
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    rth7680 authored and Michael Tokarev committed Sep 20, 2023
    Copy the full SHA
    f2fc49c View commit details
    Browse the repository at this point in the history