Skip to content
Snippets Groups Projects
  1. Feb 04, 2021
  2. Dec 15, 2020
  3. Dec 11, 2020
  4. Oct 14, 2020
  5. Sep 30, 2020
  6. May 19, 2020
  7. May 14, 2020
  8. Feb 12, 2020
  9. Dec 17, 2019
  10. Aug 16, 2019
    • Markus Armbruster's avatar
      sysemu: Split sysemu/runstate.h off sysemu/sysemu.h · 54d31236
      Markus Armbruster authored
      
      sysemu/sysemu.h is a rather unfocused dumping ground for stuff related
      to the system-emulator.  Evidence:
      
      * It's included widely: in my "build everything" tree, changing
        sysemu/sysemu.h still triggers a recompile of some 1100 out of 6600
        objects (not counting tests and objects that don't depend on
        qemu/osdep.h, down from 5400 due to the previous two commits).
      
      * It pulls in more than a dozen additional headers.
      
      Split stuff related to run state management into its own header
      sysemu/runstate.h.
      
      Touching sysemu/sysemu.h now recompiles some 850 objects.  qemu/uuid.h
      also drops from 1100 to 850, and qapi/qapi-types-run-state.h from 4400
      to 4200.  Touching new sysemu/runstate.h recompiles some 500 objects.
      
      Since I'm touching MAINTAINERS to add sysemu/runstate.h anyway, also
      add qemu/main-loop.h.
      
      Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190812052359.30071-30-armbru@redhat.com>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      [Unbreak OS-X build]
      54d31236
  11. Jun 12, 2019
  12. Feb 05, 2019
  13. Jan 21, 2019
    • Daniel P. Berrangé's avatar
      sdl: add support for high resolution window icon · a442fe2f
      Daniel P. Berrangé authored
      
      Modern desktop environments can render icons at very large sizes,
      especially with high DPI screens. Providing a 32x32 pixel bitmap is
      nowhere near sufficient anymore.
      
      When displayed in GNOME shell the QEMU icon looks awful, having been
      scaled up to at least x4 its base size. This is compounded by the fact
      that the BMP file doesn't do transparency, so while we've removed white
      pixels, we still have anti-aliased nearly-white pixels which make the
      logo look appalling on black backgrounds.
      
      Loading a high resolution PNG icon addresses both problems, but requires
      use of the extra SDL2_image library.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20190110120047.25369-4-berrange@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      a442fe2f
    • Daniel P. Berrangé's avatar
      ui: install logo icons to $prefix/share/icons · a8260d38
      Daniel P. Berrangé authored
      
      QEMU currently installs logos to $prefix/share/qemu/ which means no GUI
      toolkit or applications can find them by default.
      
      The accepted standards for desktop applications declare that application
      logos / icons should be installed under $prefix/share/icons, so use this
      directory location.
      
      Pre-rendered icons are provided at the standard sizes expected for GUI
      applications, along with the scalable SVG, to ensure maximum portability.
      
      The PNGs are rendered from the SVG using inkscape, however, this is not
      wired up into the default make rules to avoid requiring inkscape as a
      mandatory tool in build systems / developer workstations.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20190110120047.25369-2-berrange@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      a8260d38
  14. Oct 29, 2018
  15. Oct 01, 2018
  16. Aug 24, 2018
  17. Jun 26, 2018
  18. Jun 14, 2018
    • Amadeusz Sławiński's avatar
      sdl2: restore window dimensions by resize · 64bf97e5
      Amadeusz Sławiński authored
      
      instead of destroying and recreating window, fixes segfault caused by
      handle_keyup trying to access no more existing window when using
      Ctrl-Alt-U to restore window "un-scaled" dimensions
      
       Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault.
       [Switching to Thread 0x7ffff7f92b80 (LWP 3711)]
       handle_keyup (ev=0x7fffffffd010) at ui/sdl2.c:416
       416         scon->ignore_hotkeys = false;
       (gdb) bt
       #0  handle_keyup (ev=0x7fffffffd010) at ui/sdl2.c:416
       #1  sdl2_poll_events (scon=0x100fee5a8) at ui/sdl2.c:608
       #2  0x0000000100585bf2 in dpy_refresh (s=0x101ad3e00) at ui/console.c:1658
       #3  gui_update (opaque=0x101ad3e00) at ui/console.c:205
       #4  0x0000000100690f2c in timerlist_run_timers (timer_list=0x100ede130) at util/qemu-timer.c:536
       #5  0x0000000100691177 in qemu_clock_run_timers (type=QEMU_CLOCK_REALTIME) at util/qemu-timer.c:547
       #6  qemu_clock_run_all_timers () at util/qemu-timer.c:674
       #7  0x0000000100691651 in main_loop_wait (nonblocking=<optimized out>) at util/main-loop.c:503
       #8  0x00000001003d650f in main_loop () at vl.c:1848
       #9  0x0000000100289681 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4605
      
      Signed-off-by: default avatarAmadeusz Sławiński <amade@asmblr.net>
      Message-id: 20180613172707.31530-1-amade@asmblr.net
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      64bf97e5
  19. May 15, 2018
  20. Apr 27, 2018
  21. Mar 05, 2018
  22. Feb 22, 2018
  23. Feb 20, 2018
  24. Feb 16, 2018
  25. Jan 25, 2018
  26. Jan 12, 2018
  27. Nov 16, 2017
  28. Jun 23, 2017
  29. May 23, 2017
    • Eric Blake's avatar
      shutdown: Add source information to SHUTDOWN and RESET · cf83f140
      Eric Blake authored
      
      Time to wire up all the call sites that request a shutdown or
      reset to use the enum added in the previous patch.
      
      It would have been less churn to keep the common case with no
      arguments as meaning guest-triggered, and only modified the
      host-triggered code paths, via a wrapper function, but then we'd
      still have to audit that I didn't miss any host-triggered spots;
      changing the signature forces us to double-check that I correctly
      categorized all callers.
      
      Since command line options can change whether a guest reset request
      causes an actual reset vs. a shutdown, it's easy to also add the
      information to reset requests.
      
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      Acked-by: David Gibson <david@gibson.dropbear.id.au> [ppc parts]
      Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> [SPARC part]
      Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x parts]
      Message-Id: <20170515214114.15442-5-eblake@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      cf83f140
Loading