qemu-devel
[Top][All Lists]
Advanced

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

[PATCH for-6.2 0/2] target/sparc: Drop use of gen_io_end()


From: Peter Maydell
Subject: [PATCH for-6.2 0/2] target/sparc: Drop use of gen_io_end()
Date: Sat, 24 Jul 2021 14:49:00 +0100

The sparc frontend is now the only user of the obsolete gen_io_end()
function (used for icount support). This patchset removes the
use from sparc as well, and then tidies up the generic icount
infrastructure to remove the function altogether.

This is for-6.2 material because it's just cleanup.

There is a slight difficulty here with testing this: icount
doesn't seem to work for sparc Linux guests in master at the
moment. For instance if you get the advent calendar image from
  https://www.qemu-advent-calendar.org/2018/download/day11.tar.xz
it will boot without icount with a command line like
  qemu-system-sparc -display none -vga none -machine SS-20 -serial stdio 
-kernel /tmp/day11/zImage.elf
But if you add '-icount auto' it will get as far as
"bootconsole [earlyprom0] disabled" and then apparently hang.
I'm not sure what's going on here :-(
(I filed this as https://gitlab.com/qemu-project/qemu/-/issues/499)

Anyway, these patches don't make the situation any worse...

-- PMM


Peter Maydell (2):
  target/sparc: Drop use of gen_io_end()
  tcg: Drop gen_io_end()

 docs/devel/tcg-icount.rst |  3 ---
 include/exec/gen-icount.h | 27 ++++++++++-----------------
 target/sparc/translate.c  | 25 ++++++++++---------------
 3 files changed, 20 insertions(+), 35 deletions(-)

-- 
2.20.1



reply via email to

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